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. return a List in aidl?

Can I return a List in aidl? When I try to do so, I get an error in
the interface file that is automatically generated from my aidl file.
Any other return type seems to work.

The error is in reply.writeBinderList(_result); it says The method
writeBinderList(List<IBinder>) in the type Parcel is not applicable
for the arguments (List<IStatus>)



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

2. running 2.6.29 on HTC Dream

Greetings!  I'm responsible for getting my company's Bluetooth application
up and running on the Android platform, and the HTC Dream in particular.
One of our requirements was support for Bluetooth L2CAP enhanced
retransmission and streaming modes.  I've implemented the necessary changes
to the L2CAP core on a Debian system running 2.6.29 and 2.6.30-rc* kernels.
(The patchset has been submitted to the linux-bluetooth mailing list, a GSOC
student is currently integrating and extending it's functionality.)

I'm now faced with the prospect of getting it running on the HTC Dream,
running Android 1.5, which uses kernel 2.6.27.  I've successfully compiled
the android-msm-2.6.29 kernel from the Android kernel tree with the L2CAP
patches applied.  Unfortunately, when running this kernel, the prebuilt TI
wireless module will not load, due to it being compiled against a different
kernel version.

# insmod wlan.ko

Getting both Bluetooth eL2CAP and Wireless/WiFi working concurrently is
critical to our application.  Previous messages on this list imply 2.6.29
will be the next supported Android kernel.  Does this mean that the TI
module has been compiled against this kernel version?  If so, is it
available?

If not, would my only recourse be backporting the changes to 2.6.27?  But if
I do so, won't backporting to 2.6.27 and applying my patches still result in
a different git commit hash in the version magic string?  Or does it only
check the kernel version numbers?



   --nathan

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: 

3. How can I listen for WebView for a page load complete event?

4. Trying to retrieve codec output from Audio Record

5. 10 THINGS MANAGERSSUPERVISORS SHOULD KN...10 THINGS MANAGERSSUPERVISORS SHOULD KN...10 THINGS MANAGERSSUPERVISORS SHOULD KN...

6. How can I install my app to Dev G1 phone?

7. how to add space between column in TableLayout