<?xml version="1.0" encoding="UTF-8"?>
<resources>
<style name="Light" parent="@style/Theme.Sherlock.Light.DarkActionBar">
<item name="android:actionBarStyle">@style/ActionBarIPS</item>
</style>
<style name="IndeterminateProgress" parent="@style/Widget.Sherlock.ProgressBar">
<item name="android:indeterminateDrawable">@drawable/progress_small_holo</item>
</style>
<style name="ActionBarIPS" parent="@style/Widget.Sherlock.Light.ActionBar.Solid.Inverse">
<item name="android:indeterminateProgressStyle">@style/IndeterminateProgress</item>
</style>
</resources>
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<style name="Light" parent="@android:style/Theme.Holo.Light.DarkActionBar">
<item name="android:actionBarStyle">@style/ActionBarIPS</item>
</style>
<style name="IndeterminateProgress" parent="@android:style/Widget.ProgressBar.Small"/>
<style name="ActionBarIPS" parent="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse">
<item name="android:indeterminateProgressStyle">@style/IndeterminateProgress</item>
</style>
</resources>
This gives me the small progress drawable on ICS, but the emulator running 2.3.1, doesn't seem to pick up on the change. In fact, I tried changing out the drawable, so I could see if it was doing anything, and it doesn't appear to be.
So, question is, how can I get the small indeterminate progressbar in pre-ICS with the Light.DarkActionBar theme?
FWIW, I'm using ABS 4.0RC1, with support plugin.
Thanks,
Mark
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<style name="Light" parent="@style/Theme.Sherlock.Light.DarkActionBar">
<item name="actionBarStyle">@style/ActionBarIPS</item>
<item name="android:actionBarStyle">@style/ActionBarIPS</item>
</style>
<style name="ActionBarIPS" parent="@style/Widget.Sherlock.Light.ActionBar.Solid.Inverse">
<item name="indeterminateProgressStyle">@style/IndeterminateProgress</item>
<item name="android:indeterminateProgressStyle">@style/IndeterminateProgress</item>
</style>
<style name="IndeterminateProgress" parent="@style/Widget.Sherlock.ProgressBar">
<item name="android:indeterminateDrawable">@drawable/smallprogress</item>
</style>
</resources>
<style name="Dark" parent="Theme.Sherlock">
<item name="actionBarStyle">@style/Widget.Styled.ActionBar</item>
<item name="android:actionBarStyle">@style/Widget.Styled.ActionBar</item>
</style>
<style name="Widget.Styled.ActionBar" parent="Widget.Sherlock.Light.ActionBar">
<item name="android:indeterminateProgressStyle">@style/IndeterminateProgress</item>
</style>
<style name="IndeterminateProgress" parent="@android:style/Widget.ProgressBar.Small">
<item name="android:indeterminateDrawable">@drawable/progress_small_holo</item>
</style>
<style name="Widget.Styled.ActionBar" parent="Widget.Sherlock.Light.ActionBar">
<item name="android:indeterminateProgressStyle">@style/IndeterminateProgress</item>
<item name="indeterminateProgressStyle">@style/IndeterminateProgress</item>
</style>
<resources>
<style name="Dark" parent="Theme.Sherlock">
<item name="actionBarStyle">@style/Widget.Styled.ActionBar</item>
<item name="android:actionBarStyle">@style/Widget.Styled.ActionBar</item>
</style>
<style name="Widget.Styled.ActionBar" parent="Widget.Sherlock.Light.ActionBar">
<item name="android:indeterminateProgressStyle">@style/IndeterminateProgress</item>
<item name="indeterminateProgressStyle">@style/IndeterminateProgress</item>
</style>
<style name="IndeterminateProgress" parent="Widget.Sherlock.ProgressBar">
<item name="android:indeterminateDrawable">@drawable/progress_small_holo</item>
</style>
</resources>