yashsingh1/xdaforums huggingface dataset:
[Android Themes] danarama:
Yes I know, but to make the png, I need an icon to start with. So with my other icons, I start with icons that already exist to make them. What I dont want to do is create poor renditions of the icons that are in xml, so I somehow need to "render" those vectors to start with

---------- Post added at 02:26 AM ---------- Previous post was at 01:36 AM ----------

Could you please re-download and test for me?
[Android Themes] Nos_20:
Sure thing.

Oh yes, nice work, that looks awesome. [emoji3] [emoji3]

Thank you!
[Android Themes] LidaFlorida:
Settings.apk - https://drive.google.com/file/d/0Bx-Mv3rgZ3FyQnNqTkFsMks5S1E/view?usp=sharing

"Layers" and "Buttons" have changed. Left to change the "Profiles" and "Privacy" :)
[Android Themes] danarama:
Thanks.

Could you get me a high res screenshot of them please? [MENTION=5714510]LidaFlorida[/MENTION]

Edit > Nevermind..I'm going to use something else.
[Android Themes] LidaFlorida:
Here you go https://drive.google.com/open?id=0Bx-Mv3rgZ3FyN0dEbjZ1RnlsODQ&authuser=0
[Android Themes] danarama:
Thank you. I actually used some icons I already had themed to cover these as it made more sense. I just created copies with the new names for yours. Please could you re-test using the same DL link?
[Android Themes] LidaFlorida:
You rock.:laugh::good:
[Android Themes] danarama:
Excellent!
[Android Themes] `SBR`:
Is the settings icon only compatible to few layers..when i installed it messed up my settings...

Or I'm missing something here..

Slim Aplpha build in Bacon
[Android Themes] docck:
[MENTION=1900568]sbr[/MENTION] works fine here on SlimLP hammerhead with Visio layers pack
[Android Themes] danarama:
My icons?

Priority of my theme is 99. Gryffindor is 100...

Please re-download and try again.
[Android Themes] donnabelmartie:
Is my understanding right? For layers with previews, it shall install using layers installer button. While for those without, use layers manager?
[Android Themes] danarama:
No. If you're only installing, use installer - preview or not

If you need to do more, maybe delete some layers first etc, use manager.
[Android Themes] `SBR`:
Redowloaded it's working...don'tknow what was the issue. Is all icons are themed..

I redownloaded...it's working fine...thanks for the icons... And could you fix the Navigation icons

Will add the settings apk once got access to pc.

How did you find the priority of apk, with the new later I don't see a option and it's not supporting multi select to delete it.
[Android Themes] danarama:
I use the old app "layers" to see priority. I saw 100, so I re-uploaded mine with a priority of 200.

I might not need settings.apk. I have taken a guess that the icon is called ic_settings_navigation. I have seen it as that in one rom. I reuploaded it again. Would you mind and check please?
[Android Themes] tcat007:
I have a "how to" question. I know how to edit exiting overlays, but how do you make an "overlay source" from an app apk? If I try to edit the original apk, I can make changes and make an overlay apk that installs with the installer, but the apk is actually the original app and way bigger in size than it needs to be. So how to pull an overlay out of an apk? Is there a tutorial for this? Obviously that's where the hard work must be (other than figuring out what color names change what items).
[Android Themes] danarama:
Very simple.

- Create an overlay project with the windows app "layers project generator “

- delete the res folder

- add the res folder from your apk

- delete anything you're not changing

- if there is no option for the app you want a project for in "layers project generator", change the target package in the manifest.
[Android Themes] `SBR`:
It's perfect now.... Thank you
[Android Themes] danarama:
Slim centre needs doing at some point by the looks of it.
[Android Themes] dkonect:
Hello, it's really beautiful, on note 3 with arayamod lp, but just one thing with "Black_Red_Layers" I can't read the battery stats. and with black volume is the same's.

All works flawlessly without any trouble. Really good
[Android Themes] dkonect:
Arayamod mod/Black_Red_Layers
[Android Themes] jerbeck24:
Updated these three themes to work with the new Layers Manager app:

Pitch Black - http://goo.gl/0kDKTq

Black Neon Orange - http://goo.gl/66RJv8

Black Electric Blue - http://goo.gl/stL2Im
[Android Themes] ak:
Do you think to include black keyboard into the next release?

Thanks a lot i love your theme.

