Custom theme and sherlockActionBar

Posted by Atomico on Stack Overflow See other posts from Stack Overflow or by Atomico
Published on 2012-11-14T19:47:16Z Indexed on 2012/11/15 11:01 UTC
Read the original article Hit count: 319

Filed under:
|

I am doing a personal theme to use holo widget in 2.3 android.

I did this:

 <resources xmlns:android="http://schemas.android.com/apk/res/android">

  <style name="AppThemes" parent="@style/Theme.Sherlock">

    <item name="android:editTextStyle">@style/EditTextAppTheme</item>

    <item name="android:checkboxStyle">@style/CheckBoxAppTheme</item>

    <item name="android:radioButtonStyle">@style/RadioButtonAppTheme</item>

    <item name="android:buttonStyle">@style/ButtonAppTheme</item>

    <item name="android:imageButtonStyle">@style/ImageButtonAppTheme</item>

    <item name="android:spinnerStyle">@style/SpinnerAppTheme</item>

    <item name="android:dropDownSpinnerStyle">@style/SpinnerAppTheme.DropDown</item>

    <item name="android:spinnerDropDownItemStyle">@style/SpinnerDropDownItemAppTheme</item>

  </style>

</resources>

the problem is that widgets don't take the correct style but take the default style. I tried to force assign the @style/EditTextAppTheme at an edittext and it worked.. so the problem is that the theme don't apply.

any idea?

update: the theme apply and work good..the solo problem is some edittext inside a dialog that show with the standard theme

© Stack Overflow or respective owner

Related posts about android

Related posts about android-theme