yashsingh1/xdaforums huggingface dataset:
[Android Themes] joehanh88:
sorry dude, i'd love too..but i dont have much time to spend for that.. or what if you just create new toggle from mine as base? you just need to remove the icon inside it then it can be your toggle base :)

i will, but im quite busy with my class assessment..i dont know when i able to continue my writing for that TUT :(
[Android Themes] Artha_CR:
ok no problem...

but can you upload one blank icon toggle for me :(

cause if I editing n remove icon inside in toogle result not same with other toggle icon...

so,please give me one blank icon toggle n nothing icon inside toggle (sorry I'm very very don't have skill for editing image) :crying:
[Android Themes] ruvort:
I am curious if someone here would have the know-how on how to accomplish this. I am attempting to take a traditional tablet layout and then center the clock (single click to show notifications, long click to go home) and move the back and menu/recents buttons on either side of it. Its my thought that this will work much nicer for phones. Any help would be most appreciated. Thank you :)

Before

After

Huge Wallpaper Collection
[Android Themes] hara74:
someone started a similar thread already ;)

http://xdaforums.com/showthread.php?t=2151075

maybe we could expand this thread with changing png´s, 9.png´s and mods

if OP agrees of course ;)
[Android Themes] Sami Kabir:
Thanks for the link but I want a complete How-To guide for Advanced theming like something that will help me (and others) to totally change the appearance of a ROM/firmware - if you know what I mean... I pretty much know about all the stuffs mentioned in that thread.. I just want to know how I can change the menu backgrounds, buttons, title bars backgrounds, etc.
[Android Themes] hara74:
yeah such thread would be pretty helpful ;)

I forget also many things for my themes if I wait to long to build a new one :o

sent from my G-Note
[Android Themes] muop_92:
Use Adobe Photoshop, or Google search

---------- Post added at 04:20 PM ---------- Previous post was at 04:15 PM ----------

Can anyone help me fix this:

I have changed the battery icon png to a different size icon (a horizontal battery). And sometime i dont get the full battery icon (part of it is disappeal). I lock the device and the unlock, it comes back to normal state :). I want to know what is the exact problem here :D
[Android Themes] ruvort:
Someone must have some idea where to start... Please?

Huge Wallpaper Collection
[Android Themes] joehanh88:
im sorry, i dont :(
[Android Themes] joehanh88:
dude, here is your blank toggle..what you need to do is just put the icon you desire inside :)

have a happy "theming"! :D

download link :

aqua_base

dream_base
[Android Themes] Artha_CR:
wow...

Many thanks bro :D

I love it
[Android Themes] SXUsr:
In the 3 years I've been here I've yet to find such a guide and given the variety between manufacturer code you'll be hard pressed to find someone to write one. You learn from the guides already available at the time of learning and pick stuff up along the way, and if you're not pulling apks apart to try and get an understanding of how they work you're doing something wrong. ;) Some of the things you've mentioned might actual be a png so if you've decompiled an apk and browsed the drawable folders then it will become apparent which image is for what by comparing them to what's being displayed on the Phone, and if it isn't an image then you can start looking at xmls for hex colour codes or code that points to a colour. :)

Same place as always, Google. Search for guides to center the clock and guides to arrange the soft keys for your device, failing that read guides for other devices and adapt them to suit yours.
[Android Themes] ruvort:
The problem is I can't find anything on tablet ui edits. Its all phone ui. The centering of the clock is always for the notification/statusbar and not the tablet ui navigation bar.

Huge Wallpaper Collection
[Android Themes] SXUsr:
But it's still android, still similar principles in modding, you just need to figure it out.
[Android Themes] nongoei:
Thank you very much, This is a good guide for me :o
[Android Themes] harizen:
Guys can you help me to determine what is the name of the .png above (the black background). I cant see my status bar whenever Im pulling it down.
[Android Themes] CarlM34:
Hi ........really nice thread btw.

I have an issue....I am trying to follow guide 8 to put my own pic in notification...........I believe I am following it to the letter and everytime I re-apply my SysUI it FC/stops working after re-boot........Not sure if it helps but I have attached the dumpstate_app_error log.........

Cheers in advance!:good:

EDIT - And yes I am following guide 9 also :)
[Android Themes] binhdb:
I'm very grateful

I greatly admire, a nice interface, but I can not afford to do so. With Android version 2.3.6, why? Can anyone help me do this. I'm very grateful, because lord!

