yashsingh1/xdaforums huggingface dataset:
[Android Themes] PunchUp:
That's actually a bug in VTS. It doesn't display folder names completely. You need to do it using a file manager and then compile using VTS.

And yes that's what you need to do. Make a png with the same name. Experiment with the resolution till you get a satisfactory result
[Android Themes] Jumba:
Thanks, I managed to figure it out a while back. ;)

afaik this can only be done programatically. i.e. You'll need to create an app that displays a persistent notification icon. Can't be done via theming, unless there's a way to trick the system to display a png instead of the carrier label.
[Android Themes] vijer:
Okay, thanks, so would using Android Studio be a better choice?
[Android Themes] PunchUp:
If you're comfortable, then yes
[Android Themes] lordshasha:
How to bundle all apk after editing to make a single theme apk?

After editing all apks (framework, system, etc...)

how to compile them to make a theme apk?
[Android Themes] SourceT:
Sorry, I don't know why it was lost. Please check my reply again. Thanks
[Android Themes] Primokorn:
It's well explained here for Android Studio: https://github.com/cyngn/android_packages_themes_Template
[Android Themes] n78 shadow:
Please Help

Hi everybody

I have a little problem in my new theme,

It's with the font color near to the check box any idea how to theme it????
[Android Themes] tpayne2345:
Might be a dumb question, but how do you make a theme compatible with other devices? I created mine and tested on an LG G3 but I just learned that it won't install on a Nexus 6

help?
[Android Themes] shev100:
Is there a way to modify the status/notification bar width?
[Android Themes] matssa:
Hey all!

Thanks for the guide, it really helped me out in theming.

With CM12.1, you can almost theme everything, but there isn't anything on the resources used for the overlays. Does anyone know a website or a guide that indicates us what each res are for? There are a loooot of them, and I only seemed to determine a few of them...

Furthermore, in Virtous Ten Studio, it doesn't give me the app names, only com.android... So I can't really know if it is for the calculator, or the settings ^^ Does anyone know a fix?

Thanks!!
[Android Themes] afah_me:
Help

Excuse me sir, i have problem about stock dialer and contact background.

ex :

i want to change colors to xml or png

1. from colors.xml

ORIGINAL

<color name="contact_all_list_background_color">#ff123456</color>

EDITED

<color name="contact_all_list_background_color">@drawable/default_background</color>

>>>>>the result contact FC... :(

2. from styles.xml

ORIGINAL

<style name="PeopleTheme" parent="@android:style/Theme.Material.Light">

<item name="android:windowBackground">@color/background_primary</item>

<item name="contact_browser_background">@color/background_primary</item>

EDITED

<style name="PeopleTheme" parent="@android:style/Theme.Material.Light">

<item name="android:windowBackground">@drawable/default_background</item>

<item name="contact_browser_background">@drawable/default_background</item>

>>>>>the result background still white and no change... :(

is there another way to edit dialer and contact background??thank's...:good::good::good:
[Android Themes] |>/\nte:
Is there any chance we can use a custom background for a theme?
[Android Themes] ninadnehete:
How to change the toggle switch color

the one in settings in com.android.setting (wifi,bluetooth ).
[Android Themes] Kwee11:
I want to change the status bar icon spacing, both notification icons and system icons. Is it possible?
[Android Themes] larswaechter:
Check these in android/res/values/colors.xml

<color name="switch_thumb_normal_material_dark">YOUR_COLOR</color>
<color name="switch_thumb_normal_material_light">YOUR_COLOR</color>
<color name="switch_thumb_disabled_material_dark">YOUR_COLOR</color>
<color name="switch_thumb_disabled_material_light">YOUR_COLOR</color>
[Android Themes] ninadnehete:
Thanks a lot mate! I'll give it a try.

---------- Post added at 10:47 PM ---------- Previous post was at 10:13 PM ----------

:good::)Done.
[Android Themes] jbouchard4:
MIssing colors.xml

[MENTION=3605033]nicholaschum[/MENTION] I downloaded three different templates (The Git template, the gamma template and the beta template). There is no values folder in the beta and gamma, no colors.xml in the git one. also there is no assets folder in the git one... Can you please help me?

EDIT: Nevermind for the values folder.. I got them... still no colors.xml though
[Android Themes] nicholaschum:
Assets folder. Not res in the root of the apk
[Android Themes] jbouchard4:
Aahhh OK Thanks :)

