Hey guys, I'm trying to understand styles in andro...
# android
j
Hey guys, I'm trying to understand styles in android. This is the following style I created for my button.
Copy code
<style name="OrangeButtonPrimary">
        <item name="android:textColor">@color/white</item>
        <item name="cornerRadius">8dp</item>
        <item name="backgroundColor">#FC7E2F</item>
        <item name="android:textAllCaps">true</item>
    </style>
However, when I add the style to my button nothing happens. I am therefor wondering whether I did something wrong or not?
google 2
stackoverflow 2
u
Your style does not contain parent, also if you are using material theme so you need to read latest docs for styling, some old codes not works with material ui components