yashsingh1/xdaforums huggingface dataset:
[Android Themes] bayustev:
here i want to correct about devider in quicksetting icon (in my phone ofc)

res/layout

tw_status_bar_expanded.xml

<com.android.systemui.statusbar.policy.quicksetting.QuickSettingPanel android:orientation="horizontal" android:id="@id/quicksetting_container" android:layout_width="wrap_content" android:layout_height="wrap_content"

in that line you'll see android:divider="@bla/blablabla" change it to android:divider="#00000000".

for me if i change android devider to transparent in landsscape mode in the end toggle icon will be empty space so i dont change the devider values.

now i need help with this under and upper icon still empty space like on pic i attach..what i should change to make it full so there will no empty space..i alredy try to make it big pic.. doesnt work..

(sorry for my bad english):D
[Android Themes] joehanh88:
try to find in res/value/dimens.xml :

find this line <dimen name="quick_setting_button_margin_top">

change the value to 0.0dip. but if still doesnt work, try to put negative value such as -4.0dip something like that.

all dimension you can change it that xml. but you need to make sure is the value in the layout already pointed to that dimens.xml.
[Android Themes] SkyaTura:
the problem is, if you build a project and change something in this same project after building for the first time, the APKTOOL doesn't replace the old built files, so, you change things but anything changes in the folder it uses to recompile and your app remains the same...

To avoid the useless task of decompile last created apk, you just delete Dist and Build folders in the main folder to allow apktool create a new build with your new changes...
[Android Themes] bayustev:
okay sir. i'll try now..i will post the result..thanks in advance:D

edit..i change the values to -4.0dip, because my margin top already 0.0dip..but still doesn't work...
[Android Themes] fumes007:
How do you change Wifi status bar icon????
[Android Themes] Jeetu:
You will find it in systemui.apk/res/drawable-hdpi :)
[Android Themes] fumes007:
Okay, so how do I change the ATT wifi icon to the sprint Wifi icon on the S4??
[Android Themes] SkyaTura:
Try change to a bigger value to see if something changes

Where is the icon you want to change? Show a screenshot
[Android Themes] fumes007:
Here u go
[Android Themes] joehanh88:
try to search for "stat_sys_wifi_signal" in systemui/res/drawable-****

**** = your device density. eg. hdpi or xhdpi.
[Android Themes] fumes007:
I have a galaxy S4 active so that's a xxhdpi ? & so I just rename the WiFi icon name? I am running a stock odex stock rom

Sent from my SAMSUNG-SGH-I537
[Android Themes] joehanh88:
no, dont rename the icon. just edit the icon to whatever you like. and yes, search the name in the folder, and there will be 6 or 8 images that have the name like that.

and if your ROM is odexed, remove the .odex file first. then apply the modded apk. So, it will be better if your device is deodexed first before you make an editing.
[Android Themes] fumes007:
What do you mean by edit??.....There is no way I can deodex the ROM since I cannot flash custom Roms on it die to the bootloader being locked.

Sent from my SAMSUNG-SGH-I537
[Android Themes] joehanh88:
Im sorry, i really dont understand what really you need, what you want, what is the main problem is, and i just answering your question about your theming problem, i dont know about your ROM problem.
[Android Themes] fumes007:
Okay this is my goal (view image). I just want to change the WiFi icon

Sent from my SAMSUNG-SGH-I537
[Android Themes] joehanh88:
find the things that i mention before this in drawable-xxhdpi folder, and change the icon with anything you desire.
[Android Themes] Nemo Draksler:
Tooggle background

Hi, thanks for this awesome tutorial. Finally after 3 months i removed the brightness slider and changed the status bar from grey to black. But now i want to change the toggle background, the rest of the expanded bar is black and the toggle background is grey. How do i change it? where do i edit? :confused:

See attached image.
[Android Themes] joehanh88:
for toggle background:

- go to systemui/res/drawable-hdpi.

- find "quick_panel_list_bg_" (there will be 3 images with that name).

- edit the image to black (or anything you want).

* just for your another information.

for expanded clock and date background:

