yashsingh1/xdaforums huggingface dataset:
[Android Themes] nicholaschum:
Yeah I wasn't on my workstation to tell you what to edit. Sorry.
[Android Themes] LightingZ:
No need to sorry :)

EDIT:

anyone knows how to theme these:

[IMG="Screenshot"]http://s14.postimg.org/m6ehwm7hd/Screenshot_2015_02_08_14_34_13.png[/IMG]

For the background i tried this:

but it didn't worked

even if i tried:

And that "on\off" text freaks me out how do i theme that?
[Android Themes] alexdelia80:
Overlay error installing theme on lollipop

Hy!

I'm new in modding

but i've some problem to decompile and recompile theme

on lollipop 5.0.2,

I use last apktool version to decompile

and last sdk version to compile on android studio.

Ok i've this problem,

if i take a Free Cm12 theme on play store and decompile it

with apktool 2.0.0rc3 and after i recompile it on android studio,

without changing anything ,

and I try to install it on my phone ,

I get the error failed to install theme ,

if I go in logcat to verify the problem is that I read a relative

error all'overlays and in particular folder :

inputlatinmethod

and

installationpackage

I set the project structure in the android studio settings with jdk 1.8.0.31 and sdk

Android 5.0 with api21

I have no error during compiling also because i not edit anything

but the theme is not installed ....

have any suggestions ?

thank you very much,

alessandro
[Android Themes] Primokorn:
The decompilation process does not provide all ressources to import a project into Android Studio.
[Android Themes] alexdelia80:
But with kitkat everythings works *_* with the same mathod… what I should do for decompiling?
[Android Themes] grzybiarz91:
Anyone know how to change icon for screen timeout in quick toggles? I find that in \SystemUI\res\drawable\ are file like: ic_qs_screen_timeout_long_avd.xml, ic_qs_screen_timeout_long_reverse_avd.xml, ic_qs_screen_timeout_med_avd.xml etc; and in \SystemUI\res\anim\ ic_qs_screen_timeout_longtomed.xml, ic_qs_screen_timeout_longtoshort.xml etc. But I tried a few method to change it but no luck. I want to change whole picture, not only color.
[Android Themes] Primokorn:
Create a new projet in Android Studio then paste the res and assets folders.

Try to create a png file with the same name as the xml or modify the content of the xml to load a png file instead of having a color code. Never tried yet though.
[Android Themes] alexdelia80:
I will try thanks man!!
[Android Themes] nicholaschum:
[MENTION=4958579]Primokorn[/MENTION] thanks for the replies on the thread, I wasn't monitoring this thread as I thought most would have got the gist of what's going on, regardless, thanks for the helping hand :fingers-crossed:
[Android Themes] ANKIT RAWAT:
Anyone know, how to change button color, and i have to bulk change color of few pngs, from red to violet.

Sent from Cup Cake
[Android Themes] Primokorn:
You're welcome mate. I have just started my CM12 theme so I'm learning too ;)
[Android Themes] nicholaschum:
The best times are when you're learning about something new. The sharing process and the group work collaboration is very reminiscing in my mind.

If you need anything don't hesitate to ask me on PM.
[Android Themes] barth2:
Hi

I have a couple of questions. I use apk studio instead of vts because it builds faster and I'm just used to using sublimetext editor. To properly install a theme, is it the same as installing any apk

adb install -r foobar.apk

This seems to work but it also causes the system to kind of seize up and sometimes I get FC with systemui. I probably need to stop systemui first or something but I don't know how.

My other problem is after installing and switching themes many times I am somehow stuck with the default notification and quick setting area. It will not theme no matter what. Reboot and clear cache and dalvik does not help. Do I really have to wipe data and clean install. There must be some files some where I can clear out to fix this.

Thanks
[Android Themes] Primokorn:
1. idk. Android Studio works fine to install my theme.

2. Since a recent update of my rom I do not need to clean flash to properly apply a theme. 'Style' is always correctly themed. So check if you can update your rom.
[Android Themes] barth2:
good news. I found a fix for the above problem on Google+ No need to do a clean flash any more. Just delete a row in a database and reboot. See here

https://plus.google.com/102343405299182466528/posts/fmmsiPW3ja2
[Android Themes] LogKill:
Hi was trying out VTS but somehow or another I can't decompile your apk because I can enter FrameworkTag. It's empty when I type nothing appears in there. Any solution to this?
[Android Themes] simbilli:
I am getting force close in theme chooser because of preview and I dont know why

