public class AppCompatButton
extends Button implements TintableBackgroundView, TintableCompoundDrawablesView, EmojiCompatConfigurationView

   ↳ android.view.View
     ↳ android.widget.TextView
       ↳ android.widget.Button
         ↳ androidx.appcompat.widget.AppCompatButton

A Button which supports compatible features on older versions of the platform, including:

This will automatically be used when you use Button in your layouts and the top-level activity / dialog is provided by appcompat. You should only need to manually use this class when writing custom views.


Inherited constants