Will you do a more advanced guide? ;)
[Android Themes] nicholaschum:
An advanced guide? You could follow Vivek's guide I linked in my OP, as he teaches you which values to change, and my guide was meant to be used in counterpart to his, so you could decompile and recompile with my guide and his guide assumes that you know how to do that already.
[Android Themes] jbouchard4:
Ok, I'll do that ;) Thanks
[Android Themes] Uchiha_Dev:
can I just take the entire code of the xml which I edited rather than add the lines which i edited (cause i have forgotten what I did)
[Android Themes] Uchiha_Dev:
virtous download server is down, I can't download it. Is there a way to compile the theme ? apktool cannot do it. It just destory's the theme and it wont install even after signing and the assets folder is gone
[Android Themes] BlackFoxy757:
Hi!

Plz make guide for CM13 Theme engine
[Android Themes] Lennoard:
I could avoid a couple build erros when importing.. .

Anyway I got, thanks for the starting help
[Android Themes] nicholaschum:
It's the same. Just need to update maxSdk to 23 in your AndroidManifest.xml

EDIT: updated the OP with instructions.
[Android Themes] nicholaschum:
As suspicious as this link/site looks: http://virtuous-ten-studio.software.informer.com/download/

It works, and it's what I had to use when I reinstalled VTS due to config corruption.
[Android Themes] Uchiha_Dev:
downloading :D
[Android Themes] Uchiha_Dev:
how to add a smali ?
[Android Themes] Msf107252:
Add it in smali folder under res with .smali extension
[Android Themes] Msf107252:
i want avengers theme for cm 12.1
[Android Themes] djdarkknight96:
Smali and layouts aren't supported and will never be.
[Android Themes] Uchiha_Dev:
thanks
[Android Themes] ryacurbak0617:
Help?

So does anyone know how to theme the right half of the brightness slider in the image below?? This is for CM13.
[Android Themes] larswaechter:
Check "scrubber_track_mtrl_alpha.9.png" in android/res/drawable-(xx)hdpi
[Android Themes] nicholaschum:
Attention all CM Themers. I really wonder why this hasn't be posted around yet....BUT!

http://review.cyanogenmod.org/#/c/122593/

This commits PREVENTS your theme from being uninstalled if a bad overlay has been detected. If you are having issues with an app reverting back to stock but your theme is installed, this is NORMAL behaviour.

This will settle some dumb "Failed to Install" notifications we keep getting from our users, but ALSO a very inconvenient change for us themers. MAKE SURE you look into your Logcat for overlay install failures "InstallTheme" log tag BEFORE DISTRIBUTING TO PLAY!

that is all.

good day.
[Android Themes] jbouchard4:
If I take a CM11 framework-res, will it be possible to make a CM11 theme (with a CM11 template)??
[Android Themes] nicholaschum:
Yep. Just make sure you work on the entirety of API v19 and don't use v21 and above on your phone from decompiled apps.
[Android Themes] jbouchard4:
Alright! :) Thanks man ;)
[Android Themes] Msf107252:
lol[\hide]
[Android Themes] dwikisurya:
okay, i think i gonna start learn this from now.

ty for guide, superb! :)
[Android Themes] Msf107252:
CLOSED
[Android Themes] theoneofgod:
*delete
[Android Themes] TorqueWrench001:
Hello @nicholaschum

I'm using your guide and VTS for awhile now. I have a modified theme I have been using on Lollipop cm 12 and cm 12.1 It has been working fine. I want to use it on Marshmallow cm 13. I have made the change to shown in post #9 to apktool.yml . I am using the latest Resurrection Remix rom.

minSdkVersion: '21'

targetSdkVersion: '21'

maxSdkVersion: '23' <-----this line did not exist I added it in.

When I click on build all/ push all, everything works as expected. The apk compiles properly and installs fine to my phone (One Plus One). I get a notification stating the theme has been installed. I go to Theme chooser the theme is there. I apply the theme and as the theme is applying.it stops part way System ui crashes and I get this notification.

"Theme reset. System theme restored due to multiple app crashes."

I'm not sure where to start to look for the problem. Can you point me in the right direction? Thank you.

Sean
[Android Themes] aadithpm:
Wonderful guide. Very comprehensive and expansive. Helped me start out easily. :good: :)

Thanks, man.
[Android Themes] nicholaschum:
You should check what is crashing, or you can PM me to diagnose your theme for you. This is usually when the Theme Engine detects multiple force closes in the background (if you hid FC dialog), then for safety precaution, it will turn the theme off.

If you would like to do it yourself, you should check what is force closing using Catlog/Matlog then fix it from there. Usually it's an XML file or a bad style.
[Android Themes] TorqueWrench001:
[MENTION=3605033]nicholaschum[/MENTION] Thank you for replying, and the advice. I'm sure you are very busy. I will dig in a bit to see if I can fix this myself. I am a novice, but have been at it since the eclair days. Learning bits and pieces trial and error.
[Android Themes] chankafai:
Do anyone know How to change the text field orange color in chrome or other browers??
[Android Themes] Thebear j koss:
It should be images in framework res. Unless those are useless now and they moved them to colors and tints.

Thebe@r'$ neXus
[Android Themes] nicholaschum:
What's the errors? Give me the exact full error you get from whatever you're using
[Android Themes] fritzcola:
So how do i do it manually?
[Android Themes] nicholaschum:
Use signapk
[Android Themes] fritzcola:
Can you give me a link to download?
[Android Themes] Dougi:
image attached

EDIT : i think it's not possible, it's compiled in a certain way , what you say ??
[Android Themes] Dougi:
apk's are automatically signed and zipaligned with VTS tool
[Android Themes] nicholaschum:
Hmm, if that's the correct framework-res from that ROM and you have picked the correct framework-res when compiling, it should be fine.

Other than that, have you tried navigating to that folder and deleting it?
[Android Themes] Dougi:
can't navigate to that , it does not exist :cyclops: :eek: :eek: , let me check another thing

found it , missing resources.arsc, into data folder ( build ) , easy fix , it's really weird how it's only with settings.apk of liquid smooth that it soes that

now Settings.apk is 43 mo :eek: :eek: :eek: manifest did not compress :eek: :eek:
[Android Themes] fritzcola:
So now framework installation works but it shows the error "Decompile resources failed"
[Android Themes] Dougi:
did you setup framework ?? correctly

did you add frameworktag ?? it's not an obligation depending on how you setup apktool ( C: folder )

this guide is really good , maybe try to read back all the steps
[Android Themes] nicholaschum:
Good that you got it fixed :)
[Android Themes] T-Rex:
[MENTION=3605033]nicholaschum[/MENTION] i made all the modification nedded now all i have to do is create the app using Android Studio

can you plz help me i have some great ideas for theming

here are some screenshot for the upcoming project
[Android Themes] nicholaschum:
Create the app using VTS, I'm not familiar with the latest Android Studio and it's not as fast as VTS anyways.
[Android Themes] T-Rex:
so i just have to practice with your tutorial and all be fine ?
[Android Themes] xdagee:
After reading the guide, I wanna find out where there is the possibility to change or theme the app drawer?

In your guide, I didn't hear you speak about fonts how do you add those, fonts, ringtones and alarms.
[Android Themes] nicholaschum:
Yes, thats what I wrote the tutorial for..haha
[Android Themes] Pneuma1985:
sorta wish you had shown how to structure the new cm12 theme inside of android studio or eclipse we all know you can take something someone else made in eclipse or studio and use the output in vts not that big of a deal. Wish someone would show what has changed in the theme build for cm12. Im starting on a cm12 theme today and I'd like to know what and if any publics need to be added i saw thoughtlesskyle added a bunch of publics, colors, and styles to his theme. Which im guessing is based off the cm11 theme template whether it be the original or great freedom which is essentially the template he made anyway just modified. Just wondering if you have built one from the ground up yet?
[Android Themes] CN@:
Hi Nicholas.

I know it's off the topic but I appreciate your help.

I want to theme the systemui.apk but there are still things that I don't know which value should I change in systemui. Apk in order to change the specified section color in picture below??
[Android Themes] OxygeenHD:
Is this guide is possible on Samsung Galaxy Y as he has a LDPI screen and i saw your theme templates, at the bottom of the page you only mention

Thanks :)
[Android Themes] pocholo36:
thanks so much for this thorough guide! can't wait to get started!:D
[Android Themes] larswaechter:
Hi, maybe someone can help me.

I'm getting the error that the default activity can not be found in AndroidStudio when I install the theme template. Any suggestions?﻿

EDIT: Works.
[Android Themes] Mahesh Kool:
im new

can i use the xml script from the temp on my build?
[Android Themes] nicholaschum:
AndroidManifest? Yeah, why not? You should also change the package identifier to something else if you are.
[Android Themes] Mahesh Kool:
thank you very much bro :)
[Android Themes] Holla_Boy:
Hi guys, where can I find the file that is responsible for the animation in the end of the list?

