Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,793 Members 40,934 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Change Text Color in Buttons

Tip us?
 
kbadulis74
Old
#1  
Junior Member - OP
Thanks Meter 1
Posts: 7
Join Date: Oct 2012
Question [Q] Change Text Color in Buttons

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:	4
Size:	24.9 KB
ID:	2772253   Click image for larger version

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

Name:	Screenshot_2014-05-30-20-52-24.png
Views:	3
Size:	53.5 KB
ID:	2772255  
 
Lgrootnoob
Old
#2  
Lgrootnoob's Avatar
Senior Member
Thanks Meter 102
Posts: 464
Join Date: Oct 2012
Location: Dallas

 
DONATE TO ME
Quote:
Originally Posted by kbadulis74 View Post
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.
No need to download the whole android sdk or put adb in your path anymore!
Just extract my tool and run the adbClientLaunch script.
To get started go here >
http://forum.xda-developers.com/show...ight=adbclient
My name is Jacob Lane but I prefer to go by Lgrootnoob. (You may also know me as Faelo the music producer)

What have I created? See here:
 
adbClient
Lg Lucid 2 root and other random contributions to the forums here
 
kbadulis74
Old
#3  
Junior Member - OP
Thanks Meter 1
Posts: 7
Join Date: 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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes