How to change preference text color

by subrat kumar panda » Thu, 22 Apr 2010 16:48:25 GMT

Sponsored Links
 Hi all,
In my app i am facing a problem & not
getting a desired solution from anywhere.

in my prefereence screen there are 4 checkboxes and 2 listviews.
i have changed the background color white by using the following code:


Now, the problem is the total screen looks white , how
i change the text color means, title, summary etc.

if anybody go through the problems ,
help me.

Thanks in advance,

Best Regards
Subrat Kumar Panda


How to change preference text color

by faizan khan » Fri, 23 Apr 2010 03:18:15 GMT

 Good you learn't something from Trek :)

specify *android*:theme="@*android*:style/*Theme.Light*" in the manifest
file for preference activity instead of changing backgorund color.

On Thu, Apr 22, 2010 at 2:17 PM, subrat kumar panda <


Sponsored Links

How to change preference text color

by subrat kumar panda » Fri, 23 Apr 2010 15:23:59 GMT

 Hello Faizan,
Thank you so much.


Other Threads

1. change color of Button

Hi, everybody
I want to change color of button. Now I am done this with

LightingColorFilter(0xFF9933, 0x0CC000));

But is it possible to 1)change button color like - At the left top
corner have dark color and color become faint as we move to the right
bottom corner.

2) Can we change the color of border of button?



2. Setting up development environment on windows 7

Hi all,
I want to start learning with my Android developement. I have a
windows 7 Home Premium PC. My problem is I am not able to setup the
development environment for android. Here is what I have done till
1. I have installed Java (both 32 bit and 64 bit versions)
2. I have installed Android SDK (installer_r08-windows.exe)
3. I have not yet downloaded any tools or platforms or ADT.
4. I have downloaded 32 bit eclipse. (
5. I am stuck at this eclipse setup. A strange thing I observed is
that, it does not install. When I click on eclipse.exe, it starts
running from there only. I am still wondering if my eclipse IDE is
installed properly?
6. So, I assumed that my eclipse is working fine. Then when I try
installing new programs in eclipse, eg google plugin, it gives error.

I want to know, where am I going wrong? What mistakes am I doing?
Can anyone guide me with the complete step by step procedure to setup
my android development environment on windows 7?

Thanks in advance.

- Jay


3. XL unlimited

4. Android 2.3 NFC Capabilities

5. app to webservice connection architecture?

6. Pdf shows with video and other content

7. Listen to UEvents