Enable the Hidden Notification LED on the Google Nexus 6!

LED notification lights have existed on Android devices since the very beginnings … more

MX Player Ready to Rock on Lollipop

A good video player should be reliable and free. One of the XDA Community Apps, MX Player, meets both of … more

How to Disable Data Encryption on Nexus 6

In late September, Google decided to step on NSA’s toes and turn on encryption by default in … more

DJI Phantom 2 Vision+ Review – XDA TV

The holidays will be here in no time, so why not start thinking about gifts now? Youll be ahead … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[REQ] Statusbar - Transparent background dropdown menu

OP sixun

2nd May 2012, 01:25 PM   |  #1  
OP Junior Member
Flag Melun
Thanks Meter: 0
 
17 posts
Join Date:Joined: Mar 2011
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, 01:48 PM   |  #2  
el_liberator's Avatar
Senior Member
Flag Collias
Thanks Meter: 1,162
 
1,130 posts
Join Date:Joined: Apr 2011
Donate to Me
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, 02:28 PM   |  #3  
OP Junior Member
Flag Melun
Thanks Meter: 0
 
17 posts
Join Date:Joined: Mar 2011
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, 11:32 PM   |  #4  
Member
Thanks Meter: 38
 
42 posts
Join Date:Joined: Feb 2012
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, 12:53 PM   |  #5  
OP Junior Member
Flag Melun
Thanks Meter: 0
 
17 posts
Join Date:Joined: Mar 2011
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, 07:56 PM   |  #6  
OP Junior Member
Flag Melun
Thanks Meter: 0
 
17 posts
Join Date:Joined: Mar 2011
hello
all is ok with your help
thank very much
14th August 2012, 10:43 AM   |  #7  
Hack3rxt's Avatar
Member
Flag Burgos
Thanks Meter: 7
 
66 posts
Join Date:Joined: May 2010
More
Hi, thanks for your post helped me a lot, now needed to make transparent toogle like this

19th August 2012, 09:48 PM   |  #8  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Jan 2011
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