Guest 5yuan Posted January 29, 2011 Report Posted January 29, 2011 Hi all. I have been working on making the notif bar all stock. I've replaced all graphics for the black notification bar, and have everything looking stock, except the clear button. I cannot find it anywhere. I have also looked in the .xml files in services.jar but maybe I am missing it? This is what it looks like so far: I really wish I could figure out this "Clear" button. Can anyone help or have any information on it? Thanks in advance!
Guest Frankish Posted January 29, 2011 Report Posted January 29, 2011 Is it not just btn_default_normal.9.png or one of the files associated with it?
Guest Mike_P Posted January 29, 2011 Report Posted January 29, 2011 I believe it's the btn_default_small PNGs.
Guest Frankish Posted January 29, 2011 Report Posted January 29, 2011 I believe it's the btn_default_small PNGs. Yeah that's gotta be the ones but if you change them some menus might look strange as it's a shared image isn't it.
Guest 5yuan Posted January 30, 2011 Report Posted January 30, 2011 Modify it ? btn_default_small.xml <TextView android:textSize="14.0sp" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:background="@drawable/btn_default_small" android:paddingLeft="15.0dip" android:paddingRight="15.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="4.0dip" android:layout_marginBottom="1.0dip" android:text="@string/status_bar_clear_all_button" style="\?buttonStyle" /> </LinearLayout>
Guest Frankish Posted January 30, 2011 Report Posted January 30, 2011 Modify it ? btn_default_small.xml <TextView android:textSize="14.0sp" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:background="@drawable/btn_default_small" android:paddingLeft="15.0dip" android:paddingRight="15.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="4.0dip" android:layout_marginBottom="1.0dip" android:text="@string/status_bar_clear_all_button" style="\?buttonStyle" /> </LinearLayout> That's not the route to take. Do you want to change just the text colour or the actually button image colour? For the image you need to be in drawable-hdpi.
Guest 5yuan Posted January 30, 2011 Report Posted January 30, 2011 (edited) That's not the route to take. Do you want to change just the text colour or the actually button image colour? For the image you need to be in drawable-hdpi. Thanks ;) I'm trying to change the actual button color from white to black . btn_default_small.png has been in the hdpi drawable directory , but No change。 rom for Jellyfish RLS9 Edited January 30, 2011 by 5yuan
Guest Mike_P Posted January 30, 2011 Report Posted January 30, 2011 It's not just 1 image though, there are 5, btn_default_small is just the prefix, look in your drawable-hdpi folder. Each image covers the different states, focus/selected/pressed etc.
Guest 5yuan Posted January 30, 2011 Report Posted January 30, 2011 It's not just 1 image though, there are 5, btn_default_small is just the prefix, look in your drawable-hdpi folder. Each image covers the different states, focus/selected/pressed etc. Frankish,Mike_P TKS! ;) i get it 。 only change btn_default_smail_normal.9.png btn_default_smail_normal.disable.9.png
Guest Frankish Posted January 30, 2011 Report Posted January 30, 2011 Frankish,Mike_P TKS! ;) i get it 。 only change btn_default_smail_normal.9.png btn_default_smail_normal.disable.9.png Looks wonderful. Have you noticed it affecting any other buttons within the UI?
Guest 5yuan Posted January 31, 2011 Report Posted January 31, 2011 (edited) Looks wonderful. Have you noticed it affecting any other buttons within the UI? affecting buttons: state_window_focused state_enable state_focused drawable to Modify btn_default_small.xml android:background="@drawable/btn_default_small" is the best way . but how to modify? i have problems withe "apktool b ". Edited January 31, 2011 by 5yuan
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now