http://www.mediafire.com/download/yabpt45y8w62sdy/framework-res_%2BSystemUI.rar
[Android Themes] cowsquad:
Thanks for this tutorial
[Android Themes] joehanh88:
please do not QUOTE OP.

this TUT is for JB. But you can implement at GB if you know what you do. Since JB and GB were not with the same sources.

yes, you need a deodexed system. But at the logcat that you gave is not cause any problem. just ignore that thing.

thanks for liking my work :)
[Android Themes] Raven_Yen:
Sorry I'm new to modding.

1) Do I have to odex the system (stock rom in my case) back after done? Or can I just leave it deodexed to ease more edits in future? Will deodex / odex wipe my app data / system?

2) In what kind of logcat should I NOT use that specific modded ui.apk?

Sent from my GT-I9105P
[Android Themes] remuntada78:
Hi joehanh88 first of all thanks for the wonderful tutorial, but i have request, I would like to have the 4.2.2 status bar like this

Can you do a guide for this?

thanks
[Android Themes] joehanh88:
1) deodexed system let your device able to be themed. Or you can just rename the .odex file of the apk that you want to ".bak". Copy the modded apk into that folder, reboot the phone.

2) i not understand the question, sorry :p
[Android Themes] joehanh88:
DELETED
[Android Themes] joehanh88:
try to follow this thread.

http://xdaforums.com/showthread.php?t=2315342

but its for GB.
[Android Themes] remuntada78:
I'm already following the thread and i know it is for GB

thanks anyway
[Android Themes] Raven_Yen:
I mean what kind of 'error' that occurred does not harm the system when installed.

The one I told you was

aapt: warning: string 'abbrev_wday_month_day_no_year' has no default translation
in C:\Documents and Settings\User\Desktop\Android\APK\systemui\res; found: mk

Today I met another

C:\Documents and Settings\User\Desktop\apktool1.5.2\systemui\res\values\public.x
ml:550: error: Public symbol drawable/tw_quick_panel_notification_panel_bg decla
red here is not defined.

The latter doesn't produce an APK however.

I mean what if other 'error' occurred? How can I tell whether such 'error' is fine?
[Android Themes] joehanh88:
as long as the apktool able to build the APK, so there will be no problem even it said some error in the logcat.. example : brut.all written at the logcat, so there is some problem..

like the 2nd logcat the you provide got some error in the public.xml line 550..check that line.. you might do something wrong..
[Android Themes] Raven_Yen:
Thanks for info, actually for the second logcat... there is a whole list, this is just one of the line. All those files mentioned were not edited by me. They are mostly PNG, but I only edited ONE PNG like what we usually do. Weird...
[Android Themes] joehanh88:
where the png that you want to put? you need to edit the xml so that the custom png that you want to put. the xml should pointed at the png.
[Android Themes] Raven_Yen:
I made it the same name. It was the footer picture for notification menu, non-9png.
[Android Themes] joehanh88:
aaa.. i see.. you need to decompile the APK first, then compile it again.. without change anything.. then you edit the png inside build/apk/..

sent from my iPhone 5.
[Android Themes] Raven_Yen:
You mean replacing PNG by dragging new PNG into the .apk specific folder in 7zip/Winrar window?
[Android Themes] harizen:
Guys help me in my query on page 32 :(
[Android Themes] joehanh88:
if it is not an .9.png, yes you can only drag the image.

im sorry dude, i cant find the solution. :(
[Android Themes] Raven_Yen:
What about 9.png?
[Android Themes] joehanh88:
for .9.png you need to edit it at the first decompile before build. for non-.9.png, you can freely edit it in the build/res/folder.

steps to make you clear :

- decompile the apk. (apktool d THEAPK.apk)

- edit only the .9.png and xml here. do not edit non-.9.png at this step or you'll get compiling error.

- build the apk. (apktool b THEAPK)

- for edit regular png, edit in build folder.

- build the apk again after you done editing. (apktool b THEAPK)

- you can get the modded apk at dist folder.
[Android Themes] Raven_Yen:
Ok, I'll try hours later after I flashed a custom rom.
[Android Themes] harizen:
joehanh88 thank you for the effort. :)
[Android Themes] Namoi:
Are you trying to be able to see the statusbar even if the notification drawer is pulled down like it was in ICS?

This i can tell you how to do.
[Android Themes] SXUsr:
Images can be dragged and dropped into an apk without having to decompile or sign it.
[Android Themes] joehanh88:
yes..but not for .9.png.

that steps is for safe step. and more practical :)
[Android Themes] SXUsr:
Yes for .9pngs, so long as they've not been edited. If I see a theme that has a .9 that I like for example, I'll download the theme, extract the re res folders, then drag and drop the image I want into my apk, zipalign and push it to my Phone.
[Android Themes] joehanh88:
aaa...i see...because i've tried that method before, but i got some weird display..maybe i have done something wrong..

thanks btw :)
[Android Themes] SXUsr:
No problem. :) Little tips like that can save a lot of time, for example when a new firmware is released I'll extract the res folders from my old apks and do the same for the new ones I want to edit, then I'll stack the folder windows side by side and just replace the new images with the old, then I'll drag and drop them into the new apk then decompile it to make any xml edits if I need to, if I don't need to make xml edits I just zipalign then push them back to the Phone.
[Android Themes] joehanh88:
nice info :D

thanks for the trick mate!
[Android Themes] joehanh88:
a bunch of thanks mate!

i will update the op :D

PERFECT TUT :D
[Android Themes] harizen:
Yah I like to see my status bar everytime Im pulling down my notif drawer. Can you help me with this? :( Thanks :good:
[Android Themes] Namoi:
Yep, but tomorrow as all my files are at my work place. But it is pretty easy.

If i remember correctly, it is just to add a margin at the top of the expanded header and modify the 9.png for the drawer panel accordingly : meaning if you need to add 20 dip, you then need to add that 20 dip on top of the background in real pixels size and set the 9.png to not shrink that area.

There is a formula to convert, but i need to know your screen dpi. On sgs2 for example it is 240. I need also to know the height of your statusbar in dpi. This you will find in the dimen.xml or post the xml here.

Bump me here tomorrow (france time) if i forgot.

Cheers
[Android Themes] harizen:
Got it. Where can I find that .png (the one that will be modify). And how can I know my screen dpi and determining the height of my statbar in dpi? or to make things easy where can I find that xml so that I can post it here.

Whew I apologized for my noob answer. Thanks for the answer. I'll study it carefully.
[Android Themes] Namoi:
Dimen.xml is in res/values folder.

The height of you statusbar is inside. The string should be something like status bar height bla bla. I don't remember exactly.

The 9.png is in res/drawable hdpi on my sgs2, but again i don't have the name here + it is a 9.png so it must be properly edited.

Your dpi you will find on google.

This is an easy mod, but you must understand what you are doing or you will screw it ;)
[Android Themes] Sami Kabir:
Anyone knows how to change the Blue Background behind "about phone".. I think its called title bar background or something but I can't find which particular png or .9.png it is.. so if anyone knows the name of that png then please tell me...

(and sorry for the huge image)
[Android Themes] Namoi:
Well, i can't see your image...

Is it in settings?
[Android Themes] Sami Kabir:
are you viewing from the xda app? Because I can see my attached my image :p but yes its the blue title background seen in Settings, My Files, etc.
[Android Themes] hara74:
deleted

wrong Information :crying:

sorry!!!
[Android Themes] harizen:
I don't know if Im correct but here is what I found about my dpi. (SGY)

240 x 320 pixels, 3.0 inches (~133 ppi pixel density) (I don't how to convert ppi to dpi. In wiki , dpi is not present for my phone)

I'll check that xml later. My phone is charging.

I'll bump here tomorrow at your time so that you're in your workplace. What time is it now in your county France and what time is your work?Im in Phil GMT +8.
[Android Themes] joehanh88:
it was the tw_ab_transparent_dark_holo.9.png in framework-res/res/drawable-hdpi.
[Android Themes] hara74:
jup ur right,

sorry for my post above, I was wrong :crying:
[Android Themes] Namoi:
Yes, 133 is the value. The GSY is ldpi device so the png isn't in drawable hdpi, but ldpi.

Post your status bar expanded header xml too please.

And bump anytime you want tomorrow. I will catch.
[Android Themes] harizen:
By the way what is the name of that specific .png?

Ok I'll attend your class tomorrow :)

I'll post all your needs. Thanks. :)
[Android Themes] Namoi:
Told you, my memory is weak. ;) Maybe something like notification bg or notify bg, but i have to see my files as there are plenty of png with almost similar names. But this one is long (the width of your screen) and maybe 10 to 20 px height and totally black (on my Rom).

In the time, if you don't know how to do it, have a look how to edit 9.png.

There are plenty of guide here how to do so.

Enjoy :P
[Android Themes] harizen:
Hehe ok thanks.. I'll bump here tomorrow.. See yah..
[Android Themes] muop_92:
I have Q:

1) how to change the gap between the right end of status bar and the battery icon (for me they are neighbor)?? I d like to make it wider. Tks

2) can i move only the battery number to the left side of status bar, not the battery icon?// Or can i move it to the right of the battery icon?
[Android Themes] Namoi:
This one is "tricky". I will have a look how i did it, but you will have to wait. Not at work yet.

If i remember you have to add a right margin or whast it a padding but in battery cluster xml, not in status bar.
[Android Themes] nongoei:
hi BOND1987, thank you very much. u r got me done digitalclock & move down the toggles bar on i9100 base stock.

thanks again.
[Android Themes] :
That's really good....:beer::beer::beer:

Screen shot will more appreciated.

" Hitting Thanks Don't Cost You Anything, so, Try Hitting It Once.....;) ;) ;)
[Android Themes] nongoei:
i already hit the thanks :D

my english is bad, sory :o

screen shot
[Android Themes] Namoi:
OK, i had a look at my files but in my case i just added space between the battery and the signal icons AND it was not in battery signal cluster xml, but in tw_status_bar.xml (for Sammy Roms)

Here is the unmodified part of the code from tw_status_bar.xml. You have to look into :

<LinearLayout android:gravity="right|center" android:orientation="horizontal" android:id="@id/right_icons" android:paddingRight="2.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentRight="true">
<LinearLayout android:gravity="right|center" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="right|center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/tw_signal_cluster_view" />
<TextView android:textSize="12.0dip" android:textColor="@*android:color/cruss_theme" android:layout_gravity="center" android:id="@id/battery_text" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_network_name_separator" />
<ImageView android:gravity="center" android:id="@id/battery" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>

If you want to add space at the left of the battery, just add a new parameter android:layout_marginRight="4.0dip" (increase or decrease the dip value as you want) in the android:id="@id/signal_cluster" latyout (you can put it where you want wirth the other parameters, after android:layout_height="wrap_content" for example.

It is the same idea for other part of this layout : just have a look at the code.

If you want space between the battery icon and the battery text, just add the same android:layout_marginRight="4.0dip" but this time put the parameters in the android:id="@id/battery_text"

Each Id here represent a part of the right icons.
[Android Themes] Kamy:
Anybody help me please in my case:

I am going to change notification texts color to black (white in my screenshot)

What I tried:

Change

<color name="notification_category_color">#ffffffff</color>

to

<color name="notification_category_color">#ff000000</color>

And Changed

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

to

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

But it is still white, I didn't make any changes in systemui/res/layout/tw_status_bar_expanded, value is still android:textColor="@color/notification_category_color

Am I doing wrong?

​
[Android Themes] hara74:
hey m8,

I looked in my systemui/res/values/styles and I changed all these for Orange:

<style name="TextAppearance.StatusBar.IntruderAlert" parent="@*android:style/TextAppearance.StatusBar" />

<style name="TextAppearance.StatusBar.SystemPanel" parent="@*android:style/TextAppearance.StatusBar">

<item name="android:textAppearance">?android:textAppearance</item>

<item name="android:textStyle">normal</item>

<item name="android:textColor">#ffd15113</item>

</style>

<style name="TextAppearance.StatusBar.TextButton" parent="@*android:style/TextAppearance.StatusBar">

<item name="android:textAppearance">?android:textAppearance</item>

<item name="android:textStyle">normal</item>

<item name="android:textColor">#ffd15113</item>

</style>

<style name="TextAppearance.StatusBar.Clock" parent="@*android:style/TextAppearance.StatusBar.Icon">

<item name="android:textSize">16.0dip</item>

<item name="android:textStyle">normal</item>

<item name="android:textColor">@*android:color/holo_blue_light</item>

</style>

<style name="TextAppearance.StatusBar.Date" parent="@*android:style/TextAppearance.StatusBar.Icon">

<item name="android:textSize">16.0dip</item>

<item name="android:textStyle">normal</item>

<item name="android:textColor">@*android:color/holo_blue_light</item>

</style>

<style name="TextAppearance.StatusBar.Expanded" parent="@*android:style/TextAppearance.StatusBar" />

<style name="TextAppearance.StatusBar.Expanded.Clock" parent="@style/TextAppearance.StatusBar.Expanded">

<item name="android:textSize">32.0dip</item>

<item name="android:textStyle">normal</item>

<item name="android:textColor">#ffd15113</item>

<item name="android:fontFamily">sans-serif-light</item>

</style>

<style name="TextAppearance.StatusBar.Expanded.Date" parent="@style/TextAppearance.StatusBar.Expanded">

<item name="android:textSize">12.0dip</item>

<item name="android:textStyle">normal</item>

<item name="android:textColor">#ffd15113</item>

<item name="android:textAllCaps">true</item>

</style>

<style name="TextAppearance.StatusBar.Expanded.Network" parent="@style/TextAppearance.StatusBar.Expanded">

<item name="android:textSize">14.0dip</item>

<item name="android:textStyle">normal</item>

<item name="android:textColor">#ffd15113</item>

should be one of them, I hope
[Android Themes] Kamy:
Yes Hara, I already did that but nothing changed I think it's because of modified systemUI I am using or something else.

I think I would pass from changing text color of notification to white as I need to change lots of icons in framework too,

But thanks for your help. Noted in my themeing guides.
[Android Themes] hara74:
I compared my Orange and my Red Theme now

and that is what I changed for the red (all in systemui)

- values/drawables: <item type="drawable" name="notification_number_text_color">#ffad0404</item>

- values/styles:

<style name="TextAppearance.StatusBar.IntruderAlert" parent="@*android:style/TextAppearance.StatusBar" />

<style name="TextAppearance.StatusBar.SystemPanel" parent="@*android:style/TextAppearance.StatusBar">

<item name="android:textAppearance">?android:textAppearance</item>

<item name="android:textStyle">normal</item>

<item name="android:textColor">#ffad0404</item>

- layout/tw_status_bar_expanded:

<LinearLayout android:orientation="vertical" android:id="@id/onGoingCart" android:background="#ffad0404"

<LinearLayout android:orientation="vertical" android:id="@id/notificationCart" android:background="#ffad0404"

nothing more, and that´s the result:

I hope it help u a little bit more ;)
[Android Themes] muop_92:
THANK [MENTION=4296852]Namoi[/MENTION] I did it :)

By the way, I m nob so WHAT is "fill_parent" and WHAT is "wrap_content"? :?
[Android Themes] SXUsr:
Type both into Google and stop being a nob, or noob which is what I think you meant. :p

From me to you.
[Android Themes] muop_92:
OK I found it :) I m still a nob :eek: so many thing to learn
[Android Themes] SXUsr:
There's too much to learn. :silly:
[Android Themes] hara74:
hey guys,

does anyone know a good "how to" for lidroid-res.apk

I mean hide toggle text, rerange toggles, toggle text bigger or smaller or another color and so on

a big thanks in advance

sent from my G-Note
[Android Themes] Namoi:
Try this (maybe you know it already...) and don't forget to follow the link Wanam posted for JB mod.

http://xdaforums.com/showthread.php?t=1876384

Rearanging toggles are done trough lidroidsettings.apk which is needed AFAIK, so no need to mod.

The other mods are done trough xml and pngs. For pngs you don't even need to decompile lidroid.

For the text if i remember correctly they are handled in layout so you will need to decompile and recompile (the funny part ;) ).

Enjoy

Edit: the brightness toggle and for a part the sound toggle are partly broken since jb. I tried and ask for assistance from greater knowledge to fix this to no avail.
[Android Themes] hara74:
thanks a lot

yes, I know the setting apk,

but with rerange I meant to set the toggles a bit higher or down if the text is gone ;)

sent from my G-Note
[Android Themes] Koulis2000:
res/layout/tw_status_bar.xml as I remember.

Make sure to fix this on the post.
[Android Themes] joehanh88:
post fixed :)
[Android Themes] tahapapun:
nice guide dude :good:
[Android Themes] joehanh88:
thanks :)

if you got something more that i can put it inside, let me know..

maybe you know something that i didnt know :D
[Android Themes] Logen91:
Re: [TUT][JB] HOW TO THEME SystemUI.apk for newbie!

Nice guide! I would remove the notification toggle button text and change the light color. Can you help me what should change?

Tapatalk 2-vel küldve az én GT-I9070-ről
[Android Themes] bobfrantic:
+1 :good: also to close the gap between the toggles and brightness slider :)
[Android Themes] xxScoobxx:
Re: [TUT][JB] HOW TO THEME SystemUI.apk for newbie!

Awesome guide bro!

Sent from my SAMSUNG-SGH-I747
[Android Themes] joehanh88:
yea..sure..i'll add it in my next update :)

thanks.. :D just sharing what i know :p