I am in the process of replacing the buttons in my app with Material Buttons using
When crashing The following message was output to Logcat.
Caused by: java.lang.IllegalArgumentException: This component requires that you specify a valid TextAppearance attribute. Update your app theme to inherit from Theme.MaterialComponents (or a descendant).
Therefore, you can also display MaterialButton by adding TextAppearance.