Android Gradient Background Color for Button

/res/drawable/gradient_color.xml

<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >

    <gradient
        android:angle="135"
        android:startColor="@color/colorBackground"
        android:endColor="@color/colorPrimary"
        android:type="linear" />

    <corners
        android:radius="0dp"/>

</shape>

activity_main.xml

            <FrameLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_below="@+id/editTextWeight"
                android:background="@drawable/gradient_color">
                <Button
                    android:id="@+id/buttonStart"
                    android:background="?android:attr/selectableItemBackground"
                    android:textAllCaps="true"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:text="@string/start"
                    />
            </FrameLayout>

References
https://github.com/mhdr/AndroidSamples/tree/master/077