yashsingh1/xdaforums huggingface dataset:
[Android Themes] larswaechter:
com.android.systemui/res/drawable.xxhdpi:

ic_sysbar_back.png
ic_sysbar_home.png
ic_sysbar_recent.png

You can change your theme name in AndroidManifest.xml
[Android Themes] areyouanand:
I did png stuff, now this is what I see in androidmainfest.xml

"��4Rv�������:>P���4Hdz��>X versionCode versionName

minSdkVersiontargetSdkVersionnamerequiredvaluehasCodeiconlabelandroid*http://schemas.android.com/apk/res/...dk.androidNnavbar1.323 6.0-2704002uses-sdk uses-feature	N Nav Bar	meta-dataorg.cyanogenmod.theme.nameorg.cyanogenmod.theme.authororg.cyanogenmod.theme.email applicationAndroid N Nav Bar�0 p�$ ����

��������� ���� ����

��������L�������� ���� ������������L��������  ������������L��������  ���� ��������L!��������  ����#��������L$��������  ����&��������`(��������	 ���� ����+��������-��������-����"
[Android Themes] larswaechter:
Is this the Manifest.xml of a unzipped APK?

Take the CMTE Template and modify its AndroidManifest.xml
[Android Themes] areyouanand:
Finally was able to change theme name and other things, where to change app version? And make the download theme look completely mine.. I changed app icon, name,author name, anything else there to Change?
[Android Themes] larswaechter:
The easiest way is to take the CMTE template and not to take another apk and modify it.

You can change the app version in build.grade file.
[Android Themes] teodargent:
I changed the corner radius to 30dp in systemui/drawable/btn_borderless_rect and now I have this bug (see attachment)View attachment 3828264

Inviato dal mio GT-I9300 utilizzando Tapatalk
[Android Themes] schluger:
Can someone tell me what I need to change. I must have messed up one of the .9.pngs but I'm not sure which one. This is happening when I'm on a call. Thank you so much for the help.[emoji3]

View attachment 3835113

SusieQ
[Android Themes] arindam4u:
Is there any way we can increase battery width using CM13? changing "battery_icon_width" in dimens.xml of SystemUI will not effect anything.

Also increasing android:width and android:viewportWidth in ic_battery xml files just stretching the battery image into its default width and height (which I think is a square size).

I want to make the battery wider than its height.

Please help. Thank you.

There is a file in res\layout\system_icons.xml of SystemUI where I can find a code as follows:

<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="18.0dip" android:layout_height="18.0dip" android:layout_marginBottom="@dimen/battery_margin_bottom" android:layout_marginStart="@dimen/signal_cluster_battery_padding" />

Can we change it via a CM13? Will it effect the battery width?
[Android Themes] nicholaschum:
If your phone has drawable-ldpi in the CM12 ROM sure.
[Android Themes] simbilli:
I have a big problem that I couldnt resolve yet.

When I add overlay and apply from theme chooser I am getting a lot force closes (sometimes systemUI crashes makes me need to wipe cache). Even I just modify a .png file or an xml file. But when I add your overlays It works fine. I tried icons and it worked. It just happens when I try to add file to overlays. Please help

Thanks in advance
[Android Themes] Ndroid.87:
Good! I want To learn

I want to try this. But I need windows right ? I have a ChromeBook:confused:
[Android Themes] nicholaschum:
Have you rebooted and cleared recents bar?

That's required.
[Android Themes] Green-Bot:
Thank you so much for your guide :)

I am all new to theming world. I want to make a theme for CM12 based ROM & a personoal Boot Animation. If i follow your guide, would i be able to create a new theme(with my own wallpapers) and a personal image/graphics based boot animation?
[Android Themes] nicholaschum:
Yup!
[Android Themes] nicholaschum:
Check [MENTION=5022494]Vivek_Neel[/MENTION]'s guide for specific aspects of theming. It's useful to grab and see what other users find.

It's in my OP.
[Android Themes] nadejo:
I tried so hard and came so far but at the end it didnt even matter :/

I got a theme now with my own Name and own APP icon but its not black in the settings and not transparent. I used your template and only changed the app icon, Name and every colour that is background related i did set an alpha of 20% why its not working
[Android Themes] Green-Bot:
In Step 0, you say that if i want to start a new template i have to work with Gradle, which will take lot of time. Its also hard for me as i am a complete newbie.

If i use your alpha template, its already modified in dark theme. I want to use a template based 100% on stock CM12. Can you tell me how should i create it? How should i proceed? Sorry for asking silly questions but please guide me.
[Android Themes] Dougi:
it's not really fixed as setting.apk is 43mo instead of 20mo ( size ) , drive me crazy
[Android Themes] simbilli:
Its not working. Let me understand am I doing it right

- I am preparing overlays from other system app resources from github

- Copying what files I will modify

- Modifying

- Recompiling from apkstudio (I dont think the problem is apkstudio)

- And systemUI crashes
[Android Themes] _moelle:
is there any way to get the text color of contact-list in contacts.apk changed? - so i can use a dark bg on it?
[Android Themes] Negan:
So I've run into a very interesting problem. I compiled my theme in eclipse which will sign it and zipalign it properly since play store is fussy about both.

I install it and initially it says it's installed. Then about 5 seconds after it confirms it's installed I get a notification telling me the theme was actually not installed.

Anyone experienced this one yet?
[Android Themes] simbilli:
Obciviously your theme has a problem. You need to figure it out from logcat
[Android Themes] fritzcola:
I have a question1 If i want to theme settings for example can i decomplie a settings apk and put values/color and styles xml and drwable (other drawable folder) in assets/overlay and then create the folder com.android.settings?
[Android Themes] DaiMinzz:
Me too, i want to install my theme and get "Failed to install theme"

[IMG="screenie"]http://i.imgur.com/OEETTML.png[/IMG]

btw how to theme settings? what .XML i need to edit?

EDIT: got it fixed, but i dont understand the whole decompiling thing, how do i decompile ?

I read http://xdaforums.com/showpost.php?p=58219169&postcount=3

but when i put the decompiled folders in Theme\Data\assets\overlays my theme wont install like shown on screenshot
[Android Themes] brolic925t:
Hey do you know what controls the "android is upgrading " popup? In a regular flashable theme not cm12. Sorry I just need help
[Android Themes] Negan:
When I figure out my error I will help you guys out. Gotta find the error first. One thing some people don't realize is that cm themes are technically compile during install which is why you don't get errors building the apk.

I'm guessing I have a .9 to fix or I've added something not yet supported by theme chooser
[Android Themes] nicholaschum:
I'm sorry I can't think of it right now. My mind is boggled up with Theme Engine problems, really, ask in that thread, you're more likely to get an answer there because people are still making flashables there.
[Android Themes] Negan:
That is generally caused by edits in framework or your updater script needs an adjustment
[Android Themes] nicholaschum:
I have a post in the OP page for errors and such. Just need to check catlog for your logcat and look for InstallTheme activity.
[Android Themes] kaikupascual:
How to modify the battery/Signal/WiFi icons statusbar???, I want change a color or change the icon for other battery/Signal icons... and chaning the color only change the background of battery icon:crying:
[Android Themes] Green-Bot:
[MENTION=3605033]nicholaschum[/MENTION]...any update?
[Android Themes] nicholaschum:
Oh sorry, I didn't see the message. Anyways, I would suggest you try to understand my code to be able to remove all my themed aspects. Sorry about that. Also the gradle explanation tells you what to change. But my files tell you what colors I used.
[Android Themes] Negan:
Ok one thing that I found that can is not your fault as you went by cm's git for your template but for those of you who use eclipse to compile (play store uploaders). in res/values-v21 the styles.xml can be deleted. also the android manifest has errors in it. Keep in mind I'm not certain if there will be any issues from deleting that styles.xml. But for now I was only able to get it to compile in eclipse by doing that.

here's what it needs to look like to compile without errors:

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.yourname.yourappname">
<meta-data android:name="org.cyanogenmod.theme.name" android:value="Appname"/>
<meta-data android:name="org.cyanogenmod.theme.author" android:value="yourname"/>
<application android:hasCode="false" android:icon="@drawable/ic_launcher" android:label="appname"/>
</manifest>

I have discovered that my issue was my self made template. Not a combination of "oops" that we typically make! So hopefully by tonight I'll have something up and running.
[Android Themes] nicholaschum:
I upload my themes on Play Store after using VTS and not gradle/eclipse, with values-v21.

Also AndroidManifest compiles perfectly fine for now - as it has worked since I first uploaded my template, then worked through 500 APKs of installs and distributions to my testers.

Also you need

<uses-feature android:name="org.cyanogenmod.theme" android:required="true"/>

for

and

platformBuildVersionCode="21"

will force it to be only able to install it on Lollipop ROMs for Play Store. Having 19 means you can install it on KK which is why my CM11 boot animations can install perfectly fine through Play Store on your Lollipop based ROM.
[Android Themes] Green-Bot:
Can you post some relevant gradle explanation which can prove helpful in my case? I googled it but results are too much to handle.

i just went to github, browsed cyanogen and found some sample template files. I am attaching the screenshot. How to tell whether this sample template belongs to cm-11 or cm-12? Is this stuff good to start with?
[Android Themes] vanessaem:
Hello all,

Thread cleaned. A general message to all:

No profanity, no arguing and try to stay on topic please.

Regards
[Android Themes] Negan:
Decided to try vts as you seem to have better luck with it than I'm having with eclipse evidently!

But got an error installing framework. followed instructions in steps 3 and 4 to a tee. Is there something else I should have done?

edit: nvm I had java only installed under "program files" I copied to to 86 as well!
[Android Themes] nicholaschum:
I found the reason why everyone has been getting issues.

Onc eyou have APKtool set up, you have to create a new project, put a template apk in, set my values in the OP (Step 5 in http://xdaforums.com/showpost.php?p=58260581&postcount=4), when you get an error after clicking Finish, go back to step 4 and set up the framework, it will work to install the framework now.
[Android Themes] Negan:
Good stuff man. Think I got the hang of this now. Let's kill this thing.

I'm gonna update to latest nightlies and hope that icons work. I made a pack of 1100 and it doesn't appear to be supported yet.
[Android Themes] DJ KELL-E:
Great guide
[Android Themes] beingnyukeit:
Great guide. Just wanted to know a few things here...

1. Is there any way to check in realtime what aspect of the theme gets changed when you change a certain setting in VTS. Like a phone model display which shows (like in Android Studio)

2. How do I change the app name like com.mytheme.someui ... Because I made my own theme and worked perfectly except that it was still showing your app name and also an update for the same in Play Store.

3. How do you create a theme from scratch. That is, without using your template. With a blank VTS/Android Studio Project...if you can guide on that it would be great.
[Android Themes] Negan:
[MENTION=3605033]nicholaschum[/MENTION] does vts give you a keystore so we can update our app on playstore?
[Android Themes] Blackball:
You can change the name in the android manifest xml
[Android Themes] Negan:
Are you replying to me? If so by just changing the version number?

I'm used to eclipse where you need to keep and use a keystore for each app to able to update

Bit of a learning curve!
[Android Themes] Blackball:
I mean beingnyukeits second question
[Android Themes] T-Rex:
[MENTION=3605033]nicholaschum[/MENTION]

i mad a theme using your template and the guide when i installed it showed me failed to install theme

but the logcat says that everything is perfect wothout any issues

help me plz
[Android Themes] nicholaschum:
How far did you scroll? There's an InstallTheme activity and those show errors.
[Android Themes] nicholaschum:
Just remember to change Apktool.yml and update on Play Store:

versionCode: '6'
versionName: release.version.six

If you don't update these Play Store won't let you upload the new iteration.
[Android Themes] T-Rex:
as i said i read all the thread and i didn't have errors during compilation ca i send you the apk and you check it please ?
[Android Themes] nicholaschum:
Pass it over
[Android Themes] T-Rex:
i will PM you with my apk link
[Android Themes] simbilli:
Any ideas for force closes after applying theme ?
[Android Themes] Goddly:
Try looking at the log?
[Android Themes] simbilli:
My USB doesnt work because of the rom but Its weird. If I add a png or xml file to overlay it happens. I tried to copy from other themes It works but when I change a one color code I have a force close [emoji17]
[Android Themes] beingnyukeit:
I changed a lot of values in colors.xml files in each app setting (i.e. com.android.calculator2, etc) and after I save them and try to build, VTS shows error that the xml files are missing. What am I doing wrong?
[Android Themes] Marshall M:
Parse error

I'm able to compile the theme in VTS but it gives me a Parse error during installation

im running the latest cm12 build on moto g

Any help?

Thank you
[Android Themes] chidav77:
Hi guys, I am really a noob in theming

I followed this great guide and I am able to install your template theme on my phone.

Now is time to create my own theme but...... I cannot find how to change background color of setting menu.

Where should I look? I found many themes with red or black background.....

Someone can give me a hint?
[Android Themes] Marshall M:
Can i know which rom and phone you using?

Thanks
[Android Themes] chidav77:
I'm on samsung galaxy S5 with CM12

thanks!
[Android Themes] Negan:
Ok so as it stands mine shows

versionCode: ''
versionName: 0.0.1

So I for an update do i need to actually change it to say ie:

versionCode: '2'
versionName: release.version.two

Or would it be:

versionCode: '2'
versionName: 0.0.2

Just want to be crystal clear on this before I upload as I'm not 100% on vts yet. It's fairly straight forward though and I think I might like it better than eclipse based on the features so far.

Btw I rated this thread 5 stars and everyone else here should too. This guy's taken a lot of time to write out his guide. I know from experience that takes a substantial amount of time.
[Android Themes] nicholaschum:
2nd box is perfect. Version Code is what Play Store shows as the number revision. Version name can be anything you want. Like MarkRocks. 3rd one is fine too as stated before.

Thanks for the rating :D Hit me up if you got any other problems or worries about VTS/Play Store queries.
[Android Themes] Negan:
You bet man. Should be ok for Play store now that you've cleared that up. I have about a dozen apps up there already. But we should definitely share ideas and info

---------- Post added at 10:24 AM ---------- Previous post was at 10:22 AM ----------

Making more progress de-flattening this too. Almost have the toggles switches how I want them
[Android Themes] hawkstwelve:
Ok I am having some issues trying to get my framework-res.apk to import into VTS. Every time I try, I get an error in the logs that reads:

ApkTool: Caused by: java.io.IOException: Expected: 0x001c0001, got :0x000000000

I have tried re-installing jre and jdk, I fixed my environment variables to where now when I type: 'java -version' into CMDPrompt it lists the correct java version. I'm at a loss as to what else could be causing the exception.

Any ideas? I've attached a screenshot of my ApkTool folder inside VTS because I have a feeling that is where I must have done something wrong. As well as a screenshot from the log in VTS.
[Android Themes] Negan:
So in program files you should have a "java" folder. Try copying into programfilesx86 and see if that works. I had to do that
[Android Themes] hawkstwelve:
Actually, mine is backwards. I have a Java file in both Program Files versions, but the updated Java I have is in the x86 with the older version Java in the regular Program Files. Maybe that could be the issue? I'll try it when I get home. Thanks!
[Android Themes] Negan:
[MENTION=3605033]nicholaschum[/MENTION] can you check you pm.
[Android Themes] nicholaschum:
replied!
[Android Themes] azher98:
Amazing

I have one issue

In VTS when click import to my framework-res.apk

I get a popup window says :

Error while installing framework

Any ideas ?
[Android Themes] nicholaschum:
did you see the red marking telling you to try step 5 first if you fail?
[Android Themes] nicholaschum:
guide will be updated and reconfigured to theme RRO themes tonight. after i finish my rro layout
[Android Themes] T-Rex:
[MENTION=3605033]nicholaschum[/MENTION] a question please

when trying to change some lines in the value.txt do i have to copy just the lines i modified or the whole file

+ sometimes when i add some lines to change certain things in the theme , the theme won't install

help plz because i can't go any further on theming
[Android Themes] nicholaschum:
Styles.xml will not work if you just put everything in, you have to check their parent, and whether their parent exists in styles.

Also all attributes must have "android:" behind it, so for <item name="textColor"> you need to change that to <item name="android:textColor">

Theming for CM12 TE you have to watch your coding and program language style, especially for Styles.xml

Colors.xml you can just copy it in, but usually this is why themes crash, and are bloated. You should only pick modified attributes.
[Android Themes] T-Rex:
so for every attribute change i have to put the parent that belong to it ??

is this all
[Android Themes] Pneuma1985:
K well I read somewhere there is no template for cm12? Well I just made a gradle template in luna eclipse using the original master template i added v7 and app.compact support to as well as a ton of the android stuff that will be needed in most cases. Works great so far with the updates to the theme engine over the last few days. I still need to add some various things to it but it is a template.
[Android Themes] T-Rex:
you mean by that , that we will be able editing just the lines and the theme will work no more adding stuff ??
[Android Themes] Pneuma1985:
Well i've added a ton of things to it by no means is it complete, but a lot has been added. I'd like to get thoughtlesskyles input before i decide on what else absolutely needs to be added.
[Android Themes] AvatarOfFrost:
How do I make the status bar transparent?
[Android Themes] bulletproof136:
thanks for this awesome guide :good: its really easy to understand :o

i finally made my first theme using your template :D here
[Android Themes] azher98:
still getting the same error

when i try to import the framework-res.apk file in VTS i get

Error while installing framework file

i skipped this step as the guide says and headed to step 5 but when get back THE SAME ERROR is still there

any ideas
[Android Themes] spacellama:
Great tutorial. I'm facing a really annoying bug (I thinks it is one) with VTS, the overlays folders shows only "com.android" so I don't know which app it is. On Windows Explorer the folders are named correctly ("com.android.settings" and so on...), is there a setting to show the entire name of the folder?

---

And I think a video tutorial would be awesome
[Android Themes] Goddly:
Same, it gets annoying. I've changed the color of different apks thinking I knew right where they were.... Lol oops...
[Android Themes] Overdose1986:
Thanks for this guide, I want to theme whatsapp using theme engine

I made a theme long time ago for cm11 but it doesnt work with cm12

thanks!
[Android Themes] wartle.S:
Great guide! I'm starting to build my own theme!

One thing, can you also add to the guide of uploading themes created using VTS to the Google Play Store?
[Android Themes] dominicstg2:
Text in messaging app

In the messaging app the text is very hard to read its like a light blue colour also I am on a Samsung galaxy note 4 910g hopefully this can get fixed or there is a setting to change the colour thanks
[Android Themes] chidav77:
Hi again....

Finally I started understanding the theming on CM12.... without help is really hard! :)

Unfortunately I want to understand all before starting (I have some ideas) and actually I don't understand how to change font.

I see a font.xml and a list of .ttf fonts in the font folder, but I don't understand how works....

Should I take a font and rename it like the font already present and overwrite them?

should I change the fonts.xml content? If yes, what is the logic? How works the fonts.xml?

Sorry to bother you, but I wanna do a complete work! ;)
[Android Themes] Skyline:
We have to modify AndroidManifest.xml or not??

Plz help
[Android Themes] wartle.S:
Yes, we need to modify the AndroidManifest.xml inorder to change the package name.
[Android Themes] Skyline:
Thank u for your reply...

Anything else we have to change???

Thanks in advance
[Android Themes] franzyroy:
[MENTION=3605033]nicholaschum[/MENTION]

How have the notification background in black? It's in systemUI but I don't find.... I am a bit confuse for the moment by the app.
[Android Themes] nicholaschum:
colors.xml

<color name="system_primary_color">#d4000000</color>
<color name="system_secondary_color">#ff1f1f1f</color>
[Android Themes] franzyroy:
Thanks!

I'll look that, but it seems they are already like that.
[Android Themes] wartle.S:
I believe that in the manifest the package name is only needed to be changed.

Then, additional changes is needed in apktool .yml:

versionInfo:
versionCode: 'int version #'
versionName: 'string version name'
[Android Themes] franzyroy:
Doesn't work for me but maybe due to my rom... to check! I tried several themes which have to modify that, no change. If you've another track! ;)

