Guillermo Barreiro
Guillermo Barreiro

Reputation: 1385

Dark ActionBar in Holo Dark

I am developing an Android app on Android Studio and I would like to use the Holo Dark theme but in the KitKat version, I mean, how it appears on the picture I attach below.

enter image description here

I'm testing the app on a KitKat AVD, and in the manifest the maximum and target SDK version is 19, but the action bar is like in the pic below:

enter image description here

I just want to get the design like in the first image, so if anyone knows how, please tell me.

Upvotes: 0

Views: 308

Answers (1)

David Ferrand
David Ferrand

Reputation: 5470

You have to use the Solid ActionBar:

<style name="Theme.Whatever" parent="@android:style/Theme.Holo">
    <item name="android:actionBarStyle">@android:style/Widget.Holo.ActionBar.Solid</item>
</style>

Upvotes: 1

Related Questions