Android Support Material Button

In version 28.0.0 (currently in alpha) Android added a Material Button. Here is a quick snippet.

<com.google.android.material.button.MaterialButton
    android:id="@+id/material_button"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="@string/button_label_enabled">

This code makes it pretty easy to get a pretty button that is backwards compatabile. Check out the full list of attributes and some more examples in the references below.