yashsingh1/xdaforums huggingface dataset:
[Android Themes] sp1312:
nice tutorial....

i want to ask one thing i hving problem in my notification bar...

i attached an image...

i want to change the color of redbox part... left side nitification bar is original s5 nd ri8 side is mine ported notification bar...

how to change that redbox part color from black to that left one..
[Android Themes] Vivek_Neel:
Change all android:background

in tw_status_bar_expanded_header.xml
[Android Themes] lacoursiere18:
To expand a little.. replace the android:background=@drawable with a hex color..

I color matched you image you uploaded.. and it would be this: #ff1b6d93
[Android Themes] sp1312:
thnx for quick reply..

i will try...
[Android Themes] F@HIM:
nyc work bro [MENTION=225651]op[/MENTION] i still didnt get u means how to change the toogles icons means where we have to place the .png files.....waiting for anyones reply
[Android Themes] Ticklefish:
I'm not sure what you mean...?
[Android Themes] Vivek_Neel:
They should go to SystemUI.apk/res/drawable-?dpi

For 23 toggle mod.

lidroid-res.apk/res/drawable-?dpi
[Android Themes] F@HIM:
Actlly I was saying how to change the toggles in the statusbar means there r new. Png icons of toggles but where do we have to replace them.....
[Android Themes] Anmol Bhasin:
Can you suggest whena 3rd party noticication toggle i lost my softkeys and notification toggle. Please Help.
[Android Themes] don988:
Notification panel icon background color change

I can't seem to change the background color to the notification -

just the icon background

.

Could someone point me to right file or picture in SystemUI or Framework???? or better yet, show me what to change? You would make my day. thanks.
[Android Themes] azyxter:
i hve i hve dual sim phn ,, but when i put single sim ,, still it shows 2nd sim netwrk with cross in it, any one can edit systemui.apk ,, so that when i put single sim then it shows only one netwrk..
[Android Themes] navneetasnavi:
i just want to ask you that this tutorial is for DEODEXED systemui/framework or for ODEXED/stock systemui/framework ?????

and if its for only deodexed how can i make it working for odex ???

Is it possible if i use this tut to mod deodexed systemui and then delete stock systemui + systemui.odex and push deodexed modded systemui in system .... is it going to work ??????????

:crying:
[Android Themes] Sami Kabir:
Its better if your ROM is deodexed. But I think it should work on Odexed ROMs too. Just Replace the default SystemUI.apk with your modified one and also delete the .odex file.. But always keep a backup of your System partition incase something goes wrong :cowboy:

*Post Added*

Can anyone please tell me how to change the background color of the bar on the bottom of Recents Panel? Thanks!
[Android Themes] joehanh88:
Just follow my guide..

Actually,which part that you didnt understand?

I will teach you how to recompile and decompile..

if you know what you doing and what to change, just follow my guide as reference..it just similar.. :)
[Android Themes] Rav_Singh:
Will this work on any device? And on any android version?I have gingerbread. Will it work on that?

Sent From My Samsung Galaxy Ace Duos S6802
[Android Themes] joehanh88:
Yes..it just similar..only might some xml not with the same name..but the steps were just the same..you can trial and error.. :):thumbup:
[Android Themes] Rav_Singh:
I just want to edit the background of the status bar. Thanks

Sent From My Samsung Galaxy Ace Duos S6802
[Android Themes] joehanh88:
I guess it just the same..find notification_panel_bg.9.png..change it with your preferred image..

The resolution of the image that need to be change is depend with your device..to know your device resolution, make a screenshot, then see what is the screenshot image resolution..

Or the easiest way is just open your systemui apk with winrar, find the notification_panel_bg i suppose in drawable-hdpi folder ( depend on your device! ). Drag and replace the png in the winrar with your preferred image..BUT WITH EXACT RESOLUTION! then push the apk to system/app..reboot..

That should do..
[Android Themes] Rav_Singh:
My screen resolution is 480x600 or 800 ,I think . Could you send me that image you used as a background in the 8 th point ? I have a custom ROM which has 14 toggles on the status bar.That shouldnt affect anything,would it?

