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. Problem installing apk via code

Hi, I am trying to install a apk file by starting Intent.ACTION_VIEW
but in 1.6 and lower I see the initial install screen but on clicking
on 'install' nothing happens. This works fine on N1... anyone else
expereinced this? Am I doing somethig wrong?

String fileName = Environment.getExternalStorageDirectory() + "/
myApp.apk";
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.fromFile(new File(fileName)), "application/
vnd.android.package-archive");
startActivity(intent);

I also have <uses-permission
android:name="android.permission.INSTALL_PACKAGES"></uses-permission>
in my manifest file.

Any pointers?

-- 

2. Starting data whenever cell network is in service

Push email delivery, among other things, requires a data connection.




-- 

3. Integrate IPhone Safari like view in Android?

4. How to update album art in MediaStore?

5. Problem on getting SOAP response

6. ROAMING on Android, has anyone ever worked with it???

7. coonection between MediaRecorder and PVMediaRecorder