Only overlays works fine. When I try to add icons it only closes after I try to see preview and apply. If I try to add wallpaper It fc immediatly. Any solution ?

Edit : I found the solution. I just forgot to add res folder to icons :)
[Android Themes] nicholaschum:
Check out my dark material thread and you'll find a video with instructions on how to do it too
[Android Themes] MattBooth:
I stumbled upon this post. I just wondered if you were actually familiar with XDA's rules on sharing? You are not allowed to share exclusively. This list of verified users who can use your base is pointless, anyone can use your base id you allow one person to. XDA will only take action if you are not appropriately credited.

EIDT:

Don't shoot the messenger, btw, I'm just letting you know
[Android Themes] Hen-3:
variables

I did a search here and on google.

I didn't find what i was looking for.

All those variables in the xml files ........ is there a manual that explaines what they are for?

I mean some are obvious but there are some that doesn't make sense.

CyanogenMod's gradle project doesn't have any xml files in it..... where to start and what variables to use.

I use your alpha template base so all would turn out great but i am just curious about all those variables and i hope someone can shine some light on this.
[Android Themes] nicholaschum:
These are people who exclusively asked permission and I gave it to them, and they happen to be contributing to the project, hence we are a whole team. I did not give "exclusive" permission to these people, as long as people ask for content that is not part of XDA, all you can see is a support thread for my Theme Engine threads, I did not give exclusive access on XDA but I am pointing out that these people are clearly using my base and IS NOT STOLEN.

I have allowed my work to be used, which is the alpha template. HOWEVER I did not allow for people to decompile my Play Store apk and use it. My work isn't open sourced, and the XDA rules state that I cannot have exclusivity over a certain bunch of people, so Yes, you are right to a certain extent, however this exclusivity is so that the mods and my users can track who used my base WITHOUT a credit, as I have communicated with many mods and RTs and RC/RT dual title members about work not credited, I am ensuring people who were found using my base aren't falsely reported by a roaming stranger.

One more thing, my work isn't distributed on XDA, it is running under Play store rules and my licenses can waive those rules of sharing. On XDA, when the rules state that developers can hold exclusivity to our work, we hold exclusivity as a whole, a team of developers, hence we all hold exclusivity over my released work, however I don't post my Play Store release on XDA thus rendering the set of rules for sharing powerless.

If you have any issue, most likely you want to decompile it, I have no problem for you to do so, as long as you asked. A PM is better than getting your account infracted, and I have never said no to people who actually want to contribute to the cause, but this has been raised as my EXACT theme was reuploaded onto the Play Store and for a price. My work is free, but all I ask is the respect that you come to me and ask permissions fully and NOT just asking after your release.

I'm a very nice guy on Hangouts, if you want to message me before posting about that, you could have asked about how I targeted these issues beforehand.
[Android Themes] MattBooth:
I don't want to use your APK as a base, I just stumbled upon your thread. If those people are part of an official team then that's within the rules, if they are not and just people you occasionally work with, then I would say it violates the sharing policies. It just looks odd that you say "list of friends you talk theming too" as though you have some buddies you share with, but not anyone else, which is against the rules.

I have a similar sharing policy for all my work. I won't say no for asking :)I also changed some of the licencing of my work to ensure people get my stuff for free, and keep it free, rather than being able to put a price on it and sell it. The OP's just struck me as odd listing people with exclusive rights to your work. You may want to reword it a little or something :D
[Android Themes] nicholaschum:
I'll reword it, thanks for the heads up. My policy is just if you ask me and use the entire base as your theme's base, your name will be put up there so mods will know if they asked me or not, when someone tries to complain. It's just a safety precaution and a small note to my users and myself to keep track which themes are using the base. No harm was intended but if someone uses my theme as a base, they have to ask me first, so I won't report them if they just blindly take my theme with no permissions as that is a breach of respect.
[Android Themes] MattBooth:
Good to know :) I may be back one day when I start my CM12 ROM to ask for permission for your base :)
[Android Themes] jjardinero.01:
[MENTION=3605033]nicholaschum[/MENTION] Great tutorial. I'm a newbie in CM12 theming. I just want to ask if how can I import the official CM theme template in VTS. Thanks!
[Android Themes] nicholaschum:
You can't really, unless you compile it first. I will update my templates in a bit, but after I finish with my theme
[Android Themes] jjardinero.01:
Oh. Thanks! Do you have any links for visual guide on some of the variables in XML files? Many of them are obvious but they're just too many that I don't know what are they. Thanks!
[Android Themes] nicholaschum:
You should check out Vivek's thread for indepth XML explanation

