Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Change Text Color in Buttons

OP kbadulis74

31st May 2014, 04:38 AM   |  #1  
OP Junior Member
Thanks Meter: 1
 
7 posts
Join Date:Joined: Oct 2012
How could I be able to change text color in buttons?
From the image, I tried changing the boxed text from '<item name="textColor">@color/primary_text_holo_light</item>', and creating my own drawable xml file to link it with that. Color change seems successful, but it also affects other holo white buttons as well (see image). I don't want it to happen, for it renders those buttons unreadable. Can you help me with this one? Thanks in advance!
BTW I am currently using Android 4.2.2 Jelly Bean.
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	11
Size:	24.9 KB
ID:	2772253   Click image for larger version

Name:	Screenshot_2014-05-30-20-52-13.png
Views:	12
Size:	75.8 KB
ID:	2772254   Click image for larger version

Name:	Screenshot_2014-05-30-20-52-24.png
Views:	9
Size:	53.5 KB
ID:	2772255  
31st May 2014, 07:19 AM   |  #2  
Account currently disabled
Flag Dallas
Thanks Meter: 108
 
485 posts
Join Date:Joined: Oct 2012
Donate to Me
More
Quote:
Originally Posted by kbadulis74

How could I be able to change text color in buttons?
From the image, I tried changing the boxed text from '<item name="textColor">@color/primary_text_holo_light</item>', and creating my own drawable xml file to link it with that. Color change seems successful, but it also affects other holo white buttons as well (see image). I don't want it to happen, for it renders those buttons unreadable. Can you help me with this one? Thanks in advance!
BTW I am currently using Android 4.2.2 Jelly Bean.

cant you just set root explorer to use default device settings?
then use xblast tools from the xposed framework to change default system text colors.
31st May 2014, 11:15 AM   |  #3  
OP Junior Member
Thanks Meter: 1
 
7 posts
Join Date:Joined: Oct 2012
Thanks for the help, but I found a solution. I tried to find a more specific string, and it worked! I was planning to theme this framework, and use it for my first Custom ROM, a clean one without any 3rd party app to change styles. Thanks again!

Sent from my Cherry Life using XDA Free mobile app
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes