Put your problem here if it does not fit any of the other categories.
I'm using SetTextColor to change the color of my TextView but I wish to go back then to default color.
How could I do ?
Thank you !
- Posts: 3
- Joined: Sat Jan 01, 2011 1:25 am
The easiest way is to define the default color in the colors.xml file in your values folder. Then, when you want to go back to default, you just access the color from this file.
- Master Developer
- Posts: 665
- Joined: Thu Jul 15, 2010 2:58 pm
- Location: WV USA
Return to Other Coding-Problems
Who is online
Users browsing this forum: No registered users and 31 guests