http://xdaforums.com/android/themes/guide-t2978121
[Android Themes] CN@:
hey nicholas.

great job dude.

I want to make my theme with android studio and I don't know how to do it.

you got any tutorial for that?

beside I get error when installing FW in VTS.(did the same thing you posted)
[Android Themes] Primokorn:
There are some information on CM Github: https://github.com/cyngn/android_packages_themes_Template
[Android Themes] CN@:
That is so hard to understand.

let's stick to VTS.

I can't get my framework installed in VTS.

any help?
[Android Themes] Primokorn:
Sorry I never used VTS. Android Studio is easy to use. Personally I created a new project with no activity then I imported my res & assests folders into the new workspace of Android Studio. I edited my AndroidManifest.xml for the new SDK and package. Done.

Check CM Theme Engine community on G+. This has already been discussed.
[Android Themes] CN@:
Android studio has 2 versions.

one with SDK and the other one without SDK.

which version do you use?

and would you PLZ guide me how to make my edited SYSTEMUI an installable apk in theme engine?
[Android Themes] Primokorn:
With SDK tools from here: https://developer.android.com/sdk/index.html

About SystemUI you have to create a folder here: assets/overlays/com.android.system/res/ then you add your modded drawable, color and values folders.
[Android Themes] CN@:
thank you.

after all of them how to transform it to apk for theme engine?
[Android Themes] Primokorn:
This is automatically done by Android Studio (or VTS, Eclipse...). Android Studio builds and installs your apk to your device. This is enough to be able to test your theme.

If you want to publish your app on Google Play then you have to sign your apk: http://developer.android.com/tools/publishing/app-signing.html#studio
[Android Themes] jjardinero.01:
Guys, need help. Anyone here know's where to get the xml codes for all of the apps that is themeable? Thanks in advance!
[Android Themes] Primokorn:
Github for specific roms.
[Android Themes] CN@:
hey mate.

I have the cm12 gradle template, how should I get it in Android studio?
[Android Themes] Primokorn:
This is well explained on CM's github: https://github.com/cyngn/android_packages_themes_Template#step-2-import-the-theme-template
[Android Themes] CN@:
when I install android studio.

It gives this error.

the sdk component was not installed/tools m2 repository.

how to fix it?
[Android Themes] Primokorn:
idk... Try to update your SDK via SDK Manager.
[Android Themes] CN@:
OK I fixed that.

now when I want to import the template it wants Gradle home.

what is that?

sorry I bothered you too much with asking too many questions.:rolleyes:

fixed it too
[Android Themes] dustinb17:
Can anyone give me any insight as to why my panel/pop-up seem to be huge here in Lollipop. It works on everything but system popups (power menu / android notifications like Force Closes)

I'm completely lost on what would cause this so any help would be greatly appreciated.

What it should look like

What it DOES look like
[Android Themes] Negan:
My power menu looks like that too. I never saw it as an issue?

View attachment 3181773
[Android Themes] tpayne2345:
I keep getting this error:

"No resource found that matches the given name (insertfieldname) with the value (@color/black)

Makes no sense. At first I was using the hex values in VST and figured they're screwing it up but even using the basic color names exactly like in other places of xml it throws an error. Any suggestions?

Edit:

OK.... After getting an earlier theme to install, I'm now getting the above error on a color I've been using since the beginning. Frustrating.
[Android Themes] chidav77:
Another Help Request!

Basically I found that the standard CM installation use the Theme.Material.Light style as system style.

So... Is there a way to change the base theme used by the system?

I don't want to theme a single app, already knows how to do it....

I want that the base style is Material.Dark and not Material.light.

Anyone knows?﻿
[Android Themes] nicholaschum:
It's either Theme.Material or Theme.Material.Light

I made this change on my theme however there is a catch, you have to take account for other apps you download from Play Store to not conflict with your changes.

You can make Theme.Material.Light inherit it's values from Theme.Material (parent) and then remove everything inside Theme.Material.Light, but this is dangerous if you don't have knowledge about what would the side effects be.
[Android Themes] Douglas Gomes:
Where can I change it?
[Android Themes] nicholaschum:
systemUI\res\values\colors.xml

<color name="fab_color">#ff2e2d2e</color>
<color name="floating_action_button_icon_color">#ffffffff</color>
<color name="floating_action_button_touch_tint">#d4000000</color>
[Android Themes] Dark_Eyes_:
Small but on Google calendar when setting a reminder, see pic.

And some popup menu seems to not theme correctly, like in messenger, see other post
[Android Themes] Dark_Eyes_:
Sorry for double post... Can't add file when editing!

Thanks for this awesome theme by the way!
[Android Themes] nicholaschum:
Yeah, I haven't actually touched Calendar yet, so I didn't fix it yet. I'll theme messenger later, but for now that's on low priority as I use AOSP messages on Bliss, which is fully blacked out.
[Android Themes] freddienux:
[MENTION=3605033]nicholaschum[/MENTION] using apex launcher with your dark theme I can't see anything in apex launcher settings except the icons I'm using bliss pop/nexus 6
[Android Themes] nicholaschum:
Yes this is known for a while. Haven't had time to fix it yet as I use Nova.
[Android Themes] freddienux:
yeah i fuigured you use nova lol
[Android Themes] Dark_Eyes_:
Initials in gmail notifications are super small. I don't have a screen shot for it but I can take one next time I get an email.

Thanks!
[Android Themes] Douglas Gomes:
[MENTION=3605033]nicholaschum[/MENTION]

Where can I change the color of it?

Thank U.
[Android Themes] nicholaschum:
Icons in Settings are pngs, some are drawable xmls

\Data\assets\overlays\com.android.settings\res\drawable-xhdpi

Nav bar customization is com.android.systemui\res\values\colors.xml

<color name="system_bar_background_opaque">#ff000000</color>
<color name="system_bar_background_semi_transparent">#66000000</color>
<color name="system_bar_background_transparent">#00000000</color>
[Android Themes] Androlover98:
Great thread. My first theme is almost complete. I am still new to xmls. Could anyone tell me how to change the quick settings background to an image? Thanks in advance. Secondly my boot animation is not working. Boot animation is 635x380 and is compressed in store mode.
[Android Themes] goti(0):
I'm getting this decompiling error after many attempts
[Android Themes] Primokorn:
Why not just use ApkTool to decompile?
[Android Themes] goti(0):
i have decompiled apk using advanced apk tool ...but i dont know how to use decompiled file in VTS
[Android Themes] Primokorn:
In your theme assets folder you have to create a new folder called 'the package name of the decompiled app' e.g. com.android.mms for AOSP SMS app then create a res folder.

Here you put all folders and files you want to modify from the original app (and dependent files if needed) like drawable-xxhdpi, values, color...
[Android Themes] aHcVolle:
Hey, Thanks you for your tutorial.

Before i start i wanted to understand one thing correct.

So i can only use the alpha template if i plan to release my theme, or am i allowed to use the beta template too?

(I dont get if the beta is your play store release or ...)

I dont know if i'll ever release the theme i'm planning to create but i want to start on a clean base.

thanks

Chris
[Android Themes] nicholaschum:
You can use all templates here. Just not the play store one where I didn't link.
[Android Themes] aHcVolle:
ok thank you!
[Android Themes] Douglas Gomes:
how do I add an icon to a ROM in my theme? the same color as my icons?
[Android Themes] Primokorn:
Can you rephrase? Do you want to add in your theme a specific icon from a custom rom?
[Android Themes] Douglas Gomes:
Yes
[Android Themes] Khizar:
You need to decompile the rom's settings apk, grab and theme the icon/s, then add it into your theme's settings drawable folder/s.

Sent From Dark Bacon With Blissed AK Awesomeness To All You Wonder Nobodies!!
[Android Themes] Douglas Gomes:
I changed the color, more is still black.

some solution.
[Android Themes] nicholaschum:
You may have to clear themeConfig or wipe your phone.
[Android Themes] Douglas Gomes:
Now I was confused, just be in applications that are not of the system.
[Android Themes] nicholaschum:
Try this:

<item name="android:navigationBarColor">@color/black</item>

Add that into the main app's styles.
[Android Themes] Douglas Gomes:
unfortunately did not work.

I put in SystemUI and did not work.