Sent From My Samsung Galaxy Ace Duos S6802
[Android Themes] joehanh88:
Yes..it will not affect anything if your system is deodexed..

Btw, there is no resolution of 480x600..it should be 480x800, and your device running hdpi..same as mine :)

Have you found the png?
[Android Themes] Rav_Singh:
Sorry I remember its resolution is 320 x480 .mdpi .

Sent From My Samsung Galaxy Ace Duos S6802
[Android Themes] marekboss:
hello joehanh88, already answered yours friend? did you figure out something?
[Android Themes] kancrutt:
thank you bro, now my status bar disappear & systemui force close :D

waiting for next guide for solution :)
[Android Themes] marekboss:
Hello joehanh88, ...(apktool if framework-res.apk) then (apktool if SystemUI.apk) then I decompiled original SystemUI.apk (apktool d SystemUI.apk SystemUI) -> edited ...xml,png... -> compiled modified SystemUI (apktool b SystemUI SystemUI_mod.apk) -> opened in WinRAR original SystemUI.apk and copy to PC folder META-INF folder and AndroidManifest.xml file -> opened in WinRAR modified SystemUI_mod.apk and from PC folder copy META-INF folder and AndroidManifest.xml file to SystemUI_mod.apk -> rename SystemUI_mod.apk on SystemUI.apk and move to phone... RootExplorer... restart phone... :o

I do something wrong, because the phone report an error SystemUI...! :(

There is no need modified SystemUI.apk file "singing" or "zipalign" or "certification" or "something else"?

:confused: Please help me, thank you very much!

I edited everything according to the instructions, but toggles not completely removed - please see attachments:crying:

Toggle buttons are deleted, but will remain only blank space... how this blank space remove? (notifications moved completely up!)
[Android Themes] marekboss:
Thank you very much joehanh88, for ignoring me! :good:
[Android Themes] joehanh88:
check your inbox.

and I'm not ignoring anyone,I just don't really have time to answering question since I'm working.I'm sorry if you felt that way.for you and for everyone.

joehanh88 themed GT-I9070
[Android Themes] szzlgupta:
my first try

well, I failed !

my phone switched on but there was no notification bar :p

but 1 thing was giving me issues, HOW TO RECOMPILE?

I did

apktool b systemui.apk

then copied my androidmanifest.xml to build folder (I couldn't find any meta-inf anywhere)

and then

apktool b systemui

copied systemui.apk from dist folder to system/app and rebooted and failed!

thank god I did not get a bootloop :)

Can you help me where I was wrong? :confused:
[Android Themes] joehanh88:
- have you installed the framework-res.apk and systemui.apk to your computer?

- you need that meta-inf folder for signing. the meta-inf folder is in the original systemui apk..

- tell me what is the steps that you've done.

- is your device deodexed?

joehanh88 themed GT-I9070
[Android Themes] szzlgupta:
- yes. Apktool if fram... syst... (as in op)

- couldn't find it anywhere. Searched a lot.

- I did step 1, step2.1, step 10 and recompile.

-yes. I even have have custom rom. I took nexus4 systemui.apk

I think I went wrong with recompiling. Meta-inf file was not in my apk!
[Android Themes] joehanh88:
the meta-inf were not in the folder after you decompile the apk, but it was in the original apk..open the apk with winrar..but if it still doesn't have, just take from any of my mod..

possible cause of systemui error even you succeed recompile it :

1) your png is in not the acceptable resolution.

2) your coding got error or maybe you just copy and paste the xml.

3) too many .9patch error.

must be many more, but I've forgot what..

joehanh88 themed GT-I9070
[Android Themes] szzlgupta:
Well, I didn't do any of the 3 things you mentioned. Maybe it is because of the meta-inf.

Will try it again later and see if it works. :)

Thanks

---------- Post added at 09:43 PM ---------- Previous post was at 09:40 PM ----------

Just checked. Meta-inf is in the original apk but it didn't came out after decompiling.
[Android Themes] joehanh88:
yes, the meta-inf will not came it after decompiling..you need to take it from the original apk!

joehanh88 themed GT-I9070
[Android Themes] szzlgupta:
Ohkay.

So, I need to open apk with winrar and extract meta-inf?

Cool. Will give it another shot :)
[Android Themes] navneetasnavi:
thanx i was just making sure the same :) sami
[Android Themes] siMp0lMaN:
you need to post your files here (systemui.apk and framework-res.apk) if you want others to do it for you., :) if you know how to decompile/compile, you can do it yourself by editing your msim_signal_clusterview.xml or something like that ., :)
[Android Themes] bbek:
Any suggestions to make it trasparent or custom background:(:(
[Android Themes] Choristav:
[MENTION=5064082]joehanh88[/MENTION] [MENTION=5022494]Vivek_Neel[/MENTION] [MENTION=4315551]Ticklefish[/MENTION]

Guys I'm trying to mod SystemUI in the 4.4.2 port and it's downright impossible to remove the blue notification bar (the one that carries the Ongoing and Clear button).

This is because there's no more tw_status_bar_expanded (which means there is no more android:id="@id/onGoingCart) and it actually works as power toggles (meaning there's 5 hidden buttons inside, but since I deleted the power toggles, they don't show up as images with text anymore, but they highlight just fine from dark blue to holo blue). This bar also disappears when notifications are present.

I would also like to ask, does removing the power toggles in the notification area, disables them altogether?

Here's what it looks like:

And here is with notifications:

I've even set all my (relevant) values in values/drawables to black

<item type="drawable" name="notification_number_text_color">#ffffffff</item>

<item type="drawable" name="ticker_background_color">#ff1d1d1d</item>

<item type="drawable" name="system_bar_background">#ff000000</item>

<item type="drawable" name="status_bar_recents_app_thumbnail_background">#ff000000</item>

<item type="drawable" name="status_bar_notification_row_background_color">#ff000000</item>

<item type="drawable" name="recents_callout_line">#00ffffff</item>

<item type="drawable" name="notification_item_background_legacy_color">#ffaaaaaa</item>

<item type="drawable" name="heads_up_notification_bg_pressed">#ff000000</item>

<item type="drawable" name="notification_background_color">#ff000000</item>

<item type="drawable" name="setting_background_color">#ff000000</item>

<item type="drawable" name="jbp_close_handler_divider">#ff000000</item>

<item type="drawable" name="close_handler_divider">#ff000000</item>

<item type="drawable" name="close_handler_bg_normal">#ff000000</item>

<item type="drawable" name="close_handler_bg_pressed">#ff000000</item>

<item type="drawable" name="notification_title_background">#ff000000</item>

<item type="drawable" name="tw_notification_background_null">#ff000000</item>

<item type="drawable" name="tw_notification_background_pressed">#ff000000</item>

<item type="drawable" name="notification_header_bg">#ff05445d</item>

<item type="drawable" name="jbp_notification_header_bg">#ff000000</item>

<item type="drawable" name="recents_item_button_background">#4c000000</item>

And I still can't get rid of the toolbar.

I'm uploading the original 4.4.2 systemui and the one I'm using (original minus the power toggles).

Any advice is appreciated.
[Android Themes] remuntada78:
for the setting button background you need to edit this line

<item type="drawable" name="tw_status_bar_quicksetting_button_background">#ff000000</item>

in res/value/drawables

change the value to #00000000
[Android Themes] SpaceCaker:
should be in statusbar expanded xml

Sent from my Acer S500 CloudMobile
[Android Themes] Choristav:
Uploading the modified one, could you take a look?

I can upload the original one as well.
[Android Themes] Choristav:
I had used twframework-res.apk + framework-res.apk once, and it gave me some errors during compilation.

I tried twframework-res.apk alone and it also gave me issues.

So, since then, I've been using framework-res.apk only, through

apktool if framework-res.apk

Now here are some results:

Using whatever you provide gives the following; No blue bar during no notifications, blue bar during notifications.

I also did a test with a single variable, using the original xml as provided:

android:layout_height="@dimen/status_bar_expanded_notification_category_height">

changing it to android:layout_height="0.0dip", and it gave me the opposite result:
[Android Themes] rezky_rp:
how to remove icon sim in status bar ?
[Android Themes] Threnke:
Hello XDA users, this is my first post :D

I'm trying to make my stock status bar look as close as possible to the aosp one

I have 2 questions:

1. There's a dim effect on all the icons that appears only when the background is present, when it's invisible all the icons get bright (on lock screen and launcher) I want to keep it always bright. What code on what xml should I remove? I've searched for it but I didn't find it

Status bar is transparent on first screenshot and black on second one

2. Is there any way to adjust the space between wifi and signal icons? Seems like the signal icon has an extra space in the left :/

I'm on a samsung 4.2.2 stock rom

thx
[Android Themes] morisah:
Already hit thank button...nice tut

Thank for this tut..really2 nice and bit hard for newbie like me.. Using p6200 deodexed stock rom and horizontal daily user.

Ive successful modding center clock, batt theming and others by following this tut. No problem at all. But can someone help me solve this matter.

(Changing status bar background)

By using stock (notification_panel_bg.9.png) it look nice. But when i want to make it as transparent bg by put a value #00000000 in tw_status_bar_expanded also the smali or even using my own bg (400x800 also 402x802) it become like in the picture. did somebody know how to adjust that toggle button? Really2 need help..

Just want to ask, do someone can tell or teach me how to reposition this clock and batt.

Sorry if my english are not good enough. Thanks..
[Android Themes] ibrahimyuksel:
this tutorial be useful for me so much, thank you. :) :good:
[Android Themes] fandy_fachras:
Please help

I have advan s5j working on stock rom 4.2.2 and it has different like this tutorial,can you please help me to take a look?

I've still upload the sysui and the framework.

I will give the link when it's done.

Thx and sorry for bad english.
[Android Themes] sahib071:
I have failed

I badly want to apply this this method superb but currently i am facing in my Samsung Galaxy Grand Duos

This window popping up again and again and status bar is also missing all this happening because of this thread http://xdaforums.com/showthread.php?t=2489021

i am fade up with this error and also i cant change my background and Google Play is also not going to connect please help me to get back my phone its original state
[Android Themes] morisah:
Are you run on cm10 rom? i think ur not. other way myb you have to flash it back.

*edit

btw..there has mention if you are facing with fc, and way to uninstall. does u give it a try?
[Android Themes] Ticklefish:
That error is due to a bad SystemUI.apk. You'd have to run a logcat to find out precisely why though.

If you want to get your phone back to normal, you just need to flash the nandroid backup you made. If you didn't make one, you'll have to reflash your rom. Which might mean installing Kies on your PC.

Or see if someone on your devices forum has a working SystemUI.apk you could flash.

Moral Of The Story: ALWAYS MAKE A BACKUP! :)
[Android Themes] bbek:
Any suggestions help guys
[Android Themes] Grimmjow 07:
hi all

how i can change the color of notifications icon in status bar ?
[Android Themes] Grimmjow 07:
4449

anyone ?
[Android Themes] jigarmpattani:
Do you want to change text color or top toggle image color? ? Or notification bar text color? ?
[Android Themes] bbek:
Thanks bro good:: I mean notification background still black how to make trasparent or custom background and another is between the toglle black line how to make same colour as toggles background thanks plz help me would be great.
[Android Themes] lacoursiere18:
Check values/drawable.xml
[Android Themes] marrrek:
quick settings toggles

Hi, which files/lines should be modified to make them disappear quick settings toggles, please? Thank you very much.
[Android Themes] Vivek_Neel:
Hi.

You can try searching in dimens.xml for quick_ setting_button_height

And change it to 0.0dip

(SystemUI.apk/res/values/dimens.xml)
[Android Themes] marrrek:
thank you Vivek_Neel, but the problem is dysfunctional button - top right...

when you edit: <dimen name="quick_setting_button_height">0.0dip</dimen>

I need to after you press the top right view all quick settings toggles...

it is possible?
[Android Themes] lacoursiere18:
Well yes it is possible.. But you will prob have to do some heavy editing.. SO you already have the button in place? no? If you do it's just a matter of adding the code in.. You need to find the smali that activates the "OnClick" action of that button.. there is prob way more to it than that but.. yea thats where you need to look
[Android Themes] pepmat:
Good evening, I would remove the horizontal black stripe from my SystemUI.I am managed to remove the stripes vertical, horizontal ones as I do?

Inviato dal mio GT-I8260 utilizzando Tapatalk
[Android Themes] lacoursiere18:
Most likely a png in either the SystemUI.apk or framework-res.apk..search for horizontal_divider or horizontal_line.png
[Android Themes] pepmat:
They told me that to remove the black bars tw_status_bar_expanded.xml.I have to edit the file to remove the vertical stripes I edited the xml file, but the horizontal lines do not know what to edit in the xml file.

Inviato dal mio GT-I8260 utilizzando Tapatalk
[Android Themes] G.M.L:
one question-help!!

How can i move settings button to the right place?this is my status_bar_expanded_header

thanks a lot!!!!!!
[Android Themes] lacoursiere18:
You need to mess around with the padding's... Play with the numbers..

---------- Post added at 04:07 PM ---------- Previous post was at 04:06 PM ----------

Check this in color.xml

color/quickpanel_button_divider_color

or

color/quickpanel_button_divider_color
[Android Themes] Ticklefish:
You need to change your @id/menus_button line to align to the right of the Parent, not to the right of the date.
[Android Themes] pepmat:
Can you tell me what code to modify the XML file to remove the black vertical stripes?
[Android Themes] G.M.L:
So you said to look like this

<ImageView android:id="@id/menus_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:layout_alignParentRight="true" android:contentDescription="@string/accessibility_menu" />

<ImageView android:id="@id/clear_all_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_clear" android:layout_alignParentRight="true" android:contentDescription="@string/accessibility_clear_all" />

</RelativeLayout>

</LinearLayout>

G.M.L._V7

http://pasakalis.blogspot.gr
[Android Themes] Ticklefish:
Pretty much. You may end up with a clash with the clear_all button, I didn't see it in your screenshot. If so you may just need to put the clear_all button to the left of the menus button.
[Android Themes] G.M.L:
Its like that and I want to change the position of menu and clear button

G.M.L._V7

http://pasakalis.blogspot.gr
[Android Themes] Ticklefish:
Then that's what you need to do. You'll be wanting to change the menu button from being aligned with the right of the date to being aligned with the left of the clear button.
[Android Themes] G.M.L:
Like that?

<ImageView android:id="@id/menus_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:layout_toLeftOf="@id/ clear_all_button" android:contentDescription="@string/accessibility_menu" />

<ImageView android:id="@id/clear_all_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_clear" android:layout_alignParentRight="true" android:contentDescription="@string/accessibility_clear_all" />

</RelativeLayout>

</LinearLayout>

G.M.L._V7

http://pasakalis.blogspot.gr
[Android Themes] G.M.L:
Ok i did it thank you very much!!!!
[Android Themes] G.M.L:
Another question please!!!!

How can i change the digital clock in status bar expanded with analog clock?
[Android Themes] Ticklefish:
Nice! :D

Android comes with an analog clock built into the code. All you need to show it is this code:

<AnalogClock android:layout_width="wrap_content" android:layout_height="fill_parent" />

Bear in mind that the analog clock looks clearer the bigger it is. If it's the same height as your current digital clock, it might not be much good as an actual clock. It'd just look cool.
[Android Themes] G.M.L:
where exactly to show this code? in status_bar_expanded_header?

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/header" android:background="#3f000000" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_height" android:baselineAligned="false"

xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">

<RelativeLayout android:id="@id/datetime" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_height">

<com.android.systemui.statusbar.policy.ClockStock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:gravity="left|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="4.0dip" android:layout_marginRight="4.0dip" android:singleLine="true" android:layout_alignParentLeft="true" />

<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:gravity="left|center" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="2.0dip" android:layout_marginRight="2.0dip" android:maxLines="2" android:singleLine="false" android:layout_toRightOf="@id/clock" />

<View android:id="@id/systemui_preferences_menu_anchor" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />

<ImageView android:id="@id/menus_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:layout_alignParentRight="true" android:contentDescription="@string/accessibility_menu" />

<ImageView android:id="@id/clear_all_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_clear" android:layout_toLeftOf="@id/menus_button" android:contentDescription="@string/accessibility_clear_all" />

</RelativeLayout>

</LinearLayout>