added in version 25.1.0
belongs to Maven artifact com.android.support:appcompat-v7:28.0.0-alpha1
belongs to Maven artifact com.android.support:appcompat-v7:28.0.0-alpha1
Summary:
Inherited Constants
| Inherited Fields
| Ctors
| Methods
| Protected Methods
| Inherited Methods
| [Expand All]
AppCompatButton
public
class
AppCompatButton
extends Button
implements
TintableBackgroundView
java.lang.Object | ||||
↳ | android.view.View | |||
↳ | android.widget.TextView | |||
↳ | android.widget.Button | |||
↳ | android.support.v7.widget.AppCompatButton |
![]() |
A Button
which supports compatible features on older versions of the platform,
including:
- Allows dynamic tint of its background via the background tint methods in
ViewCompat
. - Allows setting of the background tint using
backgroundTint
andbackgroundTintMode
.
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.
Summary
Inherited constants |
---|
![]()
android.widget.TextView
|
![]()
android.view.View
|