Sent from my A0001
[Android Themes] jerbeck24:
It's in my plans...I use the super swiftkey app that has a ton of themes already, so I am not in any hurry. I do plan to look into it though...maybe in the next big update?
[Android Themes] Jax Teller:
You can you use the keyboard layer from the new Midnight theme.

It has total black keyboard and matches perfectly with PitchBlack theme.[emoji4]
[Android Themes] hooliganx:
[MENTION=2808964]jerbeck24[/MENTION]

Oi!

Like your work in Blue-Orange...

but, find estrange behavior in dialer...

look..

thanks for your time, man. [emoji6]

n5slimpop.reS28raM.1.0cartgapps.15.02.26

codeblue.r877rd1.16v4atwrp2.8.3.0

-----------------------------------------------------------
[Android Themes] donnabelmartie:
Just want to report that layers manager v2 made force closes for g+, settings, and the app itself after deleting all installed layers. I was thinking of uninstalling and reinstalling the app, but a reboot fixed. Thanks for all the devs for their hard work. But most especially to [MENTION=1050103]sykopompos[/MENTION] for such a very very nice idea. ;)
[Android Themes] JaylanPHNX:
This happens with some layers, regardless of whether you uninstall them with the app or just delete the APKs from /vendor/overlay. And yes, reboot is needed to fix it.

From my SlimTab Pro 8.4
[Android Themes] setiawanjimmy:
It happens when you delete framework layer. Its normal behaviour..
[Android Themes] jerbeck24:
I have it done...it'll be released soon in the next update...The base was from [MENTION=3810143]bgill55[/MENTION].
[Android Themes] donnabelmartie:
Thanks! :)

Thanks for that info. :) really love the combination of midnight and adidas. How bout nike? Hehe ;)
[Android Themes] lovejoy777:
Guys if you delete layers you must reboot. I could build an auto reboot feature in to the delete all button. But not the 1x1 button as this would become a pain if deleting more than just one.
[Android Themes] ethereal_mist:
I am having a problem. Layers are not applying on settings properly. I tried all settings layers. Layers are working for all apps except Settings.

The background remains white and this happens.
[Android Themes] Jax Teller:
That's great.

Will you make layer for aosp keyboard too?:)
[Android Themes] setiawanjimmy:
Which rom?
[Android Themes] ethereal_mist:
Omni ROM 5.0.2
[Android Themes] setiawanjimmy:
I dont think omni got all commits merge.. Try asking the devs..
[Android Themes] RobbieL811:
What was the problem with my navigation icon?

Sent from my Nexus 7²

---------- Post added at 08:50 AM ---------- Previous post was at 08:48 AM ----------

Use the black keyboard from Davey's TRDS theme. I wish we could get these two guys working on the same theme lol! Would be cool!

Sent from my Nexus 7²
[Android Themes] danarama:
Was that your 36 dpi navigation Bar?

Nothing wrong with it.. It just had a higher priority than my Framework theme, which prevented my theme setting the Global Power Menu black. Not sure why because there was nothing in your navbar that would change the colour.
[Android Themes] RobbieL811:
No. I was talking about the navigation icon in settings. This one.
[Android Themes] danarama:
I don't understand the question. Can you elaborate?
[Android Themes] RobbieL811:
Nothing. Never mind.

Sent from my Oneplus One
[Android Themes] danarama:
Are you asking why I didn't use it in my theme?
[Android Themes] RobbieL811:
Yeah. Lol. You just prefer the other one? I saw that it was in there before, but it looked kinda distorted.
[Android Themes] danarama:
Ah no, It was in the screenshot because I didn't have a png ic_settings_navigation, so it actually wasn't being themed. someone was just showing me the issue.

Some other roms I noticed re-used the ic_settings_buttons.png/xml so I just renamed that which I already had. It doesn't really make sense to use that one really. I'll happily include yours if you can supply me a png of it. Problem is, some roms are now using ic_settings_navigation.xml as vector instead of png, which is great for the future, but difficult for me to get a png to start work on. On some of the others (including ic_settings_buttons.png) I had to make a png from the screenshot using gimp, before I made my icon. Which is less than ideal.
[Android Themes] RobbieL811:
Yeah. That icon that I made is a vector. What is wrong with using vector? Why do you need a png? There is a png of the icon in Slim's KK settings source. I agree. The Fn thing doesn't really make much sense. Even for what other Roms use it for which is buttons.
[Android Themes] danarama:
I don't know how to make my icons using Vectors

