yashsingh1/xdaforums huggingface dataset:
[Android Themes] laotzy:
It worked:good: Actually, I am an amateur, not professional, unfortunatelly. Thank you very much for your quick and effective help!
[Android Themes] susmaryosep:
fm on/off mis align

Sir i had a problem about fm ui the on off button was on the left side It should be on the center of my screen please sir may i know how to fix this problem your thread was help me a lot therefor thank you sir . Sorry for my grammar
[Android Themes] CreasingMass Dev:
Lol dude, wtf is that?
[Android Themes] ibro-bih:
Great

Great, Thank you very much
[Android Themes] SXUsr:
And zipalign every apk after modding don't forget.
[Android Themes] FunSucker:
What different "fill_parent" anda "wrap_parent" , sir ?!
[Android Themes] lacoursiere18:
I believe one is for height and the other for width.. you can find a description for just everything inside a xml on this site..

http://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html

Actually it's for both ..
[Android Themes] Ticklefish:
Well, 'fill_parent' is something you'll find in Android xml... 'wrap_parent' isn't..

Do you mean 'wrap_parent' or 'wrap_content'?
[Android Themes] FunSucker:
thanks for the answers , sir :D

mmm i mean "wrap_content" sir. sorry :D

so, it's like the "territory" of the object? whether we will give a space to another object or not in the same background. something like that, sir?
[Android Themes] Ticklefish:
Hmm...not quite.

This is to do with 'layout_width' and 'layout_height'.

If something has a layout_width of wrap_content, for example, it is only as wide as its content. So a clock with a layout_width of wrap_content only uses as much space as the clock itself.

If it has a layout_width of fill_parent then it takes all the available space of the parent layout.

A good way to learn the difference between these two is to make a mod with 'fill_parent', make the same mod with 'wrap_content' and compare the results.

--------------------------------

Sent via Tapatalk

---------------------------
[Android Themes] FunSucker:
Yes, sir. For me, the emulator is needed to see the difference. So now I'm open Eclipse. and TMA ....: D

thank you for your attention :good:
[Android Themes] Airfluff22:
Duuuuuuuude, I've been looking for where to change the color of the text for the toggles for DAYS, and decided to look there after finding your comment. I'mma newbie to theming and I'm currently trying to theme my LG Motion that runs on ICS. Thank you sooo much! :good: Thanks to the OP as well, even though a few of the things I'm trying to find are in different places than where it says it is in this thread (since I'm theming ICS and my LG Motion has its own lge-res.apk in addition to the framework-res.apk), its still very useful. :)
[Android Themes] mohdadil0041:
i cant find some files u said in my systemui.apk and y phone is not having toggles also..can u do it for me plz...
[Android Themes] Rom:
At this step (recompile): 15. How To Sign Your Apk After Modding!

I found "AndroidManifest.xml" file but not the META-INF folder, anyone have solution(s) ? :confused:
[Android Themes] joehanh88:
take it from the original apk.
[Android Themes] Rom:
Ok thanks :good:
[Android Themes] Rom:
I have this error when i put "apktool b SystemUI" command and i don't have "dist" folder..

Have you an idea ?
[Android Themes] lacoursiere18:
You have a extra symbol like a "," or an extra ">". You need to look it over and see..
[Android Themes] Rom:
Ok thank you :) i work on it :)
[Android Themes] Rumorbox33:
how to change the position of notification bar ?

I have to move notification bar from bottom to top.

How to do it please tell me?:confused:

I have attached the image
[Android Themes] Rom:
[MENTION=5056266]lacoursiere18[/MENTION] If you want to create a theme that will moded the toggles transparancy in notification drawable, you will create what txt file in drawable folder and what line you will create ?

(sorry for my bad english..)

-------------------------------------------------------------------

I have try to copy/past "com_android_deskclock_item_background.xml" and "com_android_mms_listitem_background.xml" from Crystal 2 theme (after decompress it with 7-zip) and remove the lines in these 2 files that call Crystal 2 files.

When i try recompile my SystemUI apk, i have this error (apktool not recognize transparant color), do you know how fix it ?
[Android Themes] lacoursiere18:
Need to add the color "@color/transparent" to your colors.xml or define it as a he right there..
[Android Themes] Rom:
Thanks but now, i have this

