yashsingh1/xdaforums huggingface dataset:
[Android Themes] rush25:
Bye bro :) Wish you success :)

Hope you return back :)
[Android Themes] 22sl22:
Wow, i'm sure you have your reasons but me and i'm sure a lot of other people will be sad to see you go :(

Can't even tell you the amount of times iv'e used one of your guides with a mod or something or just looking for general help.

I wish you all the best :good:
[Android Themes] Ben Folds:
Sad to see you leave...

Just wanted to say thank you, Enrico! I've used this thread several times for assistance and learning. You're a great and thorough teacher. Best of luck with all your future endeavors!
[Android Themes] upndwn4par:
Hi all,

I took over this thread since [MENTION=5266287]EnricoD[/MENTION] discontinued support. This thread is a great resource, so I didn't want to see it fall in to disrepair. I have been theming ROMs for years, but only started building CM themes a few months ago. But I think I've got a pretty good handle on things. Just published my first theme on Google Play this week. :)

I won't change any of EnricoD's content until it needs to be updated. I added post #6 for myself to include some new info (coming soon).
[Android Themes] :
whoo hooo ! many thanks :)
[Android Themes] upndwn4par:
:)

Sent from some device using XDA Premium mobile app
[Android Themes] 22sl22:
Hi,

Post number 8 guy here, nice to see youre the new caretaker :)

I'm probably gonna delete the contents of the post because I never updated it. There wasn't that much interest in the resources which is why it was never updated. I can PM someone to hand over the post if you want :good:
[Android Themes] upndwn4par:
I'll let you know if I need it. Thanks for the offer. :)
[Android Themes] pierx:
It is useful for look up ;)
[Android Themes] 22sl22:
Thanks :)

It looked like no one was using it which why it was stopped. After around a month when I was ready to update, I saw less than. 10 downloads for the files which told me not a lot of people use it. I was also told that resources can be found on git hub under ROM device trees if you look under certain apps such as framework res
[Android Themes] ianseer:
failed to install theme

hi there... nice thread here..

i'm trying to make themes from your tutorial...

but it seems something wrong

it installed to my device with no error i think. (already try via run project on eclipse and via apk manual installation) but after that it says : failed to install theme in notification. also i dont see my themes in cyanogen theme chooser.

in my logcat the only error are : com.google.android.gms Tag : ConfigFetchTask Text : Failed to build request, aborting config fetch.

any help would be great
[Android Themes] alonsoch:
Help?

Hi first, AWESOME GUIDE..

THANKS!

Second, some one can help me? really i dont know how change that color, i have searched, edited the colors.xml and always is the same color.. some one know how change that color? thanks
[Android Themes] hoppermi:
text_highlight_color in dialer.apk colors.xml
[Android Themes] alonsoch:
hi thanks!

i hope dont bother but i have 3 little problems...

i dont know where change this colors

purple= title background

blue=title

green= make this lines transparent

thank you!

:D
[Android Themes] Primokorn:
Purple: ab_solid_dark_holo.9.png from framework-res.apk

Blue: do not remember ^^

Green: list_divider_holo_dark & light from framework-res.apk I think
[Android Themes] pierx:
Just want to add to Primokorn

the blue part is Widget.TextView.ListSeparator in framework styles.xml
[Android Themes] alonsoch:
i cant change that color(blue section)...... can you send me the part of code? for some reason the codes that i write always give an error on android studio, for example im trying to use this and always had an error when im trying to install the theme:

<style name="Widget.TextView.ListSeparator">
<item name="android:background">#4d000000</item>
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">30dip</item>
<item name="android:textStyle">bold</item>
<item name="android:textColor">#ff1f1f1f</item>
<item name="android:textSize">14sp</item>
<item name="android:gravity">center_vertical</item>
</style>
<style name="Widget.Holo.TextView.ListSeparator" parent="Widget.TextView.ListSeparator">
<item name="android:background">@drawable/list_section_divider_holo_dark</item>
<item name="android:textAllCaps">false</item>
<item name="android:textColor">#ffadadad</item>
<item name="android:textSize">14sp</item>
<item name="android:textStyle">bold</item>
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">30dip</item>
<item name="android:gravity">center_vertical</item>
</style>
<style name="Widget.Holo.TextView.Light.ListSeparator" parent="Widget.TextView.ListSeparator">
<item name="android:background">@drawable/list_section_divider_holo_light</item>
<item name="android:textAllCaps">false</item>
<item name="android:textColor">#ff1f1f1f</item>
<item name="android:textSize">14sp</item>
<item name="android:textStyle">bold</item>
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">30dip</item>
<item name="android:gravity">center_vertical</item>
</style>

source=ChocoUI
[Android Themes] hoppermi:
Without going over it with a fine toothed comb, make sure everything that is referenced is included in your theme. Catlog (play store) is a great app for getting logcat right on your device. It will show you your errors.
[Android Themes] alonsoch:
Change battery color Quick Buttons

Hi!

Some one know how to change the battery color in the quick buttons, i mean i want change the white color for another color.....

thanks..
[Android Themes] Primokorn:
It can be colored via colors.xml from systemUI.apk

There are several lines to modify (full, charge, frame...) FYI PA rom uses different codes.
[Android Themes] alonsoch:
Thanks i have successfully change the color in CM

do you know what is the code for PA?

Btw in the dialer, in CM, the color for the highlight can be changed using this code(assets\overlays\com.android.dialer\res\values\colors.xml):

<color name="text_highlight_color">#ffcf1e24</color>

but in PA the same code don't work, and i still looking where find the code for PA.. do you know what code is? or where can find that information?

thanks and sorry for my bad english
[Android Themes] Primokorn:
Here is what I use:

<color name="sb_batterymeter_frame_color">#663ba33b</color>
<color name="sb_batterymeter_charge_color">#ff3ba33b</color>
<color name="sb_batterymeter_bolt_color">#ff78b937</color>
<color name="sb_batterymeter_critical">#ffe68585</color>
<color name="sb_batterymeter_low">#ffe6cc85</color>
<color name="sb_batterymeter_full">#ff3ba33b</color>
<color name="sb_batterymeter_circle_bg">#6694d673</color>
<color name="sb_batterymeter_circle_fg">#ff94d673</color>
<color name="sb_batterymeter_circle_text">#ff94d673</color>
<color name="sb_batterymeter_circle_text_charging">#ff94d673</color>

Nope.
[Android Themes] alonsoch:
THANKS

Hi!

I need to say, THANKS

In this thread i have learned a lot, thanks to all the users that help me :D

I have finish my first themes

BlueMerry

GreenRadioactive

I will upload a free version soon :D i need to give back something to the community :D
[Android Themes] sukhraj.mahal:
Trouble Changing Colours

Hi, First of all I just want to say this guide is amazing and thanks for making it.

Im having trouble with changing the colours of my theme and im a noob at android coding so could someone help me out please.

I am trying to change the colours of the notification area and I have followed the code which is given in the example: QS tile background, I follow the steps (multiple time afresh) but when I install my theme it does not change the colour of the QS tiles at all. I even reboot the phone (as this as helped with loading other ui parts) but still no luck.

Thanks in advance
[Android Themes] upndwn4par:
The theme engine is up and running on CM 12. :)

https://plus.google.com/u/0/communities/102878569352950531397
[Android Themes] ANKIT RAWAT:
Same guide for CM12 themes? or make a new section for CM12 guide.

REGARDS

SMARTY

Sent from Advance Chitti Robot.
[Android Themes] upndwn4par:
Don't know yet. I only just switched back to CM (from AOSP) now that the theme engine is back. I haven't built a theme for CM12 yet.

I would guess that there shouldn't be any major changes since the theme engine is essentially the same. But, CM is doing some things that don't make much sense to me from a theming perspective. For example, they are using vector drawables instead of PNGs for a lot of things. That makes it easy to change colors, but not to modify the appearance of the icon.This should be relatively easy to fix, but will require extra work. Here's an example where they delete the PNGs and replace with vector drawable xmls:

https://github.com/CyanogenMod/andr...mmit/6ee903388374eed4a518d63cd8b7171bb8df9093
[Android Themes] MJPollard:
Probably following Google's lead; in their infinite wisdom, they replaced the wi-fi and signal icons with vector drawables on Lollipop. It's disappointing that CM is going down that same road, taking away options to customize its appearance the way we want them (I'm hoping that CM does expand on this, rather than forcing us all into the same mold).
[Android Themes] upndwn4par:
I understand Google going with vector drawables. It makes sense.

I don't understand CM doing it. Why spend countless hours developing and maintaining a theme engine, then make the ROM less themable?
[Android Themes] ANKIT RAWAT:
It seems New CM 12 will have vector drawables. Is It benificial for us?
[Android Themes] CyberScopes:
Candy5 is currently reverting vector changes and using png for some framework, this is much more ideal for theming. Its quite stupid to use vector images and add theme engine, they both contradict.
[Android Themes] Ask4Android:
Increase Icons Size

Hi all

anybody know how to increase settings side icons size?

i have added large size icons but no luck, i am creating a theme for CM12.
[Android Themes] hoppermi:
dashboard_tile_image_size in com.android.settings/res/values/dimens.xml looks promising
[Android Themes] Ask4Android:
Thanks, it's working for me.
[Android Themes] Arshid Vinod:
Hey guys,

Can anyone tell me how to change the color of the status bar in ceratin apps using xml.
[Android Themes] hoppermi:
Most material apps use primary_color_dark for status bar. You can find it in colors.xml
[Android Themes] Arshid Vinod:
Well, thanks for the reply. But thats not exactly what i'm looking for.

For instance, I want to color the status bar blue in the contacts app.

I know this can be done by making changes in the styles.xml but don't know how!
[Android Themes] hoppermi:
<item name="android:statusBarColor">#xxxxxxxx</item>. Add to the main app style
[Android Themes] Arshid Vinod:
This is what I get. #attached(1)

My code in the STYLES.XML #attached(2)
[Android Themes] hoppermi:
You need to get a detailed logcat. One that shows the aapt error. How experienced are you at using styles in cm themes?
[Android Themes] Arshid Vinod:
I'm new here! Learned everything from guides like this.

I've got the logcat. what to do now??
[Android Themes] hoppermi:
Turn on USB debugging, install Catlog from play store to get easy log and try and install again. You should be able to scroll up the log to find the error. You probably have unsupported attributes in the style. Theme engine will pull what it needs from original apk, so only include the items you are changing, in this case the one I gave you. If it still errors screen shot the error and post it here
[Android Themes] Arshid Vinod:
Here is the screenshot of the logcat!

Edit: I found the error but can't figure out how to fix it.

"No resource found that matches the given name:attr'android:statusbarcolor' "
[Android Themes] hoppermi:
There are no errors on that screen. The errors have a red box with an E in it. Search for aapt

---------- Post added at 10:18 PM ---------- Previous post was at 10:15 PM ----------

I have to go to sleep. Pastbin your styles.xml and link it here and I will look at it in the morning
[Android Themes] hoppermi:
https://developer.android.com/training/material/theme.html There are some great guides on the android developer website dealing with styles. this is one that shows how to use styles to change status bar.

Also, xml is case sensitive. Make sure you are using capital letters in the right spots
[Android Themes] larswaechter:
Hi guys, I'm getting one problem while compiling my theme.

Everything works fine, until I place the "colors.xml" file in: "\src\main\assets\overlays\android\res\values\styles.xml".

Log is attached because it has to many letters.

Thanks in advance. :)
[Android Themes] kushpancake:
new icons?!

Does anybody know how I can possibly add an icon to my statusbar? I don't necessarily need it to function... I just want to put a png up there on the far left side. I'm using a nexus 6 running DU 5.1.1 CM TE.

thanks in advance!
[Android Themes] Suarezian:
Hi. In the first post for windows installing, in step 2 , it says download Eclipse ADT. But the link beside it is for Android studio. What should I download?
[Android Themes] hoppermi:
Android studio. Eclipse is deprecated.
[Android Themes] vaib:
Hi

I followed the method for CM13...The theme got compiled and installed successfully but I don't see it in the themes section in the settings.

Help please.

Thanks
[Android Themes] hoppermi:
Look under styles in the menu, You need to have certain components included to be considered a full theme
[Android Themes] vaib:
What components? For testing, I just built the template.

What do I need to add?

And I don't see anything in the styles even. Only the system default theme is shown there.

Even the wallpaper is not shown there. Wallpaper is there in the template theme.

--

Edit:

It's working now :) I can see the wallpaper and lockscreen wallpaper.

And as you said, I will not see it in the theme because it does not contain all elements.
[Android Themes] hoppermi:
Then something isn't right.
[Android Themes] :
Thanks.. I'm working on more visual examples, i will add xml snippets and explain one of my themes :)
[Android Themes] Kishan14:
wow mahn well written.... gonna try this soon... appreciation to your hardwork :good:
[Android Themes] HellPie:
Cool guide bro. Will take a look. Also I'm italian too! ;)

