Is any difference between a MaterialButton and a simple Button?
问题 If I set Theme.MaterialComponents.Light as my main theme, will be any difference between these two buttons if I use them in an xml layout? <Button /> <com.google.android.material.button.MaterialButton /> As I saw they behave both as MaterialButtons. If I want to get the behavior of the old plain button, I have to use: <androidx.appcompat.widget.AppCompatButton /> Thanks in advance! 回答1: If you are using a Material Theme there is no difference between <Button /> and <com.google.android