And my colors.xml in attachments..
[Android Themes] lacoursiere18:
Your error is here..

So again need to revisit colors.xml.. missing something
[Android Themes] Ticklefish:
You have a problem with line 16 of the xml. Probably because of line 15...

<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="notification_panel_solid_background">#ff000000</color>
<color name="status_bar_recents_app_label_color">#ffffffff</color>
<color name="notification_list_shadow_top">#80000000</color>
<color name="notification_panel_scrim_color">#b0000000</color>
<color name="pie_overlay_color">#cc000000</color>
<item type="color" name="pie_snap_color">@*android:color/holo_blue_light</item>
<color name="pie_text_color">#ffffffff</color>
<color name="pie_foreground_color">#ffffffff</color>
<color name="pie_background_color">#dd0099cc</color>
<item type="color" name="pie_selected_color">@*android:color/holo_blue_light</item>
<color name="pie_long_pressed_color">#ff8ad5f0</color>
<color name="pie_outline_color">#dd0099cc</color>
[COLOR="Red"] <color name="@color/transparent[/COLOR]
</resources>
[Android Themes] Rom:
Can you help me to edit this xml please ?

Thanks
[Android Themes] lacoursiere18:
Make sure you look at my changes..
[Android Themes] Rom:
Thank you very much, i check it :)

Edit: i have check it, i have rewrite like this:

<color name="transparent">#00000000</color>
[Android Themes] lacoursiere18:
Can you post the log of the FC please..
[Android Themes] Ticklefish:
I think I can guess what's happened here...

Never delete a line that has 'android:id="@id' in it. Not unless you've edited the appropriate smali to completely remove all trace of that id from the apk.

If you delete the line, Android will reach the point in the smali where that id is referred to, won't find the id in the xml, and close the app.

If you want to remove a line with an id in it, try just hiding it instead..

<FrameLayout [COLOR="Red"]android:visibility="gone"[/color] android:id="@id/toolBarSwitchPanel" android:background="@drawable/notification_header_bg" android:layout_width="fill_parent" android:layout_height="103.0dip">
<include layout="@layout/toolbar_view" />
<include layout="@layout/toolbar_indicator" />
</FrameLayout>

By setting the visibility to 'gone', Android just ignores that line (or group of lines, in this case).

Give it a try and let us know what happens! :good:
[Android Themes] cyberangel22k:
oh, yeah! now I understand. I did not delete the id's in my smali. I'll try your suggestion now and report back. Thanks!:D

EDIT:

Ok, it kinda worked, but now i have this blank space on my notifications. I also tried changing the android:layout_width="fill_parent" android:layout_height="103.0dip"> to ="wrap_content" but gave me no status bar at all.
[Android Themes] Ticklefish:
I think I know what happened here as well. Can you share a screenshot of your notification screen once you've received a notification? Just install an app from Google Play or send yourself a SMS or something similar..
[Android Themes] wackowizzard:
Nice tutorial dude! Well explained! I think there are a lot of people can do something with it.

From my i9505 • CarHDRom v31.1 • Android KK 4.4.4 • using tapatalk
[Android Themes] cyberangel22k:
There's a screenshot attached at my post. But anyway, here's another where there's a SMS notification. Hope you can help me out. Thanks.:good:
[Android Themes] Ticklefish:
Ah...I didn't even spot that. My fault for not copying and pasting your xml into Notepad++ like I normally do. That'll teach me for trying to save some time...

I'm glad you got it working! :highfive:
[Android Themes] bobfrantic:
So has Samsung made it complicated to mod or what? Centering the clock was interesting but with thanks to Ticklefish that was done but more difficult that it should have been. Now a simple thing like removing the gradient from the status bar so it is totally transparent, is proving a bit more of a challenge than in JB. Have changed all the colours for system bar and status bar I can find in systemui xmls. I have also read where you need to change something like ro.lowmem to false in the build.prop. I don't have that in my build.prop lol go figure. So is there a tutorial for doing this in KK 4.4.2 around?

edit: solved :) make the status_background.9.png transparent in drawable-xxhdpi folder of systemui.apk. don't even need to decompile, just pull file from folder with 7zip or WinRAR and make the change then put it back. done didded. hehe
[Android Themes] lapius:
Hi, maybe someone can help me change theme of incoming call and during call? I want to make like in watch dogs. I recorded some footage how it should look like, I have some pics made, but I dont know how to do all this stuff.

