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]
AppCompatImageButton
public
class
AppCompatImageButton
extends ImageButton
implements
TintableBackgroundView
java.lang.Object | ||||
↳ | android.view.View | |||
↳ | android.widget.ImageView | |||
↳ | android.widget.ImageButton | |||
↳ | android.support.v7.widget.AppCompatImageButton |
A ImageButton
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
. - Allows dynamic tint of its image via the image tint methods in
ImageViewCompat
. - Allows setting of the image tint using
tint
andtintMode
.
This will automatically be used when you use ImageButton
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.view.View
|