AppCompatViewInflater
This package is part of the
Android support library which
is no longer maintained.
The support library has been superseded by AndroidX
which is part of Jetpack .
We recommend using the AndroidX libraries in all new projects. You should also consider
migrating existing projects to AndroidX.
To find the AndroidX class that maps to this deprecated class, see the AndroidX
support library class
mappings .
public
class
AppCompatViewInflater
extends Object
java.lang.Object
↳
android.support.v7.app.AppCompatViewInflater
This class is responsible for manually inflating our tinted widgets.
This class two main responsibilities: the first is to 'inject' our tinted views in place of
the framework versions in layout inflation; the second is backport the android:theme
functionality for any inflated widgets. This include theme inheritance from its parent.
Summary
Protected methods
AppCompatAutoCompleteTextView
createAutoCompleteTextView (Context context, AttributeSet attrs)
AppCompatButton
createButton (Context context, AttributeSet attrs)
AppCompatCheckBox
createCheckBox (Context context, AttributeSet attrs)
AppCompatCheckedTextView
createCheckedTextView (Context context, AttributeSet attrs)
AppCompatEditText
createEditText (Context context, AttributeSet attrs)
AppCompatImageButton
createImageButton (Context context, AttributeSet attrs)
AppCompatImageView
createImageView (Context context, AttributeSet attrs)
AppCompatMultiAutoCompleteTextView
createMultiAutoCompleteTextView (Context context, AttributeSet attrs)
AppCompatRadioButton
createRadioButton (Context context, AttributeSet attrs)
AppCompatRatingBar
createRatingBar (Context context, AttributeSet attrs)
AppCompatSeekBar
createSeekBar (Context context, AttributeSet attrs)
AppCompatSpinner
createSpinner (Context context, AttributeSet attrs)
AppCompatTextView
createTextView (Context context, AttributeSet attrs)