https://www.youtube.com/watch?v=fu51RBrJeH0
[Android Themes] 3to4:
Brightness controler "Auto icon and text?

Hello,

Thanks to the information available in this excellent thread as well as in some other threads, I am trying to have a transparent pull-down for my N5120.

As far as the transparency is concerned, everything went well for the moment, but as N5120 had a white background for brightness controller, I would like to change the "Auto" icon and text. I have been searching in the decompiled SystemUI.apk since a few days, but I cannot find a solution. Can someone help?

1) How can I change the color of the text "0" (brightness level differential) and the text "Auto" to white, so that they are clearer on a dark background?

2) How can I change the "Auto" icons? I would like to make the center of the icons from white to transparent. I suppose there are two icons, one without a check mark and the other with a check mark.

I would really appreciate any hints. Thank you.
[Android Themes] Ticklefish:
I don't know if this will help since you're on a different rom to me but...

On my Xperia KitKat rom, the brightness bar is controlled by 'quick_settings_brightness_dialog.xml' in the layout folder of my SystemUI.apk.

If you've got Notepad++ on your PC, it's worth getting to search for the word 'brightness' in your entire decompiled SystemUI.apk. It might come up with what you're looking for..

---------- Post added at 03:58 PM ---------- Previous post was at 03:51 PM ----------

It really depends on your phone app. But I would start with decompiling that and comparing the image files with what you see on your phone.

Once you know what image files do what, you can start replacing them.

It'll take a while to get the result you want but, with perserverance, you'll get there eventually.
[Android Themes] 3to4:
Thank you very much. You gave me a very good idea, and I found what I am looking for in tw_status_bar_toggle_slider in res/layout-sw600dp-tvdpi.

I changed the color code in two positions, and then, the two texts are now white.

As for the white check box, I decided not to change the color of it, as it looks rather good between the two white texts.

Thank you again.
[Android Themes] arun483:
Do we need to sign apk?
[Android Themes] dhanmohan:
any video about theming system ui.. ?
[Android Themes] 3to4:
I don't know if we "need" to sign SystemUI.apk, but with 7 zip, I copy AndroidManifest.xml from the original apk to the recompiled apk (and zipalign it) and it works. I am doing this all the time.
[Android Themes] Ticklefish:
Android won't run an apk file unless it's signed and SystemUI.apk is no different.

But the modded apk must be signed the same way as the original.

-----------------------------------

Sent From Tapatalk

--------------------------------
[Android Themes] lacoursiere18:
Umm you sign system apps? Bc I know on touchwiz if you sign a system app that signature is different than other system apps therefore causing it crash..

Never used a nexus or pure android so maybe it differs from manufacture os' s
[Android Themes] Ticklefish:
I do, yes.

