Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,805,468 Members 37,409 Now Online
XDA Developers Android and Mobile Development Forum

[REQ] Statusbar - Transparent background dropdown menu

Tip us?
Junior Member - OP
Thanks Meter 0
Posts: 17
Join Date: Mar 2011
Location: Melun
Default [REQ] Statusbar - Transparent background dropdown menu

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 !!
el_liberator's Avatar
Senior Member
Thanks Meter 1,156
Posts: 1,124
Join Date: Apr 2011
Location: Vexin


For transparent status bar , look my Howto :

For dropdown menu the values are in the same xml file


Nexus 5
ROM : TheKang 7.0

Nexus 7
ROM : SlimKaterator-5.6

The Following User Says Thank You to el_liberator For This Useful Post: [ Click to Expand ]
Junior Member - OP
Thanks Meter 0
Posts: 17
Join Date: Mar 2011
Location: Melun
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
Thanks Meter 38
Posts: 42
Join Date: Feb 2012
hello maybe this help you you can try .
1 go to res/layout/tw_status_bar_tracking.xml
<?xml version="1.0" encoding="utf-8"?>
< android:orientation="vertical" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
    <FrameLayout android:background="@drawable/notification_bg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
    < 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" />

than go to res/values/drawable.xml
 <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>

"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: [ Click to Expand ]
Junior Member - OP
Thanks Meter 0
Posts: 17
Join Date: Mar 2011
Location: Melun
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
Junior Member - OP
Thanks Meter 0
Posts: 17
Join Date: Mar 2011
Location: Melun
all is ok with your help
thank very much
Hack3rxt's Avatar
Thanks Meter 7
Posts: 66
Join Date: May 2010
Location: Burgos
Hi, thanks for your post helped me a lot, now needed to make transparent toogle like this

Junior Member
Thanks Meter 0
Posts: 1
Join Date: Jan 2011
Default 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.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes