Set switchStyle - get error resource not found - why?
问题 I ran into a strange Problem: I am creating a style for an app and I set: <item name="android:spinnerStyle">@style/CustomSpinnerAppearance</item> <item name="android:textViewStyle">@style/CustomTextViewAppearance</item> <item name="android:buttonStyle">@style/CustomButton</item> Now I wanted to set: <item name="android:switchStyle">@style/CustomSwitch</item> And I get this error. No resource found that matches the given name: attr 'android:switchStyle'. I have checked in API-Lvl 14 and 15