But I sign it with the original key (Android apps are signed with a key, not a signature. Don't ask me why....lol)

This is the 'META-INF' folder that's inside the apk. If you're using apktool 2, there's a switch in the command that uses the original key. If you're using apktool 1, you need to copy it across manually.

Or, if you're using Tickle My Android (like you should), just use the 'Recompile With Original Signature' option.

The only time you don't need to sign a system app is if you've got the Superuser mod (not to be confused with the superuser app). This disables the signature verification completely.

This isn't always a good idea as it does leave you more vulnerable to malware...
[Android Themes] lacoursiere18:
So if I understand you correctly.. Apktool has a option to save original key therefore making it possible to modify the Manifest? Is this for Sammy based apps as well?

I have personally never had any success with this^^ This usually results in the system app crashing on Sammy based Roms..therefore that is why I disabled sig checks
[Android Themes] Ticklefish:
Hmm...no, that's not quite what I meant. Apktool

2

has an option to retain the original key. According to https://code.google.com/p/android-apktool/wiki/MigrationInstructions:

After [d]ecode, there will be new folders (original / unknown) in the decoded apk folder.
- original/ = META-INF folder / AndroidManifest.xml, which are needed to retain the signature of APKs to prevent resigning. Used with -c / --copy-original on [b]uild.

But this won't work if you change the Manifest.

If you change the Manifest, the original key won't work and you'll have to sign with something else. And if you do, you have to sign every system apk with that new key.

Which is tedious.

That's why disabling signature checks is so handy.
[Android Themes] RPG720:
152

Dear god thank you so much. I was extremely confused, I thought I had deleted the original one from /system/app/ or accidentally moved it to /system/priv-app/. Good to know that /system/priv-app/ is where it should be present.
[Android Themes] nonaldenaro:
Goodmorning guys!

this is my first message, I'm italian. I have a Samsung Galaxy SII Plus with stock JB 4.2.2 rom.

Now I want to ask... Is there a way on the stock rom to COMPLETLY remove the toggles in the status bar?

I use a third party app for the quicksettings. I can not attach images at the moment, sorry!

Thank you guys!
[Android Themes] Ticklefish:
Yep. You just need to edit an XML file in the layout folder.

I don't know which file you'd need in Touchwiz but it can't be that hard to find. It should have a name like 'status_bar_expanded.xml' or similar.

Once you've got the right XML file, you need to find the line containing the toggles and hide it.
[Android Themes] nonaldenaro:
That's exactly what I'm doing!

But I can't really figure out what to change and how. Everything is connected to something else (e.g.: "@drawable...", "@dimen...", "@color..."), is that normal?

There is nothing about the toggles however, except for a "ToggleSlider" line. :rolleyes:
[Android Themes] Ticklefish:
Perfectly normal, yes. Can you share your xml please?
[Android Themes] nonaldenaro:
I can't use the "CODE" tag at the moment. May I simply copy/past?
[Android Themes] Ticklefish:
Ideally not, the spacing gets messed up. You can just write the code tags, btw.

[code]like this[/code]

Or just attach the file.
[Android Themes] Spannaa:
I've not tried this but I suspect the line you need to edit is this one:

<ViewStub android:id="@id/flip_settings_stub" android:layout="@layout/flip_settings" android:layout_width="fill_parent" android:layout_height="wrap_content" />

because res\layout\flip_settings.xml contains the QuickSettingPanel

Try adding android:visibility="gone"
[Android Themes] Ticklefish:
It does, yes. But I think Touchwiz ignores that in favour of Samsung's own toggle setup. If editing that line doesn't work, it's worth looking in 'status_bar_expanded_header.xml'.

Spanna, I changed your quote slightly. It seems that the 'php' tag messes up the spacing in the xda 2015 theme..weird..
[Android Themes] Vivek_Neel:
Yes.

Worth trying with flip_settings.xml .
[Android Themes] Ticklefish:
What did you change that line to?

Try:

<ViewStub android:visibility="gone" android:id="@id/flip_settings_stub" android:layout="@layout/flip_settings" android:layout_width="fill_parent" android:layout_height="wrap_content" />
[Android Themes] joehanh88:
yes..and also with the AndroidManifest.xml..

joehanh88 themed GT-I9070
[Android Themes] RogueCoyote:
Do you know how to remove the am/pm from the clock in the statusbar? Thank you.
[Android Themes] Koulis2000:
I guess you can't. You'll have to edit a smali file. You can't do it from inside the .xml as far as I know.

"<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ff959595" android:ellipsize="none" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" />"

This is the whole Clock thing that is shown in status bar. As you can see, there is no way to separate the "Hours and Minutes" from "AM/PM", so you can't really remove AM/PM without removing the whole clock.
[Android Themes] Vinyborges:
Hello,

Joehanh88, I use your GlowBEAN MOD like basis and make some changes for my only use, like the battery icon and the toggle icon style, but something is happening here and I don't know how fix.

Just like GlowBEAN, I have center clock on my S Advance, and when I have many icons at the right side of center clock (alarm icon, wifi icon, batt icon, 3G/2G icon, signal stats) and i conect to charger, the battery icon makes crazy and decreases a bit in size, getting minuscule! Do you know why this happens and how can I fix?

PS.: I like a lot your work with GlowBEAN MOD, it's clean and charming!

Thanks,

Vinyborges.
[Android Themes] joehanh88:
did you use my xml also? Or you create your own? If you use my xml, that problem you will not encounter since I've never faced that kind of problem before..

anyway, which glowbean did you used?

joehanh88 themed GT-I9070
[Android Themes] Vinyborges:
Hello Joehanh88,

Thanks for answer!

I use your GlowBean-BC-AOSP like basis and make some changes, using the icon of GlowBean-CV-Blue and batt icon of another member, but I don't touch xml. It's your xml of GlowBean-BC-AOSP thats is running.

What I can do?

Thanks,

Vinyborges.
[Android Themes] joehanh88:
I don't know tho..those mod that you have used both with the same xml..so,I didn't know about that glitch will happen..but I guess, yea, because of that centered clock it take the notification icon place of both side, right and left..I just edit for the left side, but I didn't look at the right side code.. that maybe the cause of that problem. I'm sorry,I might can't help you with that glitches..

joehanh88 themed GT-I9070
[Android Themes] Vinyborges:
Ok,

Thanks anyway, I'll try something.

Vinyborges.
[Android Themes] Madaditya:
Can someone help me mod a mdpi systemui to a hdpi one..

I have all the images ready to be replaced of hdmi size..

I tried just replacing the images in drawable-hdpi folder...

But them the system ui has hdpi icons and a mdpi status bar..which looked weird

Any idea of what xmls do I edit?

Also this mod

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

v8 Had a feature to show 'download speed'' in status bar...which is removed in the v9...

How do I get it back?

Any help would be nice

Juz be the smart Geek :cool:
[Android Themes] exg0zz:
mark

Sent from my dark room

ZTE GRAND X(U930)/CMCC

ICS4.0.3 mod by hrbrna

Tapatalk 2
[Android Themes] luiseteyo:
w o w. Very very good tutorial, This will be very useful for newbies. My suggestion? Use #2 to make a Settings theming tutorial, and how to add custom settings, advanced settings, etc. If u know how to theme systemui, settings and framework u know how to theme android ;)

Congratulations, VERY good thread.
[Android Themes] blackcoffeez:
Very usefull tuts... :thumbup: and thats was a very nice toggles on tuts 11 and 12.. would u mind if share the icon?? :D
[Android Themes] joehanh88:
Sure.. I will upload it soon when I got some time.. :)

