FORUMS

The Atlas of XDA

A few weeks ago, we asked you “How Does Your Location Affect Your Life As A Power User?”. In the days that … more

New Snapdragons: Some Context & Contrast

It hasn’t been a good year for Qualcomm so far. Every device featuring the Snapdragon 810 … more

Google To Launch Next Gen Android One On July 14

The first gen of Android One devices to be launched in India in September 2014 were … more

Droid Turbo Lollipop OTA, 2015 Moto G Leaked – XDA TV

Android Lollipop for the Droid Turbo has been released. That and much more … more

[REQ] Statusbar - Transparent background dropdown menu

17 posts
Thanks Meter: 0
 
By sixun, Junior Member on 2nd May 2012, 12:25 PM
Post Reply Subscribe to Thread Email Thread
hello,
Rom stock Samsung ICS LPx :
I want to change myself the color of the dropdown menu (change transparency or another color)
When I decompile, I do not know what are the xml/smali files or png to modify,
because in an ICS rom stock, SystemUI\res\drawable-hdpi\status_bar_background.png don't exist

If you know link or tuto it would be cool !!
 
 
2nd May 2012, 12:48 PM |#2  
el_liberator's Avatar
Senior Member
Flag Collias
Thanks Meter: 1,162
 
Donate to Me
More
Hi

For transparent status bar , look my Howto : http://forum.xda-developers.com/show....php?t=1523703

For dropdown menu the values are in the same xml file

res/values/drawable.xml

The Following User Says Thank You to el_liberator For This Useful Post: [ View ]
2nd May 2012, 01:28 PM |#3  
OP Junior Member
Flag Melun
Thanks Meter: 0
 
More
Thanks very much !! Your help is very useful
In drawable.xlm, i see the line for transparent statut bar
Redlline here :

<item type="drawable" name="notification_number_text_color">#ffffffff</item>
<item type="drawable" name="notification_item_background_color">#ff1f222 5</item>
<item type="drawable" name="notification_item_background_color_pressed"> #ff257390</item>
<item type="drawable" name="ticker_background_color">#ff1d1d1d</item>
<item type="drawable" name="status_bar_background">#ff000000</item>
<item type="drawable" name="status_bar_recents_background_solid">#b30000 00</item>
<item type="drawable" name="status_bar_recents_app_thumbnail_background" >#88000000</item>
<item type="drawable" name="status_bar_notification_row_background_color ">#ff090909</item>
<item type="drawable" name="notification_header_bg">#ff000000</item>
<item type="drawable" name="notification_tracking_bg">#d8000000</item>
<item type="drawable" name="recents_callout_line">#99ffffff</item>
<item type="drawable" name="notification_item_background_legacy_color"># ffaaaaaa</item>


but what is the line for the dropdown menu
i changed all colors for all lines to test the effects on the SGS2
It's ok for the statubar (without modify smali) and another items but not effect for dropdown menu background
7th May 2012, 10:32 PM |#4  
Member
Thanks Meter: 38
 
More
hello maybe this help you you can try .
1 go to res/layout/tw_status_bar_tracking.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.TrackingView android:orientation="vertical" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <FrameLayout android:background="@drawable/notification_bg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
    <com.android.systemui.statusbar.phone.CloseDragHandle android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">
        <ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/tw_status_bar_close_on" android:scaleType="fitXY" />
    </com.android.systemui.statusbar.phone.CloseDragHandle>
</com.android.systemui.statusbar.phone.TrackingView>

than go to res/values/drawable.xml
Code:
 <item type="drawable" name="notification_number_text_color">#ffffffff</item>
    <item type="drawable" name="notification_item_background_color">@drawable/notification_info_bg_normal</item>
    <item type="drawable" name="notification_item_background_color_pressed">@drawable/notification_info_bg_pressed</item>
    <item type="drawable" name="ticker_background_color">#7f000000</item>
    <item type="drawable" name="status_bar_background">#00ffffff</item>
    <item type="drawable" name="status_bar_recents_background_solid">#7f000000</item>
    <item type="drawable" name="status_bar_recents_app_thumbnail_background">#7f000000</item>
    <item type="drawable" name="status_bar_notification_row_background_color">#7f000000</item>
    <item type="drawable" name="notification_header_bg">#7f000000</item>
    <item type="drawable" name="notification_tracking_bg">@drawable/notification_bg</item>
    <item type="drawable" name="recents_callout_line">#7f000000</item>
    <item type="drawable" name="notification_item_background_legacy_color">#7f000000</item>
</resources>


"notification_tracking_bg" = Homer Pic
"notification_item_background_color" = The blue flame pic (Als Externer Speichergerät...)
"notification_item_background_color_pressed" = The same only red by me...

you have to place the pics in drawable-hdpi, i have take gimp2 to modify & transparent.... than recompile .... and hopefully it works.
Have a nice day
The Following User Says Thank You to bling2bling For This Useful Post: [ View ]
8th May 2012, 11:53 AM |#5  
OP Junior Member
Flag Melun
Thanks Meter: 0
 
More
Hello, thanks !, thanks ! thanks ! thanks ! thanks !

Just to be sure if I resume :
1 change in “tw_status_bar_tracking.xml” –
2 or 3 changes in "drawable.xml"
2 or 3 new pictures in drawable/Hdpi :
- notification_bg (transparent background)
- notification_info_bg_normal.png,
- notification_info_bg_pressed

Juste one question:
The format : is it “png” or “.9.png” for the 3 picts?


I think is .9.png because you use gimp
8th May 2012, 06:56 PM |#6  
OP Junior Member
Flag Melun
Thanks Meter: 0
 
More
hello
all is ok with your help
thank very much
14th August 2012, 09:43 AM |#7  
Hack3rxt's Avatar
Member
Flag Burgos
Thanks Meter: 7
 
More
Hi, thanks for your post helped me a lot, now needed to make transparent toogle like this

19th August 2012, 08:48 PM |#8  
Junior Member
Thanks Meter: 0
 
More
Possibly help me
Hey, I think the semi transparent image with the blue flames is quite cool looking. I have galaxy s3 and am unsure if the same things apply to changing images. Just wondering if you can email me at dan_the_man182003 at yahoo. with a little more help. I would love to figure this out. I have looked at some of the files but they are named differently or I cant find some of them.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes