added in
version 27.1.0
belongs to Maven artifact com.android.support:appcompat-v7:28.0.0-alpha1
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)
View
createView (Context context, String name, AttributeSet attrs)
Inherited methods
From
class
java.lang.Object
Object
clone()
boolean
equals(Object arg0)
void
finalize()
final
Class<?>
getClass()
int
hashCode()
final
void
notify()
final
void
notifyAll()
String
toString()
final
void
wait(long arg0, int arg1)
final
void
wait(long arg0)
final
void
wait()
Public constructors
AppCompatViewInflater
AppCompatViewInflater ()
Protected methods
createView
View createView (Context context,
String name,
AttributeSet attrs)
Parameters
context
Context
name
String
attrs
AttributeSet
Content and code samples on this page are subject to the licenses described in the Content License . Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[]]