https://plus.google.com/u/0/photos/...6120950155050026930&oid=101616642112510848507
[Android Themes] DroidIt!:
My knowledge is limited, but I know I've read that with the standard open office draw program on Linux you can edit vectors. Don't know if that helps at all, just thought I'd share ;)
[Android Themes] RobbieL811:
You just wanna add a colored circle behind it? What color?
[Android Themes] PiousInquisitor:
You could use this tool: http://inloop.github.io/svg2android/

Did you ever figure out how to convert android xmls to vector images? Its quite simple. If you would like quick explanation let me know...

---------- Post added at 09:15 AM ---------- Previous post was at 09:11 AM ----------

Why in the world you you use Draw when you could use Inkscape? Lol.
[Android Themes] danarama:
Many different colours.

I'll have a look at that tool when I have time. Weekend perhaps. As long as I can easily create icons with multiple colours easily. The good thing about pngs is I can use batch processing

If you know a way to convert XML vector to svg or better yet, png, that would be most useful. Thanks :)
[Android Themes] danarama:
Cool thanks. I'll have a go sometime.
[Android Themes] rhamej:
My theme was updated. Tweaked SystemUI, Framework, Dialer and added Google Play and Google +.

https://plus.google.com/111751296794036538910/posts/4bEkzhQiC3r
[Android Themes] jerbeck24:
Possibly...keyboards are a lot of work! I'll see what I can do...
[Android Themes] flyinjoe13:
Want to try my hand at converting my CM12 theme to work with the Layer theme engine, but i've never done one before. I read the first tutorial from Brian Gill on getting things setup and opening the Hangouts Overlay. At the end of that tutorial, he talked about future tutorials that explained how to decompile apks so you can get the resources to edit, proper tagging for overlay manager, and how to take a template and rename it to something else you want to overlay. The problem is I can't find that tutorial anywhere, so I don't know what to do next to create my own layer\layers.

Can someone point me in the right direction on how to get started or give me a website link that has more in depth instruction so I can start to theme some of the system apps? Can I just take his Hangouts Overlay folder and edit the package name to match the app I want to theme in the Manifest and then add my resources?

Thanks
[Android Themes] tcat007:
Search XDA Android Multitool, should help some. Be nice if someone would do a video taking a 3rd party app, decompile, make it a layer apk, edit, recompile, sign. I'm stuck on taking a full app into a layer apk. Haven't figured out Project Layer Generator yet.
[Android Themes] PiousInquisitor:
You made a CM theme and have never decompiled an app?
[Android Themes] flyinjoe13:
I know how to decompile/recompile an app. What I don't understand is how to make a layer from scratch. I looked at the hangouts overlay folder in the tutorial and there are files in there i've never seen before so i'm not sure what to do with them. Was hoping there was a tutorial explaining step by step how to create a layer from scratch or at least a template to work with.
[Android Themes] PiousInquisitor:
That's what I thought. Why not use the template from the tutorial? I'm pretty sure the overwhelming majority of the people here are using it. As long as you change the android manifest info the finished product will be yours.
[Android Themes] flyinjoe13:
I asked about doing that in my original thread to see if that was an option. I guess it is. I was worried about whether I had to change more than just the manifest package name because there are references to hangout-overlay in a lot of the files. Didn't know if that would cause a problem if I tried to theme the dialer app using files that had hangout-overlay references all over the place.

One thing I could do (which is how I taught myself to theme for CM) is download someone elses layer which has different system apps already done and have a look at how they named everything. Kind of use it as a reference or template for the various stock apps and then use my icons and color themes to create my own.
[Android Themes] PiousInquisitor:
If you follow Brians tut, you know you simply change the package name (what you are going to name your 'app') and the target package name (the name of the app you are going to theme) for example com.android.systemui. All of the rest can and should be changed but it will still build and work without them being made.
[Android Themes] flyinjoe13:
Ok, thanks. I will get started doing it that way and see if I have any luck.
[Android Themes] PiousInquisitor:
One other thing you will want to change is the project name. This is what shows in Android Studio's status bar. It doesn't really affect anything but I change it anyway. You change it by going to File -> Project Structure -> Project -> Project name:. It should be named hangouts-overlay-master. Again it is aesthetic only.
[Android Themes] flyinjoe13:
Already done. I decompiled someone's dialer layer and looked at the Manifest and folder names for the smali directory to learn the proper way to name things. Then I used the hangouts example folder and changed it's name to dialer_overlay-master. Then I removed all references to hangouts-overlay and changed them to dialer-overlay, changed the layer name, author, etc. in the manifest and edited the folder names in the 'gen' directory to match my username and theme name. Also had to change the name of the iml file to dialer-overlay.iml. Opened up the project in Android Studio and got no errors. So now I just got to go about adding my resources and see what happens when I rebuild. I think the rest should be similar to doing a CM12 theme, i.e. changing .xml files and images that I need to complete the theme.