Firmware Official Cyan.Mod_13. Please any help
[Android Themes] nicholaschum:
It should be the action bar color, which automatically determines the overscroll glow.
[Android Themes] Holla_Boy:
Then how to do to adjust the transparency of the animation in the end of the list? :confused: :crying:
[Android Themes] Holla_Boy:
Any ideas?

System,Framework,jar,xml

To make "overscroll glow" opaque?
[Android Themes] djdarkknight96:
It's the colorEdgeEffect attribute in the main Theme.Material styles. Holo too!
[Android Themes] Holla_Boy:
If it is not difficult to describe in more detail. At least write this line of code, then I'll know what to do.
[Android Themes] djdarkknight96:
Go look in framework at it's styles and look for that attribute and learn how things work. Giving you the code exactly doesn't teach you anything. Finding it and using it in your theme to see the affects is the way to learn. Trial and error.
[Android Themes] Thebear j koss:
you indirectly told him where to look anyways... lol. that overscroll has been confusing for awhile. they still had images in framework yet they were directed to a color. plus i know on samsung devices there was another image that controlled how big your overscroll appeared.

Hail ?
[Android Themes] jbouchard4:
You say that we can't decompile your theme APKs, but could I decompile it to look at it and see what is possible to do? I am starting a theme and I would like to learn more about theming! I WON'T EVER KANG YOUR THEMES! I AM NOT THAT TYPE OF GUY!
[Android Themes] nicholaschum:
If you use it for educational purposes then it's fine. But if you're just copying code for code, drawable for drawable, then no.
[Android Themes] Thebear j koss:
You can do whatever you want but it comes down to is it the best way to learn? Not going to be learning really if you are just doing the same thing someone already did. It can be useful as a reference or to just see the structure, but starting small, and lots of trial and error, and asking questions when things go awry is the way to go. Nobody is going to say yeah just edit my theme, and change 5 color codes and say you made a theme. If you follow nicholas and the chummy team most of their work is open sourced and available to use but not for redistributing as a paid app. Kanging is never acceptable, not saying you will, but just saying there is stuff that would be a dead give away if you did, and you wouldn't be making many friends in the abdroid world. Lol. I would start by picking 1 app, an easy 1 like eleven music or Team Blackout's updater app is probably the easiest and work up to a full theme. Settings is relatively easy as well. Framework is the scary 1 since it contains most of the resources used by all other apps and it is the biggest app. Just my 2¢...

Thebe?r'$ NeXu$
[Android Themes] BlackFoxy757:
Please help!

How to enable Aruc support?
[Android Themes] larswaechter:
https://github.com/dchris87/Arcus-Support-Tutorial/wiki
[Android Themes] BlackFoxy757:
Thanks
[Android Themes] Tyrone936:
Thank you very much, Nicholas.

now give me my low quality wallpapers
[Android Themes] nicholaschum:
Um what?
[Android Themes] counterfeit187:
I'm having a hard time with changing qs colors. is it okay to change hex in colors.xml in systemui/res/drawables or do i need to use png files?
[Android Themes] Thebear j koss:
You can use colors,, but it will most likely be found in an xml in drawable folder or color folder since there is usually an on, an off, and a ripple effect so it would be a selector xml with a few states or a ripple layer xml like the switches in apps...

Thebe?r'$ NeXu$
[Android Themes] counterfeit187:
Previews for xml never work in Android studio? I always get failed to resolve [MENTION=3944923]drawab[/MENTION]le
[Android Themes] Thebear j koss:
I don't know, i have never used android studio. I have only themed for myself, so i am not certain how it handles creating a theme app. Sorry.

Thebe?r'$ NeXu$
[Android Themes] counterfeit187:
Does VTS show a preview for xml drawable files, or is there no way to see what they look like until you install the theme on your phone?
[Android Themes] nicholaschum:
When I'm free, I'll write up a section for Android Studio, I switched to Mac theming so I'll be adding those in too
[Android Themes] side:
i am trying to decompile a friend's theme and recompile it just to see if works on cm13 and i get error parsing package...

what i do:

lets say theme is called ''base''

apktool if framework-res.apk <--took from my ROM

apktool d base.apk

//edit the apktool.yml file and i added maxSdkVersion: '23'

apktool b base base.apk

it build the apk but when i try to install i get error while parsing package ,message