joehanh88 themed GT-I9070
[Android Themes] Sami Kabir:
If you have the time, can you please make a similar How-To guide for Theming framework-res.apk??

Sent from my SGSA... If my post helped you in any way then please wish me Good Luck for my exams! :)
[Android Themes] arunbbr:
Can u plx upload the toggle icons on tutorial 11 and 12.??

They are beautiful and thanx for such a thread that could allow a newbie to do the stuff himself.
[Android Themes] blackcoffeez:
he will uploaded when he get a times..i already asked for it..just wait dude..
[Android Themes] joehanh88:
I'm sorry for being late response for all request.. due to my working schedule is awfully pack.. but i have promised to give the toggle and i will fulfil it.. maybe by tomorrow..

and sorry again..

joehanh88 themed GT-I9070
[Android Themes] joehanh88:
thanks for liking this thread..

yea, i will consider your request.

maybe i will wrote the tut for theming framework-res.apk for JB rom soon :)

but just the basic and simple tut.

:) :angel::angel::angel:
[Android Themes] joehanh88:
i have uploaded the toggles.

incase if you guys want it :)

please check OP #2

dont forget to hit thanks button and give me some credits as shown your appreciation will be just great :D:D:D
[Android Themes] :
Sir,

The example given by you is for TouchWiz....

will it be same for MTK6577 Devices as well....

cause we have Gemini Statusbar.xml & Statusbar.xml

And I tried edit both the file but nothing happened so I am Asking about this....

sorry for this noob question.....

And please sir Help Us for this as well....

If you need our framework files & services and systemUI files....

Its Here

Thanks A Ton in Advance Sir.....
[Android Themes] nonaldenaro:
That's exactly what I tried (adding android:visibility="gone" to the line). Nothing.

I also tried to delete everything from "android:visibility="gone"" to the slash "/". :D

But this removed completely the notification bar (with several errors.. definitely not the right way!) ;)

Now I try what happens editing the "FrameLayout" tags in "status_bar_expanded_header.xml". Then I try with "flip_settings.xml" :good:
[Android Themes] Spannaa:
It won't be in status_bar_expanded_header.xml - that's all the stuff above the toggles.

I'd say you've edited status_bar_expanded.xml correctly so it must be somewhere else...

You don't have a tw_status_bar_expanded.xml do you?

Samsung switched to using status_bar_expanded.xml between 4.1.2 & 4.3 but 4.2.2 may still use tw_status_bar_expanded.xml