BTW, after I rebuild the project, does it need signed or does it get signed when it is rebuilt? I know I had to sign .apks when I compiled them for CM12 using AdvancedAPK Tool.

Thanks so much for the help. I think i'm good to go for setting up template folders for the various system apps from here on out.
[Android Themes] PiousInquisitor:
Sounds like you've got it. AS signs the app. No need to do it again.
[Android Themes] flyinjoe13:
Not quite. I did a quick test with the dialer. Everything rebuilt fine in AS, but when I try to use the layer, it crashes the dialer. Since i'm new to this, I am not sure what to look for as a cause. Time to start digging around.

I compared my rebuilt dialer.apk layer to the one I downloaded. What's strange is that when mine was rebuilt, it did not include my 'values' folder, only my drawables folders. I think that might be the reason for the crashes, but I don't know why it won't rebuild with the values folder included. I didn't get any errors upon rebuilding so I am a bit stumped.
[Android Themes] pierx:
Use Layers Project Generator by [MENTION=5035862]bunchies[/MENTION]

it's simple and pretty straight forward.
[Android Themes] Thanaya:
Hello everyone. Does someone know how we can delete an xml file with overlay? For example, i want to delete stat_sysbar_signal xmls in the /drawable folder of systemui.apk, and replace them with png images in other folders (/drawable-xhdpi, etc). I know that we can simply put the png images in the /drawable folder of the overlay theme, but doing so causes the images to become blurry and ugly.

Any help? Thanks!
[Android Themes] danarama:
If your image is a good resolution, it shouldn't become blurry. Make sure you are using a png with the appropriate resolution and quality.
[Android Themes] tcat007:
It's pretty simple if it's an app on the built in list. I can't get it to work on 3rd party apps. Any tutorials for an app like Solid Explorer or Tapatalk?
[Android Themes] danarama:
It's not really hard. I converted one of my projects for SystemUI to gmail really easily. It's just a case of editing the Android_manifest.xml to be the target package, which you can get from the app you want to target. Decompile the apk you want to target and look in it's manifest for the package name.
[Android Themes] cymbaline24:
https://www.youtube.com/watch?v=HN69xvNL-70

This video helped me. I still have lots of questions and lots to learn, but I was able to successfully make layers after following the steps in the video. I didn't have any luck with the project generator...still don't know why. I felt like I followed pretty much the same editing steps and it would make a layer apk, but it didn't actually theme anything. I would love to figure out what I did wrong because that way was far easier, lol, but ya gotta stick to what actually works.
[Android Themes] Thanaya:
Thanks for your reply. :)

My images indeed have good resolution. I tested them by directly modifiying my systemui.apk (deleting the xmls and putting the pngs in /drawable-xhdpi), and the result was good. Only when i use the layers method does the images become blurry.

So is there a way to delete xmls using layers?
[Android Themes] hunting_:
Nice work man can i use on my xperia z ? I'm one validaus lollipop

Thanks
[Android Themes] danarama:
Maybe it needs to be compiled with the overlay? I've replaced mutiple xmls with pngs and not had any reports of blurry images. But I do compile my overlay apks with the images in already.
[Android Themes] flyinjoe13:
Tried it but when I tried to open the project up in AS, it sasked something about upgrading project to gradle and I didn't know what to do. There was nothing to click on to say yes or upgrade the project. Reasearching now what to do, but so fr none of the web searches I've found have helped.
[Android Themes] danarama:
Just ignore it, like the g+ tutorial says.
[Android Themes] flyinjoe13:
About to give up. I can't seem to figure out how to do this. I feel like i'm doing everything correctly based on the tutorials and youtube video I watched, but everytime I make a layer it crashes the app the layer is for. It's very frustrating because it doesn't seem to be that hard of a thing to do, but I can't figure out where I am going wrong. Guess i'll go back to a CM12 based ROM so I can still do themes and gives this another shot somewhere down the line.

Thanks all for the help.
[Android Themes] PiousInquisitor:
Are you trying to include previews or a preview? Please post the apk and if possible the project files. It is probably something really simple. If I can do it anyone can.
[Android Themes] tcat007:
I'm having same issue. Started with this downloaded master here):

https://github.com/Grarak/KernelAdiutor

Ended up with this (decompiled apk):

https://www.dropbox.com/sh/cnxe6w83mikc86u/AABLF0ImnSapoOOryvL2kFqja?dl=0

I compiled and signed and had no effect on apk. (at least it didn't FC). Not quite getting what I can delete and what has to be kept.
[Android Themes] danarama:
You only take the res folder out of the decompiled apk and drop that in the project folder. You only compile via Android studio, not apk tool.

Then, you only keep in the res folder what you are changing. So if you are changing one line of code in one xml, you delete all teh other xmls, pngs etc and then remove all the other lines in the xml except the header and footer tags.
[Android Themes] flyinjoe13:
Well I finally got the dialer.apk not to crash and I think I know why, but I want to make sure my thinking is correct before I take the time to add the lines in the .xml file I think I need.

I took someone elses dialer layer and decompiled it to look at a few things. The one thing I saw was that he had a public.xml file with public id references to the images he included in his drawable folder and the color codes he has in his values\colors.xml file. THe colors.xml file I was using had a lot more color codes in it. So I deleted all of the lines in my colors.xml file except for the ones referenced in the public.xml file. After doing that, the dialer no longer crashes.

So my thinking is that I need to add the public id references to everything in my color.xml file in the public.xml file. The problem with that is there is a ton of them and i'm not sure if the those public id's have to be in any special format. I could just keep the same number scheme and just keep going up from where he left off.

My other thought was that I don't recall seeing a public.xml file in some of the other layers I decompiled. The Hangouts example doesn't have one. So i'm thinking if I just delete the public .xml, and use my original colors.xml file with all the color references, it might work that way.

Guess there's only one way to find out.
[Android Themes] PiousInquisitor:
public.xml is automatically created when you build the apk with AS. You dont need to mess with it.

Your colors.xml should look similar to this:

<?xml version="1.0" encoding="utf-8"?>
<resources>

<color name="dialer_theme_color_dark">#ff002a59</color>
<color name="dialpad_primary_text_color">#ffda291c</color>
<color name="dialpad_digits_text_color">#ffda291c</color>
<color name="dialer_theme_color">#ff003f87</color>
<color name="dialtacts_theme_color">#ff003f87</color>
<color name="incall_dialpad_touch_tint">#33003f87</color>
<color name="dialer_dialpad_touch_tint">#33003f87</color>

</resources>

I only include the colors im going to change.

Ill upload my files so you can see them...

---------- Post added at 02:37 PM ---------- Previous post was at 02:33 PM ----------

@flyinjoe13

This is my contacts layer. You should be able to open it in AS and build it.

https://drive.google.com/open?id=0B...nd2X2tzR20wZ1V0T3EzaVR3Y3llVC14azg&authuser=0
[Android Themes] cymbaline24:
The tutorial I followed said to delete the public.xml, that it would be regenerated upon compiling. I've done that for every one I've made and I've had no issues.
[Android Themes] jerbeck24:
Pitch Black Theme Updated to Version 3.0!

Added Google Keyboard (Pitch Black and White)!

Added AOSP Browser!

Fixed Hangouts!

Fixed Google Now text/icons at the bottom of search page!

Added hamburger style menu button! Thanks [MENTION=3810143]bgill55[/MENTION]!

Download link: http://goo.gl/vzYwBY
[Android Themes] flyinjoe13:
That's interesting and weird then. If I am understanding all of this correctly and I don't really need the public.xml file, then my problem is with my colors.xml file. There must be some entries in there that are incorrect or some entries are missing. Time to do some more digging.
[Android Themes] setiawanjimmy:
Maybe you have that code that redirect the color instead of defining it. Like [MENTION=403934]Color[/MENTION]/primary_text_color change it to #ffffff

That caused fc for me. Hope i make sense
[Android Themes] flyinjoe13:
I just came back to say I figured it out and it was exatcly what you said. I had colors referencing other colors instead of using the color code. Everything works fine now. I just need to fix a few things that aren't right compared to the CM12 version of this theme. Got a few drop down box color\text color issues, but at least I sort of know what i'm doing now.
[Android Themes] setiawanjimmy:
Glad you got it working. We are different from cm te. So you might wanna pull the apks you want to theme from the rom and decompile it. We exposed some hard coded color codes..