android - My custom theme does not apply to buttons -


i have been created custom theme following xml representation:

<style name="abtheme" parent="android:style/theme">       <item name="android:textcolor" >#ffbb22</ item>       <item name="android:background" >#ff1a557c</ item>       <item name="android:button" >@style/abbutton</ item> </style > 

and implemented abbutton in xml file:

<style name="abbutton" parent="android:widget.button">     <item name="android:padding" >3dp</ item>     <item name="android:background" >#121212</ item>     <item name="android:textcolor" >#ffffff</ item> </style > 

but button styles not apply buttons, , buttons have default android style, can tell me how can fix problem

note applied abtheme main activity

add parent style

<item name="android:buttonstyle">@style/abbutton</item> 

Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -