Reputation: 600
I'm trying to change an app theme at run time so I have added the android:theme tag to my manifest file which changes it from Holo to Holo.Light and I works, the only thing is that the action bar isn't showing with the new theme
Can someone please tell me what I'm missing, thanks
<application android:label="@string/app_name"
android:icon="@drawable/ic_launcher"
android:theme="@style/AppTheme">
[update] added the AppTheme as requested
<resources>
<style name="AppTheme" parent="android:Theme.Light" />
</resources>
Upvotes: 3
Views: 3052
Reputation: 152304
You are overwriting ActionBar styles. You should extend base Holo
or Holo.Light
theme with:
<style name="AppTheme" parent="android:Theme.Holo.Light">
Upvotes: 5