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. Proxy again

Hi there,
Explain me please, Why I can't create settings of the proxy server with help
of method:

//Main.java
Settings.Secure.putString(getContentResolver(), Settings.Secure.HTTP_PROXY,
param);
//AndroidManifest
<permission
android:name="android.permission.WRITE_SECURE_SETTINGS"
android:protectionLevel="signatureOrSystem">
</permission>

<permission
android:name="android.permission.WRITE_SETTINGS"
android:protectionLevel="signatureOrSystem">
</permission>

<uses-permission
android:name="android.permission.WRITE_SETTINGS" >
</uses-permission>
<uses-permission
android:name="android.permission.WRITE_SECURE_SETTINGS" >
</uses-permission>

Thank You.

-- 

2. Manual Proxy

Hi there,
Explain me please, Why I can't create settings of the proxy server with help
of method:

//Main.java
Settings.Secure.putString(getContentResolver(), Settings.Secure.HTTP_PROXY,
param);

//AndroidManifest
<permission
android:name="android.permission.WRITE_SECURE_SETTINGS"
android:protectionLevel="signatureOrSystem">
</permission>

<permission
android:name="android.permission.WRITE_SETTINGS"
android:protectionLevel="signatureOrSystem">
</permission>

<uses-permission
android:name="android.permission.WRITE_SETTINGS" >
</uses-permission>

<uses-permission
android:name="android.permission.WRITE_SECURE_SETTINGS" >
</uses-permission>

Thank You.

-- 
.

3. API's available for configuring email settings

4. Check if device is online or offline

5. Why ADB Shell no working ?

6. Drag and Drop

7. This is True / False or a bug!?