Get Label Text Color

abhishek007p

Active Member
Licensed User
Longtime User
Hi,

how to get system colors ? i want to get color of label text.

in my case i am using Halo theme, but listview items (and few more controls) appear in very light font, which makes it harder to read, so i changed it to DarkGray color, it solved my problem. but running the app on older android version which doesnt have Halo theme result in a black background and a grey text color, which makes it harder to read.

so now what i have done is, added a label control and getting its TextColor, this way i have to add one extra control for each activity. just wondering if there is any inbuilt solution.


Thanks,
abhishek
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…