Sent from my Motorola Moto G
[Android Themes] :
I added more visual examples and the dialer example also.

Will add keyboard and more xmls (colors.xml, styles, drawables) example for a basic theme next days :)
[Android Themes] HellPie:
Will it be possible to do it FROM Android? Maybe with AIDE?

Sent from my Motorola Moto G
[Android Themes] Shlikstr:
Amazing guide man! Subscribed! Waiting for moar!! :D
[Android Themes] Koulis2000:
If I have time to make one I'll let you know. :good: It's gonna be really helpful.
[Android Themes] Devil Trigger:
thank you man, i need a tut for xml files :D

can i ask you a question?

i've a problem with notification panel:

How can i delete the shadow behinde the clock and the icons?

I don't know if in this topic i can ask support, if not i will edit the post :)
[Android Themes] hoppermi:
ic_notify_btn_BG.XML in drawable folder is the one that needs your attention
[Android Themes] zazzaixx:
Hi, how can I change size of quick setting tiles like this? :D
[Android Themes] Shlikstr:
Hi guys,

I'm following this guide to set up the environment to theme but I'm facing a ¿noob? problem...:rolleyes:

When editing the bash, I add the two paths but when I type "fastboot" it says "The program 'fastboot' is currently not installed. You can install it by typing: sudo apt-get install android-tools-fastboot"

Should ADB and fastboot be already installed before editing bash? Am I missing something?

Greetings!
[Android Themes] hoppermi:
Anytime you are looking to change the size of something, if it is possible, you will find in dimens.XML or styles.XML for that app. In this case, systemui.apk.
[Android Themes] :
open another terminal and try again :)
[Android Themes] Shlikstr:
I tried 3 times, no luck. Keeps saying the same...:(

Any idea?
[Android Themes] :
adb and fastboot are inside sdk package.

be sure to modify the .bashrc in Your Home and set the right path ...

can you post your .basrhrc here?

be sure also to install platform-tools from the sdk manager when you update them :)

platform-tools contain adb/fastboot :)
[Android Themes] Devil Trigger:
Thank you man :laugh:
[Android Themes] Shlikstr:
Here they go. I think everything is fine but I dunno...
[Android Themes] :
strange... everything is ok.

Try to log off from this session and start new one (log in)

if fastboot won't work then install android-tools from ppa

sudo add-apt-repository ppa:nilarimogard/webupd8

sudo apt-get update

sudo apt-get install android-tools-adb android-tools-fastboot
[Android Themes] :
SystemUI

dimens.xml

<!-- Quick Settings tile geometry: icon size -->

<dimen name="qs_tile_icon_size">32dp</dimen>

https://github.com/CyanogenMod/andr...-11.0/packages/SystemUI/res/values/dimens.xml

:)
[Android Themes] Shlikstr:
Yup! that worked! :D

No idea why don't the other way...

Greetings!
[Android Themes] :
can you post colors and drawables.xmls here?? maybe you added trasparency to some red value and it looks darker because of the background :)
[Android Themes] :
from android???

I don't know what aide is :)
[Android Themes] SwissAndroidX:
Thanks for this HOW TO. I just started to theme :)

I made my own bootanimation, replaced the wallpaper and some stuff.

But for example how can i change the background of quicksettings, settings?

Thanks!
[Android Themes] :
Systemui :)search in thread #4 for status bar background, and #5 for tiles background
[Android Themes] SwissAndroidX:
Didn't find something about bar background or tiles background :(
[Android Themes] Devil Trigger:
i needed only an xml file in drawable folder, a member helped me few post before this :)

for tiles background you need qs_tile_background.xml in drawable folder in systemUI

i found this code in some other theme, so you must only change color code

and for bar bg there is a 9.png file called notification_header_bg.9.png in drawable-xxhdpi (or xhdpi, ecc) in systemUI
[Android Themes] jarjar124:
So I'm playing with the toggles and I ran into this. How do I fix this?
[Android Themes] hoppermi:
Looks like you are stretching the whole image. The black lines on left and top indicate what part of image gets stretched.
[Android Themes] bariz143:
Hi guys, New to theming.

I have set everything up correctly and everything works.

But where do i start?

I cant find framework or systemui or anything on my theme that i created with this tutorial?
[Android Themes] jarjar124:
Yeah I know. That's why I'm asking. Also how do you remove the on and off text?

One last thing, how do you theme the status header like how Carlo did with his objects theme like this
[Android Themes] HellPie:
[MENTION=5266287]EnricoD[/MENTION] : AIDE is an IDE with a "full" SDK and NDK port to ARM and it is an App that works on Android. Will make a full CM11's Theme be possible with this apl, directly from my own device?

Sent from my Motorola Moto G
[Android Themes] :
I added instructions to remove on off text :)
[Android Themes] :
I don't know :) try :)
[Android Themes] :
You can edit the template inside the workspace folder

In windows is inside

C:\Users\Administrator

Create a link to desktop (send to desktop)

In linux is inside your home :)
[Android Themes] Devil Trigger:
I've another problem :/

when i try to edit the ic_settings icon, they become invisible and i don't know why. And every change that i make to edit dimens.xml file to change the distance form left border does make anything
[Android Themes] hoppermi:
On off is in framework- res styles. For the notification header, systemui notification_header_bg.9.png
[Android Themes] :
can you post all the changes you do? :)
[Android Themes] Devil Trigger:
for icon i replaced the standard ic_setting_*.png

for dimens i change something randomly, because i don't know what the voices really mean. I want only move text a little bit from the left to the center, and add more space between top text and action bar
[Android Themes] :
try to select the package in Eclipse and sync your workspace (press f5), clean and build the workspace, then try to run

i'll try for myself and will post a solution here, if any :)
[Android Themes] Devil Trigger:
also whatsapp colors doesn't make changes :/

i tried to refresh and clean project, but it does change anything :(
[Android Themes] jarjar124:
So once in awhile I run into a launch error and when I check the logcat it says jarjar.tru.apk@common/resources.apk not found.

The thing is once in awhile it works fine then it goes back to this error. Any reason why?
[Android Themes] SwissAndroidX:
When i set the new template theme, some apps or setting crashes. Does anyone know this problem?

I just changed the icons.
[Android Themes] Devil Trigger:
It happens also to me, i wiped cache/dalvick and after it works...
[Android Themes] SwissAndroidX:
I did that also but with no effect :(
[Android Themes] zazzaixx:
[MENTION=5266287]EnricoD[/MENTION]: hi, I tried edited size of quick setting tiles thanks for your help. After edited, I have a space as screenshot, how can I resolve it? :rolleyes:
[Android Themes] bariz143:
Yeah i got this to when using the cm11 template with some custom colors. Whats with the transparency here?

Do i need to do something?
[Android Themes] :
it's because the official cyanogenmod template contains ~50 broken .9.pngs inside framework (the markers at the corners should not be themed) :)

use the resources You find here, it's a collection of stock cm11, pa, aokp resources :)

http://xdaforums.com/showpost.php?p=53439701&postcount=38

the dialog png is

dialog_full_holo_dark.9.png

just replace the icons inside the template with the stock ones :)

Next days I will upload a template on my git with the same resources but the stock ones :)
[Android Themes] Hid3rs:
First of all, thanks for this awesome guide!

It helped me a lot, but there are a couple things I just can't figure out.

I want to change the following things - see attached screenshots -:

(1) Settings background color

(2) Text color

(3) Header (?) text color

(4) Background color (it's not that important actually)

(6) Volume control background color

Unfortunately, I don't even know which .apks contain these codes, which xmls I should edit.

If you - or anyone - happen to know how I could change those things that would be great.

Once again, thanks for the guide!
[Android Themes] :
you find everything except the text color here

http://xdaforums.com/showpost.php?p=54095303&postcount=4

framework

(3) Actionbars

(6) Dialogs

http://xdaforums.com/showpost.php?p=54095307&postcount=5

framework

(1)(4)

THE FRAMEWORK BACKGROUND FOR DARK/LIGHT LAYOUTS

the text color i don't know how to change it selectively, because its style is shared by other resources and it will look bad
[Android Themes] bariz143:
You are the king. I almost gave up hope man. So i downloaded PA resources how do start it with eclipse? :)
[Android Themes] Devil Trigger:
It happens to me not with 9.png, but with normal ones (.png)
[Android Themes] :
replace the broken resources inside the workspace, select the package in eclipse and sync (press F5), then clean, build the workspace and run :)
[Android Themes] bariz143:
Eagerly waiting to get home: P
[Android Themes] error404:
Hey guys, someone knows why this happens? A column between the calculator lines. I want to make it flat. I attach the screenshot.