Say I create a custom button like
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#FFFFFF" />
<corners android:radius="5dp"/>
And in my layout file I use the rounded button as
<Button
style="@style/login_button"
android:background="@drawable/button_rounded"
android:text="Awesome button"
/>
Is it possible to change the color of the button from the layout file? I just want a single rounded rectangular button, but want to be able to vary the background color if needed.