I want to display some of my app activities as white "popups" when the device screen is big enough. So I am styling these activities with Theme.Holo.Light.DialogWhenLarge
:
<style name="PopupActivity" parent="@android:style/Theme.Holo.Light.DialogWhenLarge"></style>
But this way I get light (white) action bars (when activity is not rendered as dialog), because of the Holo Light theme. I know there's the Theme.Holo.Light.DarkActionBar
theme to get white contents and dark bar, but I can't use it because of Theme.Holo.Light.DialogWhenLarge
, obviously. So I tried to change my style to:
<style name="PopupActivity" parent="@android:style/Theme.Holo.Light.DialogWhenLarge">
<item name="android:actionBarStyle">@android:style/Widget.Holo.ActionBar</item>
</style>
But with no results. How can I have a Theme.Holo.Light.DialogWhenLarge
themed activity, but with a dark action bar?