selection color and text color in whole project

by Kumar Bibek » Thu, 22 Apr 2010 17:37:50 GMT


Sponsored Links
 Look at how to set themes for your application. That should help you.

 http://developer.android.com/guide/topics/ui/themes.html 

Thanks and Regards,
Kumar Bibek



>



selection color and text color in whole project

by AJ (Anantha Javali) » Thu, 22 Apr 2010 21:46:47 GMT


 Here is an example, Please use add it as part of your manifest file


<?xml version="1.0" encoding="utf-8"?>
<resources>
    <style name="MyTheme">
 <item name="android:windowNoTitle">true</item>
<item name="windowFrame">@drawable/screen_frame</item>
<item name="windowBackground">@drawable/screen_background_white</
item>
<item name="panelForegroundColor">#FF000000</item>
<item name="panelBackgroundColor">#FFFFFFFF</item>
<item name="panelTextSize">14</item>
<item name="menuItemTextColor">?panelTextColor</item>
   </style>
</resources>

Set the theme in the manifest
<application android:theme="@style/MyTheme">





>


Sponsored Links


Other Threads

1. How to save an xml file?

Hi!
  I have created the xml structure (using DOM) but i don't know how to
save it on the phone.could someone help me please? Thank you.

-- 
Trimis de pe dispozitivul meu mobil

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

2. How to send SMS between two emulators (SDK 1.5 or older)

Hi,


with the SDK 1.5 it is possible to instantiate two emulators with two
different devices.
Could I assign a phone number to each device, such, that I could send
SMS messages forth and back?

thanks and bye



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

3. Is there a faster way than Math.atan2 for arc tangents?

4. Is Cupcake branch good for new hardware?

5. api or sdk Id to check for widget?

6. How can I use my own color instead of default orange color for selection

7. SQLiteStatement