yashsingh1/xdaforums huggingface dataset:
[Android Themes] misscandy:
In the theme I used as base that bar was colored. The home page had a white background instead of gray so I've made some changes and the blue bar went away :( (so it's possible, I just don't know how)

Another thing, how can I decide the colors for a specific app? I mean I have, for example, a RSS app and I want to theme it (from zero). What I have to do?

I just want to set a couple of colors (primary and status bar), I don't think it's complicated (but, as I said, I began to do this kind of staff just yesterday. At least I'm familiar with html and css codes)
[Android Themes] Thebear j koss:
Most of the color changes are in values folders colors.xml titlebars are usually primary color and status bar and navbar would be primary color dark. If you go to google's android app design webs page they have the guidelines for app theming and what controls what. It isn't too hard. When in doubt, choose a color that will stand out like a neon green hex or pink so what you change will show up much easier for you to see and then you can go back and edit that Color to the hex you desire.. If you changed some colors already and it affected the recents page, whatever you changed also changed the recents page... As I said above best way to go about it is choose like 4 or 5 colors that you can recognize and make changes using those colors and see what each affects... A lot of stuff will be pulled from the common folder and android folder in the assets folder of the app.

Thebe?r'$ NeXu$
[Android Themes] misscandy:
I changed a file called stile (or something like that) located in Facebook folder (so not in the common color). Actually I couldn't change that white background so in a disperate way I deleted that file (infact the background turn grey ad standard but also the blue bar changed).

I know that wasn't a smart move xD I'll try again

For the app question, I have to create a folder (for example, in themes there's com.whatsapp, I have to create something like that?) in which write the code?
[Android Themes] misscandy:
Another thing (sorry). How can I change this text color (the blue one)? I've tried to search the color in the entire theme but I found it only in calculator and another app (calendar maybe).
[Android Themes] larswaechter:
You need to create a folder in "overlays" with the package name of the app.

For example: "com.whatsapp".

Inside this folder you create a "res" folder.

Here, you can create your values, drawable folders etc.

At the end you should have:

assets/overlays/com.whatsapp/res/...
[Android Themes] misscandy:
Thanks :)
[Android Themes] misscandy:
I can't theme a specific app :(

I've created the folder (assets/overlays/NAME/res/values/color.xml) but the colors don't change. Can someone write me an example? I hust want to change colorPrimary and colorPrimaryDark

I've followed this guide but nothing...

http://android-er.blogspot.it/2015/09/customize-color-for-your-app-for.html
[Android Themes] A08M31:
Hello can anyone tell me why I can't add my framework res even after creating my project and sth else you said after the decompiler error but it doesn't give any error it only shows a warning about framework res :(
[Android Themes] counterfeit187:
Should be named "colors.xml" you are missing the "S" in your description of the issue. Hope it's as simple as that.

---------- Post added at 08:54 PM ---------- Previous post was at 08:50 PM ----------

Anyone know the simplest way to change color of email subject text in notifications? I have dark bg and white notification text, but email subject line is dark :( only tested with notification from Gmail and Inbox.
[Android Themes] misscandy:
No I wrote colors, the error is only here on the forum
[Android Themes] counterfeit187:
Have <resources> and </resources> ? If yes maybe is a problem with duplicate color entries.
[Android Themes] misscandy:
Yes of course I do, as I said I follow that guide

What do you mean with duplicate color entries?
[Android Themes] Primokorn:
Check your log when installing the theme (tag "InstallTheme"). It may help to identify your issue.

About Live Display and Themes tiles, you also have to create your icons into a "cyanogenmod.platform" folder.
[Android Themes] counterfeit187:
I wondered why most the themes I try didn't mod those qs tiles
[Android Themes] Primokorn:
There are always exceptions lol
[Android Themes] counterfeit187:
There is no themes tile in the latest Cos13.1 so won't have to worry about that much for now
[Android Themes] pramodkumar1128:
how do i change color of quick toggles in notification drawer
[Android Themes] counterfeit187:
You need to edit the colors in the xml files in the drawables folder for com.android.systemui
[Android Themes] misscandy:
By installing you mean when I click "build all"? Because there's no "InstallTheme" tag

I thought I could just create colors.xml and styles.xml in overlay/NAMEAPP/res/values and writes the code but maybe I didn't do something...

At least these codes are correct?

COLORS.XML

<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="primary">#FFFF00</color>
<color name="primary_dark">#502020</color>
<color name="text_primary">#FF00ff00</color>
<color name="text_secondary">#FFff0000</color>
<color name="window_background">#000000</color>
<color name="nav_color">#505050</color>
</resources>

STYLES.XML

<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppTheme" parent="android:Theme.Material.Light">
<item name="android:colorPrimary">@color/primary</item>
<item name="android:colorPrimaryDark">@color/primary_dark</item>
<item name="android:textColorPrimary">@color/text_primary</item>
<item name="android:textColor">@color/text_secondary</item>
<item name="android:windowBackground">@color/window_background</item>
<item name="android:navigationBarColor">@color/nav_color</item>
</style>
</resources>
[Android Themes] Primokorn:
When you have built your apk and you install it on your device.

You forgot the level of transparency, e.g 100% black should be #ff000000.
[Android Themes] misscandy:
I fixed the level of transparency but nothing

When I install the theme on my device don't appear anything but when I load the project on VTS there are 2 errors
[Android Themes] Primokorn:
Did you try with Catlog or Matlog?

Try fixing these errors (or remove these package names to see if other overlays are working well.
[Android Themes] misscandy:
I tried those apps and nothing

What do you mean with "remove these package names"?

I post you the apk, maybe someone can help me :(

https://www.dropbox.com/s/y5grjvvcnsgiz8w/stile.apk?dl=0
[Android Themes] Primokorn:
There's obviously missing files in your package com.madsvyat.simplerssreader and com.whatsapp.

By removing them, you will see if other packages are correctly installed.

Sorry, I don't have time to decompile and check your errors (beginning of the weekend here :)). Good luck.
[Android Themes] misscandy:
Oh don't worry, i don't expect you to do it :)
[Android Themes] djdarkknight96:
What app? I installed without errors at all.
[Android Themes] misscandy:
i've tried to theme this app (com.madsvyat.simplerssreader)

https://play.google.com/store/apps/details?id=com.madsvyat.simplerssreader

but when i install the theme the colors never changes :( (as i've not even created the folder)

i used this app as example, i just wanted to understand how to theme specific apps (and not only the classic ones like dealer, downloads etc)
[Android Themes] djdarkknight96:
Ok, did you decompile the app to see the correct style to use? Platform.AppCompat.Light looks to be the main style not AppTheme. Also this looks like someone else's theme CiaoUI? Did they give you permission to use as a base?

The style structure is wrong too, you'll need to look in the original apps to see what I mean but it won't work unless you use the actual apps main style.
[Android Themes] misscandy:
Yes i've not create my own theme, i'm just trying to learn how to do it (i didn't want to publish it or anything). I'm going to delete it and create one of my own when I understand how to theme apps .

I had decompiled the app and copy all the colors and styles (trying to change colors to see if worked) but nothing. I really don't have idea what i have to do. I began to theme just a week ago :/
[Android Themes] djdarkknight96:
Ah gotcha!

The style you had wasn't inside the RSS app at all, try the style I mentioned and it will work...they don't use those colors you changed in that style. You'll still need to add nav bar attribute and possibly the colorPrimary attribute if they don't have them already...you can keep your colors and use them in that style. That should work...there's a ton of tutorials on xda to learn how styles work.
[Android Themes] misscandy:
Can you link me them? Or at least tell me in what section I have to go (i've tryied to search "styles tutorial" but i have too many wrong results)?
[Android Themes] djdarkknight96:
https://www.google.com/search?q=mat...ome-mobile&ie=UTF-8#q=android+material+styles
[Android Themes] tonysansone:
Hi guys! There is someone that know how to fix notification text color of genie widget application? Thanks of all and great thread here!
[Android Themes] Thebear j koss:
Does it change when changing the theme of the genie widget app from within the app? It has a dark mode built in which should also fix notifications I would think...

Thebe?r'$ NeXu$
[Android Themes] djdarkknight96:
You added the two colors in colors.xml with notification in the names? Story title and source I think is in their names.
[Android Themes] djdarkknight96:
Yep that's all I added and is white on all three lines
[Android Themes] tonysansone:
Thank you very much mate!

---------- Post added at 11:05 AM ---------- Previous post was at 10:41 AM ----------

You edited these string

from:

<color name="notification_story_title_color">#ffcccccc</color>

<color name="notification_promo_color">#ff4285f4</color>

<color name="notification_source_color">#ffa2a2a2</color>

to

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

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

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

in color.xml file in values folder

And in values-v21 folder I must to edit these string in colors.xml file

from:

<color name="notification_story_title_color">@android:color/black</color>

<color name="notification_source_color">@color/text_color_secondary_light</color>

to:

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

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

Is it correct mate?

---------- Post added at 11:25 AM ---------- Previous post was at 11:05 AM ----------

Thank you for your reply mate..but it doesn't work..I had already tried it. It would have been too simple..

---------- Post added at 12:07 PM ---------- Previous post was at 11:25 AM ----------

Do you know how to invert notification text color of ambient display? Which files i must to edit? Thanks for every reply guys!
[Android Themes] djdarkknight96:
Only need one set, it will work with just values. V21 is just specific to Android L + But if it's not defined it will default to just values.

No ambient cannot be touched! They were working on something but not sure what happened. We need a kill switch so themes don't interfere. Should be black with white text no matter the theme!
[Android Themes] misscandy:
I can't!! WHY?? :(

I've tried to follow tutorials but nothing...

STYLES

<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Platform.AppCompat.Light" parent="@android:style/Theme.Light">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
</resources>

COLORS

<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#ffD32F2F</color>
<color name="colorPrimaryDark">#ff4532F2F</color>
<color name="colorAccent">#ff8c2F2F</color>
</resources>

I've tried to search "Platform.AppCompat.Light" in the decompiled rss app but I find 4 results with different parents (and different attributes) and I don't know what I have to use (actually i probably tried all of them but still nothing...). That's what I've found in 4 different folders:

VALUES: <style name="Platform.AppCompat.Light" parent="@android:style/Theme.Light">
VALUES V-11: <style name="Platform.AppCompat.Light" parent="@style/Platform.V11.AppCompat.Light" />
VALUES V-14: <style name="Platform.AppCompat.Light" parent="@style/Platform.V14.AppCompat.Light" />
VALUES V-21: <style name="Platform.AppCompat.Light" parent="@android:style/Theme.Material.Light">

How can I understand what I have to use? I mean, not only for this app but also for others. I've understand the logic behind the style codes but I just can't change those colors...
[Android Themes] djdarkknight96:
Not all apps follow the rules...Facebook, whatsapp, telegram "don't even try it" and many others hard code stuff badly.

Find the colors first then see if they are in styles somewhere. Use a color picker app like...this one I use http://play.google.com/store/apps/details?id=com.ochs.pipette it takes color codes from screenshots. The sdk has monitor.bat that has a pixel perfect picker..it uses adb from your phone to see what's open giving you a preview of your phone on your pc...you can select the area and it will give you the color.

Otherwise it might be set in layouts too use a color in colors.xml. Theming non system apps requires a lot of trial and error to find out. I would have to try and theme the actual apk first to see where it's all located.

You only need the main styles going to theme Material "light" if they have multiple ones like you noticed. Only need one. If you add them all only the v21 will be used because android L+ uses it. Unless you're doing a kitkat theme no need.
[Android Themes] tonysansone:
Does Anyone knows how I can change the color of these icons? And in google dialer how I gotta do to change background color when search bar is activated and also how I gotta do to change highlight text color from white to color accent as well as the picture that I attached? In the end how I gotta do to change to dark this menu. Very very thanks in advance guys. You're the best :good:
[Android Themes] _moelle:
dialer bg on search is background_dialer_results, atleast its that one for aosp dialer but should be the same on googles variant. ( you mean windowbackground, right? not the color of search_input/actionbar?! )

that icons on notifications :

dont know it off hand but i could imagine its probably just controlnormal on the active style or one notifocation_icon color on fw res or systemUi , just check both colors.xml and perhaps drawables.xml
[Android Themes] tonysansone:
Thank you for your reply! I mean search bar color when it is activated.
[Android Themes] _moelle:
thats a tricky one...its actually a 9.png or drawable.xml ( just how u would create it, called rounded_corner ....check xhdpi/xxhdpi or drawable folder ...ah wait, no i guess rounded corner is just the search input shape .....i think its a 9.png called search_shadow.9.png ...should be aswell inside of that drawables folder ... sorry be on the run dunno everything off hand.
[Android Themes] tonysansone:
Thank you so much guy! I'll try it and let you know.
[Android Themes] tonysansone:
It was search_shadow.9.png.. I edited this png file with photoshop and it works. Thanks guy!
[Android Themes] BlackFoxy757:
CM Theme Engine support changed battery icon?
[Android Themes] larswaechter:
Yes
[Android Themes] tonysansone:
Is there someone that knows how change this menu from light to dark? Thanks in advance.
[Android Themes] djdarkknight96:
Play services, good luck with that. You invert it you'll see many issues. I say leave it! Rarely seen.
[Android Themes] tonysansone:
Hi guys.. Is there someone that knows how change these text colors in dialer.apk? Thanks in advance for every your replies!
[Android Themes] misscandy:
How do I change the colors of the texts I have highlighted in yellow? (I can't leave them white if you want to create a light panel)

How can I change the distance between toggles and the things I highlighted in green? I want to bring 4g and arrows closer to their toggle
[Android Themes] larswaechter:
For clock and date try these inside SystemUI styles:

<style name="TextAppearance.StatusBar.Clock" parent="@android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">14.0sp</item>
<item name="android:textColor">@*common:color/black</item>
<item name="android:fontFamily">sans-serif-medium</item>
</style>
<style name="TextAppearance.StatusBar.Expanded.Date" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">14.0sp</item>
<item name="android:textColor">@*common:color/black</item>
</style>
<style name="TextAppearance.StatusBar.Expanded.AboveDateTime" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">12.0sp</item>
<item name="android:textColor">@*common:color/black</item>
</style>

For battery color check this (SystemUI styles):

<color name="status_bar_battery_level_text_color">@*common:color/black</color>

Attention: This will change the battery color in the statusbar as well.

For settings icon check this (SystemUI drawable-xxhdpi):

ic_settings.png
[Android Themes] misscandy:
Thanks :)

And for the distances? Do you know what I have to edit? I think a padding but I don't know which one :(
[Android Themes] AtomR:
Hi there,

In real HEX code there are six digits, but the hex code in android XMLs has 8 digits. Why so? Which online site should I use to get these 8 digit hex codes? I tried colorhex.com, but i can enter only 6 digit codes there? Help needed.
[Android Themes] Primokorn:
level of transparency (2) + color code (6)

- 100% - FF

- 99% - FC

- 98% - FA

- 97% - F7

- 96% - F5

- 95% - F2

- 94% - F0

- 93% - ED

- 92% - EB

- 91% - E8

- 90% - E6

- 89% - E3

- 88% - E0

- 87% - DE

- 86% - DB

- 85% - D9

- 84% - D6

- 83% - D4

- 82% - D1

- 81% - CF

- 80% - CC

- 79% - C9

- 78% - C7

- 77% - C4

- 76% - C2

- 75% - BF

- 74% - BD

- 73% - BA

- 72% - B8

- 71% - B5

- 70% - B3

- 69% - B0

- 68% - AD

- 67% - AB

- 66% - A8

- 65% - A6

- 64% - A3

- 63% - A1

- 62% - 9E

- 61% - 9C

- 60% - 99

- 59% - 96

- 58% - 94

- 57% - 91

- 56% - 8F

- 55% - 8C

- 54% - 8A

- 53% - 87

- 52% - 85

- 51% - 82

- 50% - 80

- 49% - 7D

- 48% - 7A

- 47% - 78

- 46% - 75

- 45% - 73

- 44% - 70

- 43% - 6E

- 42% - 6B

- 41% - 69

- 40% - 66

- 39% - 63

- 38% - 61

- 37% - 5E

- 36% - 5C

- 35% - 59

- 34% - 57

- 33% - 54

- 32% - 52

- 31% - 4F

- 30% - 4D

- 29% - 4A

- 28% - 47

- 27% - 45

- 26% - 42

- 25% - 40

- 24% - 3D

- 23% - 3B

- 22% - 38

- 21% - 36

- 20% - 33

- 19% - 30

- 18% - 2E

- 17% - 2B

- 16% - 29

- 15% - 26

- 14% - 24

- 13% - 21

- 12% - 1F

- 11% - 1C

- 10% - 1A

- 9% - 17

- 8% - 14

- 7% - 12

- 6% - 0F

- 5% - 0D

- 4% - 0A

- 3% - 08

- 2% - 05

- 1% - 03

- 0% - 00
[Android Themes] AtomR:
Thank you very much, mate. You guys rock! :good:
[Android Themes] Primokorn:
Take a peek at my android folder to understand how it works.
[Android Themes] teodargent:
I'm trying to theme the dialog alert title and I want to use 2 different colors for the material and the material.light themes.

I used this code:

<style name="Theme.Material" parent="@android:style/Theme.Material" >
<item name="android:dialogTheme">@style/Theme.Material.Dialog</item>
<item name="android:alertDialogTheme">@style/Theme.Material.Dialog.Alert</item>
</style>
<style name="Theme.Material.Light" parent="@*android:style/Theme.Material.Light">
<item name="android:alertDialogTheme">@style/Theme.Material.Light.Dialog.Alert</item>
<item name="android:dialogTheme">@style/Theme.Material.Light.Dialog</item>
</style>
<!--Changing the material dialog title text appearance-->
<style name="Theme.Material.Dialog" parent="@android:style/ThemeOverlay.Material.Dialog">
<item name="android:windowTitleStyle">@style/Exo.DialogWindowTitle</item>
</style>
<style name="Theme.Material.Dialog.Alert" parent="@style/Theme.Material.Dialog">
<item name="windowMinWidthMajor">@dimen/dialog_min_width_major</item>
<item name="windowMinWidthMinor">@dimen/dialog_min_width_minor</item>
</style>
<style name="Exo.DialogWindowTitle" parent="@android:style/TextAppearance.Material">
<item name="android:textColor">@*common:color/exo_color_scheme_01</item>
<item name="android:textAllCaps">true</item>
<item name="android:letterSpacing">0.2</item>
<item name="android:textSize">13.0sp</item>
<item name="android:fontFamily">sans-serif</item>
<item name="android:textStyle">bold</item>
</style>

<!--Changing the light dialog title text appearance-->
<style name="ExoLight.DialogWindowTitle" parent="@style/Exo.DialogWindowTitle">
<item name="android:textColor">@*common:color/exo_color_scheme_04</item>
</style>
<style name="Theme.Material.Light.Dialog" parent="@android:style/ThemeOverlay.Material.Dialog">
<item name="android:windowTitleStyle">@style/ExoLight.DialogWindowTitle</item>
</style>
<style name="Theme.Material.Light.Dialog.Alert" parent="@style/Theme.Material.Light.Dialog">
<item name="windowMinWidthMajor">@dimen/dialog_min_width_major</item>
<item name="windowMinWidthMinor">@dimen/dialog_min_width_minor</item>-->
</style>

It works but it also makes the dialog smaller (see the attachments). Changing the "dialog_min_width_major/minor" values does not affect the dialogs size, the only thing that works is changing the "inset" value from 16.0 (default value) to 0.0 in drawables\dialog_background_material.xml. Can somebody please tell me what I am doing wrong?
[Android Themes] arindam4u:
Thank you so much for your help. I really appreciate it. :)

One more question, can you please point me the names for these two QS icons? (CM theme and Live Display)

View attachment 3807440

I have ic_livedisplay_auto, ic_livedisplay_day, ic_livedisplay_night, ic_livedisplay_outdoor, ic_livedisplay_off, ic_themes, ic_themes_off and ic_themes_on in my systemui drawable.

I am using CM13 Official latest Nightly while taken this SS.

Though when I was using CMTE supported another ROM it was showing custom icons which I made.

I guess it's due to the changes of CMTE app. I am not sure and also don't know why Live display QS icons isn't working. Can anyone help?

Thanks.
[Android Themes] djdarkknight96:
Yep

system/framework/org.cyanogenmod.platform-res.apk
[Android Themes] teodargent:
Solved:

<!--Changing the dialogs title text appearance-->
<!--Changing the material dialog title text appearance-->
<style name="Theme.Material.Dialog" parent="@android:style/Theme.Material.Dialog">
<item name="android:windowTitleStyle">@style/Exo.DialogWindowTitle</item>
</style>
<style name="Theme.Material.Dialog.Alert" parent="@android:style/Theme.Material.Dialog.Alert">
<item name="android:windowTitleStyle">@style/Exo.DialogWindowTitle</item>
</style>
<style name="Exo.DialogWindowTitle" parent="@android:style/TextAppearance.Material">
<item name="android:textColor">@*common:color/exo_color_scheme_01</item>
<item name="android:textAllCaps">true</item>
<item name="android:letterSpacing">0.2</item>
<item name="android:textSize">13.0sp</item>
<item name="android:fontFamily">sans-serif</item>
<item name="android:textStyle">bold</item>
</style>

<!--Changing the light dialog title text appearance-->
<style name="ExoLight.DialogWindowTitle" parent="@style/Exo.DialogWindowTitle">
<item name="android:textColor">@*common:color/exo_color_scheme_04</item>
</style>
<style name="Theme.Material.Light.Dialog" parent="@android:style/Theme.Material.Light.Dialog">
<item name="android:windowTitleStyle">@style/ExoLight.DialogWindowTitle</item>
</style>
<style name="Theme.Material.Light.Dialog.Alert" parent="@android:style/Theme.Material.Light.Dialog.Alert">
<item name="android:windowTitleStyle">@style/ExoLight.DialogWindowTitle</item>
</style>
[Android Themes] areyouanand:
Can anyone give me a temple for cm13 navigation bar only theme? And how to change theme/app name and author name?

I downloaded a navigation bar theme from playstore and modified it to my likings, but it was like stealing someone's hard work. Please help