skip to Main Content

Android studio can't override default theme

I'm trying to assign a theme to a button with a custom background. It looks simply like this: <style name="button"> <item name="android:background">@drawable/buttonbackground</item> </style>‌ <Button android:theme="@style/button"/> The button keeps it's original background, but for TextView, for example, it works. <TextView android:theme="@style/button"/>…

VIEW QUESTION
Back To Top
Search