Hey, just try this: (giving a lot of answers, since maybe one of them works for you): -
android:theme="@style/Theme.Holo // or if you want to use the Holo light theme: android:theme="@style/Theme.Holo.Light
also:
Theme.Holo and Theme.Holo.Light have been available since API level 11, but Theme.Holo.Light.DarkActionBar is new in API level 14. res/values/themes.xml: <resources> <style name="MyTheme" parent="@android:style/Theme"> </style> </resources> res/values-v11/themes.xml: <resources> <style name="MyTheme" parent="@android:style/Theme.Holo"> </style> </resources> Finally, in AndroidManifest.xml: <application android:name="MyApplication" android:label="@string/application_label" android:icon="@drawable/app_icon" android:hardwareAccelerated="true" android:theme="@style/MyTheme">
and in action:
<activity android:name=".login" android:label="@string/login" android:noHistory="true" android:theme="@android:style/Theme.Holo.Light"/> <activity android:name=".Preferences" android:theme="@android:style/Theme.Holo.Light" >
user2552666
source share