Dialogs Using ActionBarSherlock / HoloEverywhere Light

I am using Christophe Versiuex HoloEverywhere and theme Theme.HoloEverywhereLight.Sherlock.

System dialogs - copy all text, date picker, etc. - all have white text as the window title, not blue. You can see this if you run the demo.

I tried to style them using android:windowTitleStyle, but no luck. Has anyone used this and found a workaround?

Thank.

+3
source share
1 answer

The title text is hard to change . You can change the background color for the title so that it becomes readable and leaves everything else in an easy theme:

<style name="Theme.MyTheme" 
       parent="Theme.HoloEverywhereLight.DarkActionBar.Sherlock">
       <item name="android:alertDialogStyle">@style/AlertDialogHoloMix</item>
</style>

<style name="AlertDialogHoloMix" 
       parent="AlertDialogHoloLight">
       <item name="android:topDark">@drawable/dialog_top_holo_dark</item>
</style>

Gingerbread ICS.

+1

All Articles