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:

                getWindow().setBackgroundDrawableResource(R.drawable.White);
                getListView().setBackgroundColor(Color.TRANSPARENT);
                getListView().setCacheColorHint(Color.TRANSPARENT);

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
India.

--



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. Gps one assisted GPS

Does any body knows whether donut release will have assisted gps?
Right now google disabled the user plane A-GPS

--~--~---------~--~----~------------~-------~--~----~

2. Why I can't delete SIM record?

Hi guys,

I can use code to delete contacts in phone, but I can't do it in SIM
card. Does anybody know it??

Here is my code to delete SIM record.

mSimUri = Uri.parse("content://sim/adn");
getContentResolver().delete(mSimUri, "name=?",new String[] {"people
name"});

No exception to execute this command, but not any result.

Can anybody give an eye on it? Thanks!
--~--~---------~--~----~------------~-------~--~----~

3. multiple google accounts

4. Doh! I killed my SMS notifications

5. Reg OMA DM , FOTA & DS

6. Flash Audio Wizard (v4) - Web Audio Software.

7. How to capture ACTION_MOVE MotionEvents in a view