thank you.
[Android Themes] nicholaschum:
Put it in the app you want themed
[Android Themes] Douglas Gomes:
I also did and did not work.
[Android Themes] nicholaschum:
Yeah, I believe some of those colors aren't able to be changed yet.
[Android Themes] eurochild:
nicholas a little help please

i have my hangouts themed and the only thing i cant change is the ammount of credit in the hangouts dialer in the top right of the actionbar
[Android Themes] Douglas Gomes:
I got it, thank you.

but only the calculator is still not the color I want.
[Android Themes] nicholaschum:
It's definitely in colors.xml. Not near computer atm but yes, its definitely in colors.xml as I only have that and have achieved this:
[Android Themes] Douglas Gomes:
[MENTION=3605033]nicholaschum[/MENTION]

Where can I change that color?
[Android Themes] Blackball:
I think its switch_track_material.xml in framework-res / res / drawable
[Android Themes] Douglas Gomes:
Thank you that was it.
[Android Themes] ondrej97:
Can I export apk to device without adb?
[Android Themes] tpayne2345:
You can manually if that's what you mean.. Build the project and the apk is in the Binary folder
[Android Themes] jflow36:
Does cm12 support layers?

Tapatalked that shiznit...
[Android Themes] nicholaschum:
There are certain Roms that support RRO Layers, and there are certain roms that support Theme Engine. But not both.

For example a rom using Theme Engine would be BlissPop, and a rom using Layers would be Chroma
[Android Themes] savsir:
I'm doing the theme of this program, but the phone restarts when I install the phone. Is there a solution?
[Android Themes] nicholaschum:
It's a problem with the latest CM roms. Wait for an update.
[Android Themes] xdagee:
Yeah it is; as from 20150307's nightly to date... Wait for an update.
[Android Themes] Bob Squire99:
Can't find asset

I can't find the asset folder in the solution explorer sidebar. Can you please help me. I'm a newbie.
[Android Themes] Douglas Gomes:
How to change the background color of my subject, from white to black?
[Android Themes] barth2:
Kind of a naive question, but why does this not "just work" (change light to dark theme)?

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

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

Similarly with holo.light etc.

In fact, it does work beautifully... in theme debugger. In most other apps, it's a disaster. Lots of white text on white :(
[Android Themes] nicholaschum:
That's because not all apps call from framework. Instead, it calls locally and hence a lot of black on black.... White on white
[Android Themes] nicholaschum:
Make a style with no parent in Gmail and Hangouts and name them NotificationPrimaryText and NotificationSecondaryText. Check decompiled Gmail for more info.
[Android Themes] tpayne2345:
Any idea why build times would differ?

On my Surface Pro 3 it takes +10min just to build in VTS. The same project takes ~3min to build on my work laptop which isn't nearly as fast or powerful.. pretty annoying
[Android Themes] barth2:
That's why I use APK studio. It's primitive but it takes about five to ten seconds to build a theme. My PC is four years old and even when new it was not exactly a speed demon. Sometimes it goes so fast I'm not sure if I actually hit build so I just hit build again.
[Android Themes] nicholaschum:
On my Surface Pro 3, it builds in 20 seconds. Something is wrong with your setup......
[Android Themes] Goddly:
Vts builds for me in 15 seconds... Never had any issues.
[Android Themes] tpayne2345:
I'll look into this then.. Thanks for a helpful suggestion......
[Android Themes] munnibhai:
thanks a for a nice tutorial mate.

In my interface, the themes is pushed-:installed without any error but i am not seeing any changes in phone. I have tried with a reboot of phone too, but nothing. I also checked in theme manager but the installed theme isnt listed there.

In the SC is the folder structure in VTS, i dont know if there is something wrong I may be doing.

EDIT: In folder tree, I dont see the complete com.android.xxx folder so I wrote them in red color to point

I will appreciate the help.

Thanks.
[Android Themes] nicholaschum:
Have you checked Settings > Apps and check if the app is installed there? Also check Logcat using an app called CatLog to see if the app is getting uninstalled due to an error.

The folder structure is like that and is annoying, just right click the project in VTS and open it in Explorer.
[Android Themes] jejemc:
Hello everyone here I would like to know what line of text I should have changed to the white text? thank you
[Android Themes] nicholaschum:
The primary text in Play Store I believe, or secondary text
[Android Themes] error404:
someone know why this happens? i just replaced the color and it don't work anymore.
[Android Themes] nicholaschum:
android:color/dark_grey - there's no such thing.

Remove "android:" if you defined the color locally