yashsingh1/xdaforums huggingface dataset:
[Android Themes] hoppermi:
<style name="Theme.Calculator.ButtonStyle" parent="@style/Theme.Calculator">

<item name="android:textSize">40.0sp</item>

<item name="android:gravity">center</item>

<item name="android:focusable">true</item>

<item name="android:layout_width">fill_parent</item>

<item name="android:layout_height">fill_parent</item>

<item name="android:layout_margin">0.0dip</item>

<item name="android:layout_marginLeft">1.0dip</item>

<item name="android:layout_weight">1.0</item>

<item name="textColor">@color/function_text_color</item>

<item name="textColorHint">@color/button_hint_text</item>

<item name="themeBackground">@drawable/btn_function</item>

<item name="font">btn_font</item>

</style>

Looks like there is a 1.0dip margin on left side of buttons
[Android Themes] bariz143:
Im getting a INSTALL_FAILED_THEME_AAPT_ERROR when trying to run the theme alot, What does that mean?
[Android Themes] SwissAndroidX:
Im still working on my first theme and it looks not so bad but there are still some problems.

I changed the background color of the notification center with the following color (see attached picture).But the displayed color in the notification center isn't correct, i did that with gimp.

I also changed the color of the notification header in "#414f58". There on the right site the color is correct displayed. Does anyone know how to fix?

Many thanks
[Android Themes] samijam:
From post #5, theming the dialer: I can't get dialpad_primary_text_color to change. I see that you have changed it from the default: #3B77E7 to #33b5e5 in your JellyRevenge theme. I'm trying to change it to #5e5e5e ( a grey), but it still shows the default blue.

EDIT: I changed the holo_blue_light and holo_blue_dark in assets/overlays/android/res/values/colors.xml and now my dialpad has the grey that I wanted. Not sure why this is the case, but it's working now.
[Android Themes] hoppermi:
Already asked and answered. You need to look at ic_notify_btn_bg.xml in drawable folder. Either direct to transparent image, or make the image it is calling transparent.
[Android Themes] :
oops sorry... the color of dialpad buttons is linked to action bar background :)
[Android Themes] :
add <item type="drawable" name="notification_header_bg">#ff######</item>

in drawables.xml (systemUI)

And

delete the fill between the tags in

list_selector_disabled_holo_dark.9.png

and

list_selector_pressed_holo_dark.9.png is the feedback

in framework :)
[Android Themes] bariz143:
What did you do to change your notification panel background?

I tried the one op provided but it doesnt change.
[Android Themes] Devil Trigger:
UP! :D

_____

I've a problem with FC... when i change whatsapp icons, it crashes!
[Android Themes] SwissAndroidX:
You have to edit the following picture: assets-->overlays-->com.android.systemui-->res-->drawable-xxhdpi-->notification_panel_bg.9.
[Android Themes] bariz143:
Yeah I have changed it but nothing happens. I have themed almost everything but no luck on notification panel background :) think I'll start over and see what happens. Maybe I have messed something else and that's causing the background not to be themed. Thank you.
[Android Themes] hoppermi:
What ROM are you using? I know Mahdi ROM has some custom settings for that image
[Android Themes] SwissAndroidX:
Yeah maybe. Try to start over. If you have questions, just ask!
[Android Themes] bariz143:
Yes I will do that. Thanks

I was on N5XPA yesterday when I realized that background didn't get themed but now I'm on PA latest build going to give PA a try when I get home
[Android Themes] error404:
Thanks for your help guys, i think i've finished my theme. :D
[Android Themes] SwissAndroidX:
Looks really nice!
[Android Themes] samijam:
theming calculator

How do I theme the color of the number on the calculator buttons? I changed this:

<color name="button_text">#f999994</color>

in assets/overlays/com.android.calculator2/res/values/color.xml

but it doesn't change this color. This should be a grey. I changed my background to white and I though that maybe the text was still white also, because I don't see anything, except the = button has a dark background and I can't see anything on it either. (see first screenshot)

edit: When I switch the style back to Holo theme, my calculator is displaying like it should in my theme(see second screenshot)
[Android Themes] bariz143:
Anyone else getting this error when syncing and trying to run the theme on the device?

[2014-07-26 04:41:03 - baggz143] Installation error: INSTALL_FAILED_THEME_AAPT_ERROR

[2014-07-26 04:41:03 - baggz143] Please check logcat output for more details.

[2014-07-26 04:41:03 - baggz143] Launch canceled!

I have to resync like 20 times before it finally gets pushed to device??

And one more major issue is when applying the theme I get settings fc when trying to get in to like screen settings :)

Almost done with my theme and would appreciate if you guys could help me :)
[Android Themes] :
windows?

i need a complete logcat

http://bit.ly/16I1sXA

connect your device, enable adb and start receiving log and repeate the fc :)
[Android Themes] bariz143:
Yes I'm using Windows. And I don't know about that rar file. Can i just create a log cat with the built in logcat creator?
[Android Themes] hoppermi:
You can use built in, or download catlog from play store and you can get it right on device.
[Android Themes] hoppermi:
Nothing there about why the failed install. As for the FC, it isn't showing either. Make sure USB debugging is on :)

The install error will include your package name, FC will state what is terminating
[Android Themes] :
07-26 18:15:50.590 E/AndroidRuntime(13760): at android.content.res.Resources.loadDrawable(Resourc es.java:2194)

07-26 18:15:50.590 E/AndroidRuntime(13760): at android.content.res.TypedArray.getDrawable(TypedAr ray.java:602)

07-26 18:15:50.590 E/AndroidRuntime(13760): at android.view.View.<init>(View.java:3554)

07-26 18:15:50.590 E/AndroidRuntime(13760): at android.view.ViewGroup.<init>(ViewGroup.java:470)

07-26 18:15:50.590 E/AndroidRuntime(13760): at android.widget.AdapterView.<init>(AdapterView.java :234)

07-26 18:15:50.590 E/AndroidRuntime(13760): at android.widget.AbsSpinner.<init>(AbsSpinner.java:6 8)

07-26 18:15:50.590 E/AndroidRuntime(13760): at android.widget.Spinner.<init>(Spinner.java:165)

07-26 18:15:50.590 E/AndroidRuntime(13760): at android.widget.Spinner.<init>(Spinner.java:144)

07-26 18:15:50.590 E/AndroidRuntime(13760): at android.widget.Spinner.<init>(Spinner.java:128)

delete all the themed

spinner_ab_*.9.png

spinner_activated_*.9.png

spinner_default_*.9.png

spinner_disabled_*.9.png

spinner_focused_*.9.png

spinner_normal_*.9.png

spinner_pressed_*.9.png

from the framework

:)
[Android Themes] bariz143:
You are the best bro. But should I just delete them or replace them,??

EDT: FIxed the problem, thank you :)
[Android Themes] bariz143:
Can someone help me with the text on switches? I wanted to remove it and did exactly like the tutorial but the text is still there. i resynced and did clean, build project but the text are still there.
[Android Themes] :
Sorry.. I updated the op :) just add back the textview andmake the text trasparent :)
[Android Themes] bariz143:
So the text is still there? When adding my own switch it gets miss placed because the text is still there but not visible??

And the funny thing is that it worked the first time with previous text you had there. I had to buy a new computer and then it didn't work anymore haha ?
[Android Themes] Shlikstr:
Hi [MENTION=5266287]EnricoD[/MENTION]

I'm trying to start theming with Eclipse but I don't see the option of Android view anywhere. May I need any plug-in or something?? neither I find Logcat of course or import Android file...

Greetings,

Edit: I found where was the problem :confused: For some reason ADT wasn't installed... Sorry guys
[Android Themes] SwissAndroidX:
Many thanks. I could change the notification-pannel header. But the color i still not so dark as i want.

Do you also know how can i remove the qs-tile border or the gab between?
[Android Themes] hoppermi:
Systemui dimens.XML quick_settings_cell_gap
[Android Themes] SwissAndroidX:
Do i have to add this xml in the drawable folder?
[Android Themes] hoppermi:
Nope. dimens.XML goes in values, like colors.XML and styles.XML. Just copy that dimen from systemui dimens.xml into your themes com.android.systemui/res/values/dimens.xml and change to 0.0dip
[Android Themes] SwissAndroidX:
It worked. Thanks!
[Android Themes] blazze11:
Can someone help me with two things.

1. How can I change the color of the clock & date on the notification header

2. Can someone tell me how to theme the "tasks" in slim recents?

Gesendet von meinem Nexus 5
[Android Themes] error404:
Someone know how can i change these images? First is dialer and the other is contacts.
[Android Themes] hoppermi:
Pretty sure clock and date are in styles.XML for systemui.

No idea about slim, bit if you decompile the systemui from it, you should find what you need.
[Android Themes] :
<style name="TextAppearance.StatusBar.Expanded.Clock">

<item name="android:textSize">32dp</item>

<item name="android:fontFamily">sans-serif-light</item>

<item name="android:textStyle">normal</item>

<item name="android:textColor">#ffffff</item>

</style>

<style name="TextAppearance.StatusBar.Expanded.Date">

<item name="android:textSize">12dp</item>

<item name="android:textStyle">normal</item>

<item name="android:textColor">#cccccc</item>

<item name="android:textAllCaps">true</item>

</style>

For slim recents don't know but i'll into slim github
[Android Themes] :
The 3dots button is the overflow button... For the others try to searxh inside xxhdpi and xhdpi folder... ic action search or ic ab search or something like this ;)
[Android Themes] Primokorn:
I recently built my first apks through Eclipse so your 2nd post helped me to start.

It's really better to test changes than apktool :)

A couple of questions though:

► where do we have to set the min, target & max SDK version?

► where do we have to mention the apk version of the theme?

I thought it has to be define into Androidmanifest.xml but there's nothing from CM template.
[Android Themes] :
you don't need to set these values :) just download 19 api from sdk manager

just add

android:versionCode="#"

android:versionName="#" >

look at lollidark manifest :)

https://github.com/enricodortenzio/LolliDark/blob/master/AndroidManifest.xml

-----------

when I'll return from vacation i'll update the guide in op and upload my template :)
[Android Themes] error404:
Yeah i'll try to change mdpi, i already changed xxhdpi, xhdpi and hdpi... nothing yet.

I was thinking could be something related to framework-res.

I'll try here. Thanks friend.
[Android Themes] :
[MENTION=4034307]Koulis2000[/MENTION]

i reserved post #6 to you, if you wanna help me with Android Studio, when YOu have time

[MENTION=4653206]22sl22[/MENTION] post #7 is your, for resources :)

thanke
[Android Themes] Koulis2000:
Great! Tomorrow I'll make the guide!
[Android Themes] 22sl22:
Sorry for the delay. I'm doing new resources for the following devices:

XXHDPI- NEXUS 5

XHDPI- NEXUS 4

TABLET- NEXUS 7 2012 & 2013

HDPI- GALAXY S2

With these ROMs:

AOKP, CM, PA.

If I missed any let me know :good:
[Android Themes] :
Perfect :)

Don't worry, take Your time :)
[Android Themes] blazze11:
I need some help again,

I want to theme the quicktiles with an .9 image. Is this possible?

Or add an boarder around them.

See the attached Screenshot.

Left is like it is at the moment, right is how I want it.

Edit: I fixed it by myself
[Android Themes] error404:
Oh, great idea. Changed the color by png image in xml?
[Android Themes] hoppermi:
You know what would be really useful? A directory with all the rom-unique images. So themes could easily support all the major ROMs. I just use CM as base, but I'm willing to support other ROMs, just don't have time to mine all the apks for ROM specific images. If ROM devs, or someone else would be willing to put together the images(or other resources) that are unique to their ROM, with their locations, I can support more users. :)
[Android Themes] 22sl22:
Lol that's exactly what I did before except for less devices.

But I will definitely release it today. Decompiled resources (system ui, framework etc + a few more) for the devices and roms I mentioned above :good:
[Android Themes] blazze11:
When I try to export a signed apk I get always the error:

Illegal resource reference: @*android resources are private and not always present
[Android Themes] hoppermi:
You will get this if the style you are parenting is not in framework. Just remove the *android:

After getting on my computer so I can see what your image was, what exactly are you trying to do?

---------- Post added at 08:13 AM ---------- Previous post was at 07:51 AM ----------

I see you are working outside the assets folder, what are you trying to do?
[Android Themes] blazze11:
I just opended it cause it showed the error.

Thanks for your help
[Android Themes] upndwn4par:
You could just go to each ROMs github repo and look there. Would be easier than downloading every ROM and decompiling a bunch of apps for each.
[Android Themes] 22sl22:
Hi Everyone,

Finally done :)

Decompiled Resources for most densities

I case you don't know what this is or what I do here, these are decompiled resources for all the themers out there. So say you have limited internet (Only 30-40mb per file) or just don't have the time to trawl though dozens of apks, this is for you. I have decompiled 'core' apps for PA, CM and AOKP.

Core Apps are:

System-App:

DeskClock

Email

System-Priv App:

Contacts

Framework

Keyguard

Settings

SystemUI

Things included in Phone devices:

IncallUI

Dialer

MMS

If you want other apps, let me know and I will add them in a separate package :good:

I have done it for the following densities, I tried to be as broad as possible but if you want more densities/devices added, let me know :good:

XXHDPI- Hammerhead/Nexus 5

XHDPI- Mako/naxus 4

HDPI- I9100/Galaxy S2

Tablet-

Flo/Nexus 7 2013

Grouper/Nexus 7 2012

Download:

Now how I have structured it is one main folder that contains all the sub device folders with all the files you need inside compressed zips (decompiled of course :) ):

http://www.androidfilehost.com/?w=files&flid=17577

Updating all files as this is being typed................

Enjoy and if I made any errors, let me know ASAP

If you want anything added, let me know.

Press the thanks button if you like my work :good:
[Android Themes] bariz143:
Is this the template enriqo promised or what?
[Android Themes] 22sl22:
It's not a template, it's resources too help all themers. So when you make your own theme, you don't have to download all the roms and decompile them, I've done it for you :)

I'm not sure what template [MENTION=5266287]EnricoD[/MENTION] said but as a general one, use the Great Freedom one :good:

https://github.com/elelinux/GreatFreedom

https://play.google.com/store/apps/details?id=org.cyanogenmod.great.freedom
[Android Themes] bariz143:
Thank you for the links but id like to start with stock theme and the one enriqo provided had to much broken images and he promised to make one with no broken images. But thank you for the assets bro. Very appreciated
[Android Themes] 22sl22:
No problem :)

I did quote his name so i'm sure he'll be around sometime with more info about the template :good:
[Android Themes] blazze11:
[MENTION=4653206]22sl22[/MENTION] Can you add Mahdi Rom resources?
[Android Themes] :
i will work on it asap, sorry for the delay but I'm working to finish XDA and AOKP themes

when I'm finished I will prepare it and upload to the git

Meanwhile You can replace broken CM Theme Template pngs with these resources

https://www.dropbox.com/s/1gsh313b8wkq7nb/drawable-xxhdpi.tar.gz
[Android Themes] 22sl22:
Yeah, sure. I'll add it later on today :good:
[Android Themes] blazze11:
And maybe some of the L preview?

I had problems to decompile them yesterday.
[Android Themes] 22sl22:
You can't do Android L just yet. Apktool is not yet compatible with it. The only parts you would be able to extract are images

Sent from my Note 10.1 2014
[Android Themes] Primokorn:
[MENTION=4653206]22sl22[/MENTION] great work you have done here! Do u plan to update all packages each time?
[Android Themes] 22sl22:
Thanks :)

Depends on what you mean by each time :)

Obviously this isn't a one off thing. It is a very large task to do and i am adding things to it as you can imagine so not every week but maybe every second week an update. Or if I see some thing major and theme related like PAs new recents then I'll probably update it :good:

Sent from my Note 10.1 2014
[Android Themes] Primokorn:
I mean every "significant modification" but updating them every 2 weeks is enough imho.

Actually the last MMS apk from Mahdi rom uses a gray background for the conversations (list background set to #ffdddddd). I couldn't keep this light bg on my dark theme :p so I wanted to decompile the new MMS.apk... but I had errors thus I went to Github to find the last modifications.

It was a small update (new code line) but with an important impact on the UI.
[Android Themes] 22sl22:
That's fine, thanks for the tip :)

Gonna start on Mahdi resources in a bit :good:
[Android Themes] LuqmaanMathee:
Settings Background

Hey how I theme the settings background.
[Android Themes] blazze11:
I did it in android/res/drawable-nodpi/background_holo_dark

but its also possible via a xml in the drawable folder
[Android Themes] LuqmaanMathee:
Thanks

I'm Batman!
[Android Themes] bariz143:
No problem as long as you do it bro. I'm going to try that but I don't know where and which ones I'm supposed to replace or should I just take everything in the zip file and replace them on my assets folder?
[Android Themes] rush25:
i like doing it via xmls too :)
[Android Themes] LuqmaanMathee:
Do xmls work better?

I'm Batman!
[Android Themes] blazze11:
i would too but I have some problems to understand it. I need a lot of more practise. I only use it if it's necessary.

I know it's useful for adding boarders, shapes and animations.

Do you know where I can learn it a bit more?

[MENTION=5266287]EnricoD[/MENTION] Maybe you can add it to your guide?
[Android Themes] rush25:
yes .. from 4.2+ Google removed static images and added xmls

cm added png for easy theming :)

xml load faster than png :) like vector :)
[Android Themes] LuqmaanMathee:
Thanks[emoji1]

I'm Batman!
[Android Themes] blazze11:
I need some help again

How do I theme the button color in the dialer?

I tried already in call_button_background but its still black.

and how do I get the numbers green?
[Android Themes] error404:
When i open an app, the navigation bar and status bar are black. Is there a way to change it to other color?
[Android Themes] cooper_man:
Should go to >> assets\overlays\com.android.dialer\res\drawable-xhdpi << And edit all number.png by Gimp or photoshop :)
[Android Themes] :
Try

<color name="system_bar_background_opaque">#ff000000</color>

In systemui
[Android Themes] bariz143:
Bro don't want to rush you but could you please give a eta one the template you promised? :) eagerly waiting for it
[Android Themes] :
Well, I really don't know :p

maybe in september, when I'll have a new PC (my brother needs his pc, the pc i used this month ahhaha)... that's the reason behind my absence these days.

I always asked him to use his pc to build xda, jellyrevenge and aokp theme chooser app, but now he need it :(

I only have a netbook, but it's very slow and can't use git tools

i will try next days with my netbook xD
[Android Themes] error404:
Hey guys, someone know where can i find this icons?

I want to change it to white. Already themed all images in drawable folders, i can't find those.

The first is contacts.apk and the second is dialer.apk.﻿

Second question: how can i change the text color in MMS?

Thanks
[Android Themes] bariz143:
Haha alright then. I understand bro. Take your time.
[Android Themes] hoppermi:
Probably using a framework-res image for search. The dialer images arecwhite by default, so you already have found it. Possibly in framework-res also.
[Android Themes] blazze11:
It's me again.

I'm theming Swype and want to ask if it's possible to theme the "Swypeline" the color of the suggested words?
[Android Themes] mastero9017:
Any idea how to add padding/margin here?﻿
[Android Themes] rush25:
i had it added as a bug in my theme :( but it would be useless to you as i have tabs there and not a single color :(
[Android Themes] 22sl22:
Change contacts colours

Hi,

I was wondering if anyone could help me with contact + dialer avatar colours. I'm talking about the ones in Conatcts on the side and they show up in Dialer as well which means it could lie somewhere in framework res but i'm not sure where it is so I was hoping someone knew where it's located so I could change it. Here are the screenshots:
[Android Themes] Primokorn:
It's hard coded in layouts :(
[Android Themes] 22sl22:
Just when I thought I found it lol

Anyway, if it's in layouts then it should be configurable unless you mean smali...........
[Android Themes] Primokorn:
Layouts can't be themed through the theme engine AFAIK. Anyways if you find something let us know :)
[Android Themes] 22sl22:
I'll have a look but I doubt I would find anything that you guys haven't found already. Thanks for the help anyway :good:
[Android Themes] franovantOtto:
Does anyone know where is the file or the string that colors this part of the notification bar / quick settings? Sorry but it's my first theme and I'm a little confused ... Thanks in advance and sorry for my bad English.:fingers-crossed:
[Android Themes] error404:
I think it's in styles.xml but I'm not sure.
[Android Themes] hoppermi:
The background is in drawables.xml notification_header_bg. There is also some button bg in drawable folder ic_notify_btn_bg.xml or something similar to that
[Android Themes] matthew0776:
I'm getting this in manifest..all I did was add the name of theme on that line..? any help will be appreciated.
[Android Themes] :
I think is some kind of special library (smali) and not resources :)
[Android Themes] :
Clean and build the project, those are warning You can ignore them :)
[Android Themes] matthew0776:
ok cool... i haven't made any edits or added any pngs yet. just got set up...

I'm def gonna need some help as I get this going...lol thanks for the tutorial bro ...!!

WHERE TO START ?!?!? any tips..?
[Android Themes] 22sl22:
Yeah that's what I was gonna post. Saw a few bits and pieces here and there in smali.

But that got me thinking what if you leave the smali out. When you go to change a contact photo it changes it everywhere so I'm not sure how easy it would be but design an app that would change the photo for all contacts at the same time to a stock image or anything else. Just an idea, not sure if this would even work.....
[Android Themes] matthew0776:
what up man.. nice seeing u over here also. lol

Question.. With pngs would i have to replace all pngs in all the res folderz...?
[Android Themes] 22sl22:
Hi, nice to see you too lol................

Anyway, for the pngs, it depends on what you want to theme/how much you want things themed. If you're using a template, its best to replace everything to your own liking. Or just decompile another theme and see what's themed in terms of pngs. Obviously, if you're talking of the system apps like framework res for example, no not every single image has to be changed if you know what I mean.