- go to systemui/res/layout

- find tw_status_bar_expanded.xml (if your device is TW), or just status_bar_expanded.xml (if not).

- find this line :

android:id="@id/notification_panel" android:background=[COLOR="Red"]"#ff000000"[/COLOR] android:paddingTop="@dimen/notification_panel_padding_top" android:layout_width="fill_parent" android:layout_height="fill_parent"

- change the android:background="#ff000000" color code to any color code.

- or if you want to use an image as the background, change android:background="#ff000000" to android:background="@drawable/myimage", then dont forget to create an image named "myimage" and put in drawable-hdpi. The image should be about 480x40. For better display, create an .9image for it.
[Android Themes] Nemo Draksler:
I changed the color to black in the three images, but the background is still gray. Do i have to modify the "tw_quickpanel_top_bg" too?
[Android Themes] joehanh88:
yes. just trial and error. but its weird, it should be that image. have you take a look in the xml of that notification toggle? In layout folder. and see where the background pointed to.because it's might just color code that you need to change.
[Android Themes] SkyaTura:
Did you deleted last build folder before build again?
[Android Themes] Nemo Draksler:
What xml would be? tw_status_bar_expanded?

I did and the result is the same
[Android Themes] joehanh88:
have you tried to change the "tw_status_bar_quicksetting_button_background">#ff000000</item> in the drawables.xml?
[Android Themes] Nemo Draksler:
Yes i took a look at it and it has already #ff000000 so it should be black, but it is not :confused:
[Android Themes] joehanh88:
then the last thing is change the tw_quick_panel_quick_setting_button_bg_normal.9.png in drawable folder.

give it a try. it should work.
[Android Themes] Nemo Draksler:
Finally changed!! but now there are spaces between the toggles :( See attached image
[Android Themes] SkyaTura:
Goto tw_statusbar_expanded.xml and find android:divider and change to "#00000000"
[Android Themes] Nemo Draksler:
I did it but it stays the same:confused:

This is how i want it
[Android Themes] joehanh88:
just try to change everything that related to notification or toggle. for example :

1) tw_quick_panel_plnm_bg.9.png

2) tw_quickpanel_top_bg

3) tw_quick_panel_notification_panel_bg.9.png
[Android Themes] remuntada78:
i think the problem is that you changed images with .9.png extension.

try to see here http://xdaforums.com/showthread.php?p=8111617
[Android Themes] joehanh88:
because the xml only will appear after you decompile the apk..then after you recompile it, the system will hide it because the apktool make the folder unreadable..it only can be read by android device..it's not a problem actually.. :)

have you tried to decompile again the modded apk? you'll get the values folder back I'm sure..

joehanh88 themed GT-I9070
[Android Themes] marrrek:
I need compiled - unreadable files tw_quick_setting_button.xml + tw_status_bar_expanded.xml + dimens.xml from SystemUI_recompiled.apk... I found files tw_quick_setting_button.xml + tw_status_bar_expanded.xml, but I can not find file dimens.xml nor values folders... I give to the phone modified files using VillainTheme System 0.4.1

The file *.xml must be

unreadable

from apktool COMPILE and 7-Zip/WinRAR EXTRACTED

yes, after apktool decompiled file SystemUI_recompiled.apk I find the third file dimens.xml and values folders... but these files are already readable :(
[Android Themes] joehanh88:
you want to decompile it?

I don't understand what is your problem really :p

do you have any problem while recompiling?

joehanh88 themed GT-I9070
[Android Themes] silent_one:
The .yml file is created when the apk is decompiled with apktool and is needed for recompiling.
[Android Themes] marrrek:
decompile (apktool) SystemUI.apk - OK

files are readable!!! - OK

search folder res\layout and edit (PSPad) tw_quick_setting_button.xml - OK

search folder res\layout and edit (PSPad) tw_status_bar_expanded.xml - OK

search folder res\values and edit (PSPad) dimens.xml - OK

compile (apktool) NewSystemUI.apk - OK

files not readable!!! - OK

browse/unpack (7-Zip/WinRAR) NewSystemUI.apk - OK

search folder res\layout and file tw_quick_setting_button.xml and move file to the TWRP-VRTheme-template-v.0.4.1.zip - OK

search folder res\layout and file tw_status_bar_expanded.xml and move file to the TWRP-VRTheme-template-v.0.4.1.zip - OK

search folder res\values and file dimens.xml and move file to the TWRP-VRTheme-template-v.0.4.1.zip - FAIL -

I can not find dimens.xml file in NewSystemUI.apk
[Android Themes] joehanh88:
you need to decompile the apk with apktool to get the values folder.. you can't just use winrar to edit or replace any xml..

1) decompile the apk with apktool.

2) edit the things that you want.

3) recompile the apk.

the apktool will generate the values folder and so others..

you will not see the folder with winrar, but the apktool will make you see it..so you can edit the xml.

joehanh88 themed GT-I9070
[Android Themes] marrrek:
yes I understand, but please read this topic http://xdaforums.com/showthread.php?t=1207017

---------- Post added at 03:09 PM ---------- Previous post was at 02:12 PM ----------

so far I needed to modify only *.xml in res/layout folder and my procedure was...

for example: I have a gray color clock in statusbar... :good:

0. copy SystemUI.apk from my phone to PC

1. decompile (apktool) SystemUI.apk

2. files are readable!!!

3. open folder SystemUI\res\layout and edit (PSPad) .xml file - for example: 12345.xml (for example: edit from gray to white color)

4. compile (apktool)

New

SystemUI.apk

5. files not readable!!!

6. browse (7-Zip/WinRAR)

New

SystemUI.apk

7. and open folder

New

SystemUI\res\layout and file 12345.xml move to the PC folder!!! SystemUI.apk\res\layout\12345.xml (this SystemUI.apk is not application but folder!!!)

8. browse (7-Zip/WinRAR) TWRP-VRTheme-template-v.0.4.1.zip

9. and open folder TWRP-VRTheme-template-v.0.4.1\system\app

10. and move my folder from PC SystemUI.apk\res\layout\12345.xml into the TWRP-VRTheme-template-v.0.4.1\system\app

*note* structure should look like this: TWRP-VRTheme-template-v.0.4.1\system\app\SystemUI.apk\res\layout\12345.xml

11. rename TWRP-VRTheme-template-v.0.4.1.zip on TWRP-VRTheme-template-v.0.4.1-12345.zip

12. copy TWRP-VRTheme-template-v.0.4.1-12345.zip from PC to my phone into /sdcard

13. turn phone to Recovery mode

14. install zip from sdcard

enter

15. chose zip from sdcard

enter

16. TWRP-VRTheme-template-v.0.4.1-12345.zip

enter

17. Yes - Install TWRP-VRTheme-template-v.0.4.1-12345.zip

enter

18.reboot system now

enter

and now I have a clock in white colour :o it is easy :p

do you understand me? ;)
[Android Themes] kancrutt:
how about transparent status bar on 4.1.2 AOSP based ROM?
[Android Themes] joehanh88:
LOL..I need to study what is your write.. :D

and thanks for the great info about decompiling VRTHEME..I've never done that before actually :p

I guess I will add your post at the OP for vrtheme compiling.. how was it?

joehanh88 themed GT-I9070
[Android Themes] joehanh88:
it's just the same..just follow the OP how to make transparent.. :)

joehanh88 themed GT-I9070
[Android Themes] marrrek:
super... sut back to my problem :(

0. copy SystemUI.apk from my phone to PC

1. decompile (apktool) SystemUI.apk

2. files are readable!!!

3-1. open folder SystemUI\res\layout and edit (PSPad) tw_quick_setting_button.xml file

3-2. open folder SystemUI\res\layout and edit (PSPad) tw_status_bar_expanded.xml file

3-3. open folder SystemUI\res\values and edit (PSPad) dimens.xml file

4. compile (apktool) NewSystemUI.apk

5. files not readable!!!

6. browse (7-Zip/WinRAR) NewSystemUI.apk

7-1. and open folder NewSystemUI\res\layout and tw_quick_setting_button.xml file move to the PC folder "SystemUI.apk\res\layout\tw_quick_setting_button.xml"

7-2. and open folder NewSystemUI\res\layout and tw_status_bar_expanded.xml file move to the PC folder "SystemUI.apk\res\layout\tw_status_bar_expanded.xml"

7-3. and open folder NewSystemUI\res\values and dimens.xml file move to the PC folder "SystemUI.apk\res\values\dimens.xml"

this file dimens.xml I can not find, and without dimens.xml file, I can not continue in the next step do you understand me?

8. browse (7-Zip/WinRAR) TWRP-VRTheme-template-v.0.4.1.zip

9. and open folder TWRP-VRTheme-template-v.0.4.1\system\app

10. and move my folder from PC SystemUI.apk\res\layout\tw_quick_setting_button.xml + SystemUI.apk\res\layout\tw_status_bar_expanded.xml + SystemUI.apk\res\values\dimens.xml into the TWRP-VRTheme-template-v.0.4.1\system\app

*note* structure should look like this: TWRP-VRTheme-template-v.0.4.1\system\app\SystemUI.apk\res\layout\tw_quick_setting_button.xml + TWRP-VRTheme-template-v.0.4.1\system\app\SystemUI.apk\res\layout\tw_status_bar_expanded.xml + TWRP-VRTheme-template-v.0.4.1\system\app\SystemUI.apk\res\values\dimens.xml

11. rename TWRP-VRTheme-template-v.0.4.1.zip on TWRP-VRTheme-template-v.0.4.1-delete_toggle+Ongoing+Nonotific.zip

12. copy TWRP-VRTheme-template-v.0.4.1-delete_toggle+Ongoing+Nonotific.zip from PC to my phone into /sdcard

13. turn phone to Recovery mode

14. install zip from sdcard

enter

15. chose zip from sdcard

enter

16. TWRP-VRTheme-template-v.0.4.1-delete_toggle+Ongoing+Nonotific.zip

enter

17. Yes - Install TWRP-VRTheme-template-v.0.4.1-delete_toggle+Ongoing+Nonotific.zip

enter

18.reboot system now

enter

joehanh88, it is possible to remove

Lidroid

toggle buttons?
[Android Themes] marekboss:
Hi people, for completely removed lidroid toggle buttons, is necessary change something in this file lidroid-res.apk -> res\layout\power_widget_button.xml

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:orientation="vertical" android:id="@id/power_widget_button" android:background="@drawable/stat_power_bg" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="76.0dip" android:layout_weight="1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/power_widget_button_image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" />
<TextView android:textSize="11.0dip" android:textStyle="normal" android:textColor="@color/power_widget_button_text" android:gravity="center_horizontal" android:layout_gravity="center_horizontal" android:id="@id/power_widget_button_text" android:paddingLeft="2.5dip" android:paddingTop="46.669983dip" android:paddingRight="2.5dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/power_widget_button_indic" android:paddingLeft="2.3299866dip" android:paddingRight="2.3299866dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginTop="71.0dip" android:scaleType="fitXY" />
</FrameLayout>

I just don't know what :(
[Android Themes] gurnishdhillon:
Can this same procedure be used for odex and deodex roms?
[Android Themes] joehanh88:
yes..but it will be safer and better if your device is deodexed..I recommend you to make your device become deodex first :)

joehanh88 themed GT-I9070
[Android Themes] gurnishdhillon:
Ok ok..thats great sinceI am no eyebee's rocket rom reloaded which is deodexd rom
[Android Themes] joehanh88:
but if what you do take no effect even after you reboot the phone, remove the odex file..then reboot again..everything will work fine :)

good luck! :D

joehanh88 themed GT-I9070
[Android Themes] RizaLeon:
good tutor men.. thanks ;)
[Android Themes] joehanh88:
welcome!

glad it's help everyone :)

joehanh88 themed GT-I9070
[Android Themes] marekboss:
joehanh88 please help me remove lidroid toggle buttons :fingers-crossed: Thank you ;)
[Android Themes] Nemo Draksler:
Yeah i changed some images, and i'm not good with image editors :silly: so i changed to the backup of my systemUI without de brightness controller. I'm satisfied with that for now. Thanks to all
[Android Themes] thisismyusernam:
Somebody help me? TS help? after doing the "removing text on toggle buttons" the status bar gone missing... what should i do?
[Android Themes] SkyaTura:
What u mean with missing?
[Android Themes] Jeetu:
your systemui crashed. you did something wrong. Get the dumpstate_app_error.txt.gz from data/log and check what you did wrong.
[Android Themes] thisismyusernam:
Sorry guys its ok now got wrong on the codes :),im editing the codes now for Removing the text on toggle buttons what ive done for now is remove the text but i want to resize the toggle button height to a smaller size LIKE THIS

BUT THIS IS WHAT HAPPENED :D
[Android Themes] thisismyusernam:
Can someone help me with this? please?
[Android Themes] joehanh88:
I guess I already mention the steps in op. go to dimens.xml.. I'm not with my pc right now.can't tell you the exact line where you need to look at.
[Android Themes] red de0392:
Hii..

I'm Trying to modify my notification drawer...

i Want to Day to above Date....

Attaching Two Images...

First is my Currnt Notification drawer...and another is how i want...Where should I modify the code...

Plz help

Thanks in Advance :D
[Android Themes] remuntada78:
you can try to follow this guide http://xdaforums.com/showthread.php?t=2366476

if your device is based on touchwiz you've to modify the tw_status_bar, tw_status_bar_expanded, tw_status_bar_expanded_header instead of

status_bar, status_bar_expanded, status_bar_expanded_header
[Android Themes] red de0392:
I'm On aosp Based 4.2.2
[Android Themes] remuntada78:
i know 4.2.2 already implement this function, or you only change the graphic?
[Android Themes] CyclopSX:
cycx

Thanks :good:
[Android Themes] arneldna:
I tried decompiling the SystemUI.apk using the Apkmultitool GUI, and edited the tw_status_bar.xml for Center Clock with the Code pasted in the OP..then I signed the APK and pushed it in System/app; rebooted but the status bar was the same....I see no change...can anybody help me ?
[Android Themes] bayustev:
hai, again..been busy my self..recently i just solve for empty gaps when on landscape mode..but i think this just for my phone (mdpi) many png i had to change to dark/black like.tw_quick_panel_quick_setting_button_bg_normal.9, tw_quick_panel_on.9, tw_quick_panel_off.9, tw_quick_panel_notification_panel_divider_1.9, tw_quickpanel_top_bg,tw_quick_panel_quick_setting_button_bg_pressed.9 ( when quick toggle is change to sliding style) everthing i change to black..so when i press the toggle it won't change color , just animation slide toggle..) great job joehan..:laugh:

ps..how about editing framework-res..50% transparent background joehan? or anyone? this will cool..

here i make some modified slide toggle i hope this will be use full for anyone..

here : View attachment 2369166

here : http://d-h.st/4fz
[Android Themes] Dilesh Perera:
hi

can u please tell me how to increase height of the status bar? and which lines have to edit to increase DPI ? im with CM10

EDIT - found. its in Framework-res
[Android Themes] S2_brickmaker:
Can anbody tell me how I can delete or get rid of the BLOCKING MODE NOTIFICATION?

This is a great TuT for noobs I never thought I could ever do things like this.

Jedi x20

T889

AWESOME JOB :thumbup:

IF I HELPED YOU HIT THE THANKS BUTTON. THANK YOU FOR THANKING ME!
[Android Themes] Jeetu:
You should turn off blocking mode from setting.
[Android Themes] S2_brickmaker:
I want the blocking mode on, I just dont like the notification always showing. I figured this tut showed how to get rid of the brightness bar maybe I could get rid of my blocking mode notification.

IF I HELPED YOU HIT THE THANKS BUTTON. THANK YOU FOR THANKING ME!
[Android Themes] GæxD:
How to change icons on statusbar? Battery, wifi, signal etc
[Android Themes] G.M.L:
You must edit your icons in SystemUI.apk

(res/drawable-hdpi)

Send from Greece (Slim CM9 RC4 - G.M.L. V4)!!!
[Android Themes] GæxD:
Thanks man!

---------- Post added at 03:36 AM ---------- Previous post was at 03:14 AM ----------

I changed the icons in "res/drawable-hdpi" and compiled the SystemUI.apk, then replaces it with Root Explorer and rebooted, everything went black with no status bar.
[Android Themes] Jeetu:
Your systemui crashed.

Did you add the correct permission before reboot. Or if you just want to change the icons then no need for decompiling just do it with 7-zip and replace the pngs.

Hope it helps :)
[Android Themes] Javho:
Hi forum. Today editing in my mind appear a biggest interrogate, and if is possible elimitaned the carrier name when our pulled down the notify window

Enviado desde mi GT-I9070 mediante Tapatalk
[Android Themes] bayustev:
Did you replace metainf folder and android manifest from original systemui after you recompile...

send from gt-s6310 custom
[Android Themes] trabeast:
BTW thanks for these awesome tutorial. :thumbup:

Im having problem making the notification transparent. Im having difficulty changing 0x100 to 0x00 since i have four in phonestatusbat.smali. anythoughts on these and the line between the toggle icons and notification how to take it off?
[Android Themes] GæxD:
How to add permission? In Root Explorer?
[Android Themes] G.M.L:
Send from Greece (Slim CM9 RC4 - G.M.L. V4)!!!
[Android Themes] glfsd:
hi and sorry my poor english.....

can you help me to resize the delete icon?

i tried on status_bar_expanded_setting_layout.xml, dimens.xml but nothing

i'm on lg 4x hd

View attachment 2385462 View attachment 2385463 View attachment 2385464 View attachment 2385465

thanks
[Android Themes] reza2388:
Can I ask How To Change background Color On Pulldown Notification Icon..

Just Like My This Pic.. I want to Change Blue background There
[Android Themes] chleoj:
how to edit

Hi, can I ask how to remove the "life companion" text on my lockscreen, I only ported this rom on my device (MT6589)...thanks!!! :fingers-crossed:
[Android Themes] Jeetu:
You have to delete the png containing this life companion in your Framework-res.apk /res/drawable-hdpi you have to use 7-zip to do this.
[Android Themes] chleoj:
thanks!!! for your quick reply...searching for the .png file now :D

EDIT:

I can't find that image...would you mind looking on my framework-res.apk :p

regards!
[Android Themes] G.M.L:
close on-off

Can someone tell me how to change Statusbar close on-off with other icon which png we must me to replace in sustemui.apk ??

I have change all the systemui but i can find these one!!!!!!!!!!!
[Android Themes] remuntada78:
Is in SystemUI\res\drawable- (hdpi or mdpi depend of your device), the png are called tw_status_bar_close_on and tw_status_bar_close_off if your rom is touchwiz based or status_bar_close_on and status_bar_close_off if your rom is not touchwiz based
[Android Themes] bayustev:
hey..did you notice about smali edit..it work..(this will make transparent like johan say.and i already try it..it work..):D:D:D

SystemUI\smali\com\android\systemui\statusbar\phon e

PhoneStatusBar.smali

- find -0x100 (there will be just two of it in that smali)

- change both to 0x0 (0=zero)

- save smali.

(that will make the notification bar transparent).
[Android Themes] bayustev:
did you meant is this??

it's on res/drawable-mdpi or hdpi or xhdpi (depend on your phone)

name is

tw_status_bar_close_off

tw_status_bar_close_on
[Android Themes] lozohcum:
[MENTION=5064082]joehanh88[/MENTION]

I have many 0x100 and now I don't know which one I should change... :/
[Android Themes] joehanh88:
It's -0x100, you missed the "-" negative sign.
[Android Themes] Jay_SEAN:
nice :)
[Android Themes] lozohcum:
No "-0x100" found.
[Android Themes] G.M.L:
I find it ok thank you!!!!!!

Στάλθηκε από το LG-E400 μου χρησιμοποιώντας Tapatalk 2