any ideas ? CM13 issue??
[Android Themes] Primokorn:
Didn't you sign it? I never changed the SDK version in this file though :)
[Android Themes] MrHellRider:
Where can we create our own drawable icon which we can use in our own theme and how can we make it
[Android Themes] Primokorn:
Are you asking for a recommendation of software? Gimp and Photoshop for jpg/png, Inkspace for vectors.

Vectors are stored into the drawable folder and jpg/png are mostly located into the drawable-resolution (e.g drawable-xxhdpi) folders.
[Android Themes] MrHellRider:
Thnx but how can we design them in that i want to know how we create a drawable
[Android Themes] Primokorn:
Well I guess you should search for tutorials through your favorite search engine.

A couple ressources to start to create icons:

http://bitdroid.de/Android-Material-Icon-Generator/

https://materialdesignicons.com/

In the G+ CMTE/Layers community, you can find guides to use Inkspace and to convert a .svg to a vector drawable.
[Android Themes] gamefreaksuraj:
Guyzz i am unable to name the framework tag , anthing i type dosent show
[Android Themes] djdarkknight96:
Framework tag? Elaborate so we know how to explain.
[Android Themes] nicholaschum:
You gotta install the framework first in VTS Settings

[MENTION=2126467]djdarkknight96[/MENTION] I think I should rewrite this for Android studio, hahahaha. AS is much lighter than it is before and I like it much MUCH better now.
[Android Themes] djdarkknight96:
Yeah I'm about to do the same.
[Android Themes] walletNinja:
i was trying to make theme with android studio but i keep getting error 'URI is not registered', i was just trying to change the colors that's all
[Android Themes] n78 shadow:
Provide a log please.

And when you're getting this error

.
[Android Themes] walletNinja:
nevermind, i fixed it thanks.

anyway i want to know can you theme a layout of an app? i mean like sometimes when i want to change font color, the color defined on the layout folder of the app instead of the values/colors.xml itself. i tried to include the layout xml where the color is defined but the app is crashed or not themed at all.
[Android Themes] n78 shadow:
I think yes it could be themed

Are you sure you made a layout folder

Lets take the settings for example:

For color.XML

Asset. >>. com.android.settings >> res. >> values >> colors.XML

But for about.XML

Asset. >>. com.android.settings >> res. >> layouts>>about.XML

Good luck
[Android Themes] djdarkknight96:
Guys layout theming is blocked, it will crash due to missing attributes. You'll have to work around it.
[Android Themes] walletNinja:
okay so how can i locate which xml i should edit? all i do right now is pick random color attributes based on their names and edit them but it takes too much time as i have to test it multiple times for each thing i want to theme
[Android Themes] djdarkknight96:
That's exactly how, looking at layouts too. Some can be in smali/java as well. It's a lot of trial and error so I make a test theme with just necessary packages then once it's good I move it to my main theme. Much faster testing that way.
[Android Themes] n78 shadow:
If you want the main necessary colors for all cm apps

Go here

http://xdaforums.com/android/themes/cm12-x-13-n-style-themes-t3381174

And download any color you want and decompile it and browse the asset folder every package contain the main colors (appbar_statusbar_left menu_...etc)

But to get rid from the android n-stule just delete the dimens.xml in "android' and " com.systemui.com"

Good luck don't forget to hit thanks ;)
[Android Themes] A08M31:
OK I did everything according to what you said and i got an error in step 4 and i couldn't add framework so i skipped to step 5 but whenever I try creating a new project I get stuck at the last part I mean I see the text field next to framework tag but I can't type anything in it (The other fields are OK)

THank YoU in advance:)
[Android Themes] misscandy:
You are really really great. I've never themed anything and today (in justo ONE day!) I reach to personalized my cm13 theme :D

I have (for now) just 3 questions:

1) In the apk I used as base there are livedisplay (auto, day, night) toggles but they're not shown when I apply the theme

2) There is no theme toggle. I've created it but I don't know what I have to do to make it appear in the panel

3) When I see Facebook app in the recent panel the bar (I don't know how it's called) it's not colored (I would it blue but it's grey). What I have to do?

Sorry for my English :(
[Android Themes] Thebear j koss:
T fb e toggle was most likely removed in the app you used as a base as the toggle messed with themes and the coloring of apps that are themed inside the app. Most themes have that toggle negated until google finds out if they will include a dark mode on android N. The image for recents in the recents panel in this case Facebook should either be in system ui if i remember correctly unless it is pulled from Facebook itself. Maybe someone knows a little better than I do.

Thebe?r'$ NeXu$