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. Some transactions are charged a 5% transaction fee instead of the usual 30%

Probably related to ADP1/Ion sales on non-tmobile networks?

It'd sure be nice if google added any sort of transparency to ..
well.. anything. Esp market sales, since it has to do with income.
(But that would be as strange as adding it to their advertising
services.)








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

2. Licensing an Android application programatically.

Hello list..

I had a query:

If i wish to attach an evaluation license to my android application,
how can that be achieved ? As for example, i may want to provide an
evaluation license based application that expires in one of the
following ways:

1. Time based (30 days etc)

2. Usage based ( 100 invocations of the application).

Once the application's license expires, i need to restrict access to
it from the user.

Thanks in advance..

Best Regards

aayush
--~--~---------~--~----~------------~-------~--~----~

3. click on a gone view

4. Eclipse & Visual SourceSafe Problem

5. wait till layout is shown

6. Best practice for AsyncTask when screen is rotated

7. Justify a TextView?