I tried this theme which should change that, nothing. I continue my search.

Thanks for your help!
[Android Themes] Goddly:
Once your apk installs, are you resetting your system ui? Or rebooting you're phone? The theme engine is still quirky, and needs a quick reload. Settings/ developers options/ restart systemui.
[Android Themes] nicholaschum:
You may need a full wipe.
[Android Themes] franzyroy:
Yes, I've rebooted.

I'd avoided get there! :(
[Android Themes] franzyroy:
. [MENTION=3605033]nicholaschum[/MENTION]

I made few corrections in my theme with Contacts app, if you're interested... say me! Because it seems me yours are with a white background.
[Android Themes] Goddly:
Just a thought ;) that's what I have to do with my themes
[Android Themes] franzyroy:
rebooted or Full wipes?

Thanks for your councils! ;)
[Android Themes] nicholaschum:
Did you make changes to the smali code within All Contacts? That was the only thing holding me back because All contacts remains with black text.
[Android Themes] Goddly:
Both. Sadly. Sometimes, as I'm the only one testing my themes, I've installed, uninstalled, restored backup. Lol
[Android Themes] franzyroy:
No! Not still tried that, I don't know if it works...

OK... Thanks! ;)

---------- Post added at 07:58 PM ---------- Previous post was at 07:56 PM ----------

If it's like the layout folder, it doesn't work... damage, it will enable to fix some displaying issues... like battery history chart!