yashsingh1/xdaforums huggingface dataset:
[Android Themes] potaturrias:
¡¡¡ I GOT IT !!! :D:D:D:D

the answer was to edit the smali.

I used dex2jar for clean code to use as a guide by jd gui, then I saw where it says the color of the date were referred to a secondary color, however the text color for the name was used -1, so copy the text color smali date and what I put into the color of the name.

Before:

iget-object v0, p0, Lcom/mediatek/contacts/calllog/CallLogListItemView;->mTextViewName:Landroid/widget/TextView;

const/4 v1, -0x1

invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

After:

iget-object v0, p0, Lcom/mediatek/contacts/calllog/CallLogListItemView;->mTextViewName:Landroid/widget/TextView;

iget v1, p0, Lcom/mediatek/contacts/calllog/CallLogListItemView;->mSecondaryTextColor:I

That's all folks

ps:Sorry for my english, i'm using google translator.
[Android Themes] pierre 1:
Hello! You know how to change the white background color for dark ics?

And change the text color to white?
[Android Themes] pierre 1:
I want it like this..

EDIT: SOLVED : Victory:
[Android Themes] CNexus:
That's probably in framework-res.apk
[Android Themes] pierre 1:
I know it is in the framework-res.apk, the more I wanted to know the exact path and which files should I change, you know?

Could someone show me the way?:o
[Android Themes] SpaceCaker:
global actions.xml of layout if i remembered
[Android Themes] CNexus:
Ah sorry, I haven't done enough to know exactly which they are

I CAN tell you that those are definitely 9 patch (.9.png) images though so that they're stretchable
[Android Themes] pierre 1:
how to solve this? which xml files in contacts.apk decompiled res / layout, layout_ko_finger, layout_land, finger layout, layout-land-finger and layout-long-land-finger?
[Android Themes] pierre 1:
EDIT: SOLVED!!!!! : Victory:
[Android Themes] ZduneX25:
[MENTION=3663046]pierre 1[/MENTION] i was not able to figure out these places, well done
[Android Themes] pierre 1:
it took me many days researching ... got more in order! ;)
[Android Themes] Typhus_:
Could you point me to the correct xml files?

I'm facing the same issue.

Thanks in advance.

EDIT:

NOTE - I only want to change the dark text to white. I still want the title to be blue.

NOTE 2 - I'm talking about contacts.apk

Can anyone help me, please?
[Android Themes] nooorick:
what are you using screen shot app?
[Android Themes] pierre 1:
When you change the popup text to white, the text of the title also changes to white.o contacts.apk uses standard text textappaerance.large the framewor-res.apk.

if contacts.apk use his own text, would be easier to solve.

When textappaerance.large changes to white text will have problems

white on white on other apks.
[Android Themes] Jecmenn:
Can you please tell me how can I add that settings icon beside the text on big window title.... I followed the main tut and now I have a big window title...but I want to add icon to it...so..plz tell me how can I do it..? Which lines to be modified...?

Thank you.
[Android Themes] pierre 1:
Jecmenn

Change the activity_title_bar.9.png in framework_res.apk res / drawable-hdpi

Enviado de meu GT-I9000B usando o Tapatalk 2
[Android Themes] lenka2611:
I have successfully theme dark

Thank You.
[Android Themes] Jecmenn:
I don't want to change background. I want to add icon in front of that text.
[Android Themes] pierre 1:
anyone know where to change text color of the buttons? need to change to white

email.apk in Saurom jwb 2.3.6
[Android Themes] GuardDemon:
Error recompile and compile ;'(

hey! this is a very useful thread! but why everytime i recompile the framework-res images on framework-res change to lines? and why everytime i compile a framework-res always error?

sorry if my english is bad :D i'am from Indonesia

thank you! please reply this question :)
[Android Themes] kintwofan:
If you post the error log we may be able to help
[Android Themes] GuardDemon:
oh sure :) just screenshot

Spoiler content hidden.

Help me yea.. :D
[Android Themes] D2Y aka E:
question

if anyone can help me to change the color of progress in setting.apk ram, I cm10.1 user gts6500D ..

---------- Post added at 11:51 AM ---------- Previous post was at 11:48 AM ----------

example screenshot that I will edit
[Android Themes] D2Y aka E:
example screenshot that I will edit
[Android Themes] MuSaddiq:
How to change that blue color secondary text in gb?
[Android Themes] SpaceCaker:
its inside colors folder of framework-res.apk

somewhere at botton

secondary it was if i recall
[Android Themes] Typhus_:
Change color on string-arrays

Hello!

This is an awesome guide that has helped me a lot. Thank you for that.

Unfortunately, I'm facing an issue regarding some text colors (

I'm modding a stock deodex gingerbread ROM

).

I need to set the color to white for all "string-array types". Meaning, for example, on Contacts when we want to select a different label for an e-mail, this will use:

from framework-res.

My problem is, I don't know where to change the default color (which is black) into white for all these specific "string-arrays".

Can anyone help me on this?

Thanks in advance.
[Android Themes] ZduneX25:
Just read last few pages of this thread it has been posted by someone.
[Android Themes] Typhus_:
You're correct.

framework-res.apk -> layout -> simple_list_item_1.xml and simple_list_item_2.xml

simple_list_item_1.xml modified to:

<?xml version="1.0" encoding="utf-8"?>
<TextView android:textAppearance="?textAppearanceLarge" android:textColor= [MENTION=403934]Color[/MENTION]/primary_text_light_holo_only" android:gravity="center_vertical" android:id="@id/text1" android:paddingLeft="6.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="?listPreferredItemHeight"
xmlns:android="http://schemas.android.com/apk/res/android" />

simple_list_item_2.xml modified to:

<?xml version="1.0" encoding="utf-8"?>
<TwoLineListItem android:paddingTop="2.0dip" android:paddingBottom="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="?listPreferredItemHeight" android:mode="twoLine"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textAppearance="?textAppearanceLarge" android:textColor= [MENTION=403934]Color[/MENTION]/primary_text_light_holo_only" android:id="@id/text1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginTop="6.0dip" />
<TextView android:textAppearance="?textAppearanceSmall" android:id="@id/text2" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@id/text1" android:layout_alignLeft="@id/text1" />
</TwoLineListItem>

primary_text_light_holo_only:

<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:color="#ffe6e6e6" />
<item android:state_window_focused="false" android:color="#ffffffff" />
<item android:state_pressed="true" android:color="#ff000000" />
<item android:state_selected="true" android:color="#ffffffff" />
<item android:color="#ffffffff" />
</selector>

By the way, if you guys want to have the white text turned to black whenever you press it

, check styles.xml and find #ffffffff. Replace that for [MENTION=403934]Color[/MENTION]/primary_text_light_holo_only.

Example:

Change this:

<style name="TextAppearance.Widget.DropDownItem.Holo" parent="@style/TextAppearance.Widget">
<item name="textColor">#ffffffff</item>
</style>

Into this:

<style name="TextAppearance.Widget.DropDownItem.Holo" parent="@style/TextAppearance.Widget">
<item name="textColor"> [MENTION=403934]Color[/MENTION]/primary_text_light_holo_only</item>
</style>

The example above is already a modification that's available on the OP. Iv'e decided to go further and "improve" it.

Thank you for your help!

:victory:
[Android Themes] D2Y aka E:
hello sir .. please help me to change my pictures show the direction of the arrow I do not know where to park the picture and name of the image that should be my fox .. I'm using 4.2.2 jb rom base (cm10.1)
[Android Themes] ZduneX25:
drawables.xml of framework-res.apk:
[Android Themes] jayOOMjay:
blue divider

Can anyone help me ..

1) to change this white background behind the buttons( not the button background, which is the btn_default_xxxx.9.pngs ) in this dialog.

2) add a blue divider under this dialog title. it is from ics , how to add that blue divider in cm7 dialogs

I've added a line

<ImageView android:id="@id/titleDivider" android:background="@color/holo_blue_light" android:layout_width="fill_parent" android:layout_height="2.0dip" />

inside

dialog_custom_title.xml

dialog_title.xml

dialog_title_icons.xml

I got that from a post post#224

the same image view is also there in dialog_title_holo.xml from ics framework, but it is not working in cm7

Thanks in advance ;)
[Android Themes] KuaQ:
Hi guys, maybe you can help me :)

How I can change this volume popup background from black to white?

Wysłane z mojego C1505 przy użyciu Tapatalka
[Android Themes] acermedo:
You are awesome man

Very useful guide
[Android Themes] KuaQ:
Hi guys, maybe you know how I can add margin (left and right) in settings apk?

somthing like this:

Wysłane z mojego C1505 przy użyciu Tapatalka
[Android Themes] lacoursiere18:
You just need to add a drawable to the line in display_headers.xml or whatever it's called not sure of the name in CM..

But you need to add android:@drawable/ (name of png) than add png in res/drawable;)
[Android Themes] KuaQ:
Thank you for answer and sorry for double post :(

I don't want to add icons i want to hmm center(?) layout (free space on left and right side)

I want to look like this :

From this :

Wysłane z mojego C1505 przy użyciu Tapatalka
[Android Themes] lacoursiere18:
They look the same to me.. Sorry not sure exactly what you are talking about..

Edit: I guess I see a slight difference.. my suggestion would be to decompile that settings you are looking at (the one you want it like) and see how the layout is set in display_headers.xml...copy it;)
[Android Themes] KuaQ:
Thanks for your reply.

I mean this :

I look into settings layout, i dont found display_headers.xml (only display.xml). I reviewed the layout both of the application and did not find any difference. It may lie in the framework?
[Android Themes] lacoursiere18:
Hmm well let me take a look into where those headers are.. and see what the layout should be.. Also it might be your switches.. they seem a little large and the other ones you should are smaller.. so you could gain your space there...

And switches are in framework-res;)
[Android Themes] Diego910:
Well i don't know how to do it, but i did it reverse because i was doing a touchwiz themed ROM. In framework on dimens.XML you will find something like paddding 8.0dip (the framework of the ROM with the space). When you find the exactly name search for it in layout or styles.... And when you find it see how it is defined so you can repeat it in yours
[Android Themes] acermedo:
first, thank u for this amazing work :good:

sec. the important part :D i need to change the secondary black text in power menu (see attach.)
[Android Themes] SpaceCaker:
Hello guys

i have used a custom Style and such in frameworks and moddified preferenve_category.xml

however

i have tabbed settings and noticed that weirdly

while all activities are using same theme style

on first tab it loads the custom category but on other tabs not

tab1

tab2 different

while in all other apps its fine .

so anyone knows how to fix or locate this issue ?

Note: i dont own the device but looked through it all and all other theme parts applied fine

also this is a Gingerbread phone/rom ;)

thanks for helps :)
[Android Themes] SpaceCaker:
i have resolved this issue.

my settings.apk was using custon layout in preferencecategory which overrode my edits but its fixed
[Android Themes] acermedo:
Your settings layout is nice. how did u make tabs in it ?
[Android Themes] SpaceCaker:
followed a guid or gb on xda.

and moddifie frameworks + all other apps to gain my style.
[Android Themes] ZduneX25:
Settings view is using your own style, but ram usage view is a regular android style, so it loads default style with your changed drawables.
[Android Themes] SpaceCaker:
true.

but the thing was inside the .xml

lets say

program_settings.xml

the preferencecategory was loading a custom layout for the category

when i removed it it took my framework style again

it was simply not looking good enough in th files
[Android Themes] ZduneX25:
When I was making my miui light theme I had to find style name in preference xml (in settings.apk) that's right, but then I had to redirect it directly in styles.xml, make sure that all old names of the style been replaced with the new one (in framework).

I cannot be more specific because I left cm for miui long time ago.
[Android Themes] SpaceCaker:
jup

i have managed it all and it works like how i want :)
[Android Themes] acermedo:
Can anyone help me to change the secondary black text in power menu ?

I can't find it in colors.

---------- Post added at 04:35 PM ---------- Previous post was at 04:27 PM ----------

Didn't find any guide on how to add toggles to wifi.bluetooth...

Can you provide link ?
[Android Themes] ZduneX25:
[MENTION=5399496]acermedo[/MENTION] it's in smali in androids older than jellybean (sub-text in power menu)
[Android Themes] acermedo:
Thanks for your

Will look for it.
[Android Themes] ZduneX25:
I was looking for it long time ago and I cannot remember whether I managed to change it or not, but someone did change it through smali that's for sure.
[Android Themes] SpaceCaker:
power menu text is inside globalactions.xml of layout in frameworks u can change it there.

the eifi on off toggles are smali moding and guides are available for it on xda
[Android Themes] acermedo:
I searched alot and tried many times to change these black text in color.xml but failed
[Android Themes] SpaceCaker:
most are in layouts or in styles.xml

find its style and thats where u can start
[Android Themes] ZduneX25:
You would need to dig a lot, but just like I said power menu is almost all about android.policy.jar

Specially in this case (gingerbread).
[Android Themes] enotar:
Can you tell me what file I had to modify to change a little the color of the tittle of this dialog, this is an example but multiple dialog have this fonts color like power title menu and select wallpaper and else and I want to put a little gray or give more color at the contour of the letters to see it better.

This Is for Samsung device KK 4.4.2.

What res do I have to modify?

Thank you very much
[Android Themes] lacoursiere18:
Most likely primary or secondary text in framework-res under styles. Depending which one your device uses, I see your on TW, so if the text is white your are using DeviceDefault
[Android Themes] enotar:
Thank you

Is there one change for alll or multiples for each dialog? Is there a ressoufce name for this dialog title text?
[Android Themes] Shadow-Nexus:
What about newbies?
[Android Themes] mDroidd:
Indeed. There is a community to grow and you grow by helping people.

I mean I can search AALLLL the apps, but you could make it easier, and you get thanks from newbies like me :)

Greets

____________

mDroid - Tapatalk

Phone: LG-P500

ROM: Nitrogen.

Kernel: franco .35

Theme: ICS (by me)

Tweaks: ALL (knzo)

Wishlist: Galaxy Nexus :)
[Android Themes] montuk:
im also newbie not much know

but guys already thread title shows its for themers not for noob

Im learning theming from sticky theme guid so you can read and learn from there then come here :)
[Android Themes] ZduneX25:
@monts11 you are right, newbies should learn more easy things before, cos once you start from hard tricks you may stuck and you will never know how to move on, but once you finally have bigger knowledge you can find out how to fix many issues | in other case you will ask all the time and tired people won't answer anymore

@mDroidd you do not have to be advanced themer to be able to figure it out moreover if you would like to start from browsing applications this is not for you seriously, this is for theme choosers..... you do not have to look for anything just save my codes as xml and redirected correctly...
[Android Themes] DaXmax:
Theming is easy, is not like making babies.... Or develop one... Heck, why im talking about this? Anyway, as long you have a knowledge to edit xml is done (learn linux too)... ;) Im sure, Zdune can be a recognized dev already... :rolleyes:
[Android Themes] Habarug:
Thank you so much, I've been trying to find out this for a long time :D

Edit: just had to edit: everything I've EVER wondered about how to do is in this thread, It's just amazing :-D now I can finally improve my ics themes :-D

sent with love from me to you
[Android Themes] R3D X:
dude the page to buy it isn't in english and I don't know how to buy it :(
[Android Themes] ZduneX25:
Try to visit my deviant in description of ICS theme there is other donate link, should be English :)

___________

sent form ics themed device
[Android Themes] R3D X:
Ight bought the ics theme so are you gonna email me the link?
[Android Themes] mDroidd:
You will get an automatically generated email with download link, yes.

Greets!

mDroidd from tapatalk

_____________________________

Sent from my Galaxy Nexus

[-]Everything still stock

_____________________________

LG Optimus One

ROM: Nitrogen

Kernel: custom .35

Tweaks: All :cool:

Theme: ICS (inside Nitrogen by me)
[Android Themes] R3D X:
k I got it. I just needed to view a few a things in it :) thanks zdune
[Android Themes] zelendel:
Thought I would move over here. Your right it does work on CM7 and AOSP roms as well as MIUI. As for the SGS what roms have you tried it on? As I know it doesn't work on roms built from carrier builds. I know this from my work on Mosaic when I had the captivate. This theme set up was made by CM and only roms built using that code uses is.
[Android Themes] kevin2516:
Hey this is great work man thanks a lot ;)
[Android Themes] ZduneX25:
@zelendel I did my changes in SGS II framework from AOSP rom and it worked, middle screen:
[Android Themes] zelendel:
Like I said it does work on AOSP roms. Not OEM roms. I agree it works on AOSP and MIUI roms. It just doesn't work on the OEM roms
[Android Themes] gabwerkz:
A little help here brothers. All is fine except Deskclock. Font color or background? Times are in grayed part.
[Android Themes] ZduneX25:
Go and read 1st post man it's there...

___________

sent form ics themed MT11i
[Android Themes] gabwerkz:
Doinks.. I missed it. Saw it now, thanks. :p
[Android Themes] JokerAce:
Do we have to remove the resources.arsc file when we compile the apks after changing the contents of xml files?
[Android Themes] :
Sorry, this is a bit of a stupid question, but I couln't work it out myself.

What changes do you need to make to the code to have a transparent background which shows the users current wallpaper?

And would there be a way of overlaying a semi-transparent filter over that to make text etc readable?

Thanks :)
[Android Themes] kanyazsombor:
Hi Guys!

First of all thanks to ZduneX25 for this really great guide.

I modified the ICSGingerbread theme (market link) from sonnysekhom (xda thread link) according this guide. I made transparent settings.

The result is very nice for me. The settings background is transparent :). If I set live wallpapper I see it's movings in settings.

This is the end of the ugly black CM7. :cool:

I have only one problem: how can I change the background and the text appearance of "General", "Incoming calls", "Notifications"... you can find theese on the picture below.

Thx
[Android Themes] ZduneX25:
It's dark_header.9.png, but system won;t load it transparent until you replace one more line (tested :p):

original value is dark_header_dither (xml file from /drawable) you need to type dark_header in place of dark_header_dither to make it loads this as image then it will allow transparency for this 'bar'

you can also set custom color and size for text there, I used white #ffffffff
[Android Themes] johnpaul777:
very informative thread ... more snapshots will help for newbies like me ..

btw tried it on sony pro cell though
[Android Themes] cure25:
So usefull

This is one of my favourite thread

LEWA OS M-1
[Android Themes] kanyazsombor:
Thank you!!!! It was quick answer :)

<EDITED>

I have one more question :D

I applied your transparent status bar patch. It works fine, but only with your theme (I installed the Miui one).

What should I do to get transparent status bar with my theme? I mentioned my theme above.

Thx

Solved:

Just replaced the statusbar_background.png.
[Android Themes] jasonevil:
You have to edit the status bar image to be transparent
[Android Themes] Stormrader:
Thanks for making this. This will be really useful for my upcoming theme I'm making...
[Android Themes] kanyazsombor:
Thanks, I got it meanwhile. :)
[Android Themes] kanyazsombor:
Man thank you!!!

I managed it.

It wasn't so easy, because I edited the theme.apk, not the framework.apk. After copying the text (you send) into the styles.xml the compiling of the file got error. I'm not a programmer, so I wanted to ask here what to do, but before I read the log of my Apk Multitool. It said that no resource found for Widget.Textview. I compared the styles.xml from the framework (of my rom) with the theme's styles.xml. After the research :cool: I tried this:

I put just theese rows into the styles.xml with the 2 "android:".

It works :D

Thank you!
[Android Themes] OJ:
Please Help!!!!

First of all i didnt get any themes.xml in my framework...is it styles.xml???

And plzz tell me which line to be replaced for custom background???? Plzz dont ignore...plz tell me....
[Android Themes] kanyazsombor:
first: I'm a beginner :D

but I recommend to edit a theme.apk. In this way you can't brick your framework. After any mistake just uninstall the theme. But it is up to you.

Yes, it is styles.xml.

"which line?"

First post, 1/a.

But how do you will make themes (from your sig.) if you don't know this ;)
[Android Themes] OJ:
Hey...u..b4 talking like this...

check this out

http://xdaforums.com/showthread.php?t=1531363

and this one

http://xdaforums.com/showthread.php?t=1445034

and now u look at my signature...

I m a themer and a rom maker(modifier)...

I checked the given lines to replace in styles.xml...but they are not present in styles.xml and therefore, i m asking here...got it..??
[Android Themes] adude247:
Dude I give up don't know why I can't do it like you did, I used the custom instructions in the first post, It would be nice if you could share your completed .apk with us slow kids lollol
[Android Themes] kanyazsombor:
to oj_buddy:

Hey Bro, take it easy!! Read carefully! There was a smiley at the end of the line

If the line doesn't exist, paste it into the file :D

to adude247:

here is the link for the modified theme.

I just modified. The original is here

I had to edit the xml/android.xml file as well. I put the following lines into it:

<item name="style/Theme">@style/Theme</item>
<item name="style/Theme.NoTitleBar">@style/Theme.NoTitleBar</item>
<item name="style/Theme.Black">@style/Theme.Black</item>
<item name="style/Theme.Dialog">@style/Theme.Dialog</item>
<item name="style/Theme.Light">@style/Theme.Light</item>
<item name="style/Theme.Translucent">@style/Theme.Translucent</item>
<item name="style/Theme.NoDisplay">@style/Theme.NoDisplay</item>
<item name="style/Theme.Panel">@style/Theme.Panel</item>
[Android Themes] zelendel:
Ok guys lets keep the thread civil and leave the rude childish comments back on the playgound ok:D
[Android Themes] OJ:
Hey...Friend...thanks...:)

1 more question...where to add those lines??? At the end of all the text in styles.xml??? and 1more....how to fix that deskclock problem??? Plzz tell me..
[Android Themes] Randy Edge:
@ZduneX25

Can you help me a bit out ? I have a flashable theme but want to convert it to apk for themechooser.

Thanx.