AppCompatViewInflater

open class AppCompatViewInflater
kotlin.Any
   ↳ androidx.appcompat.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

Public constructors

This class is responsible for manually inflating our tinted widgets.

Protected methods
open AppCompatCheckBox
createCheckBox(context: Context!, attrs: AttributeSet!)

open AppCompatMultiAutoCompleteTextView

open AppCompatToggleButton

open AppCompatImageButton
createImageButton(context: Context!, attrs: AttributeSet!)

open AppCompatRatingBar
createRatingBar(context: Context!, attrs: AttributeSet!)

open View?
createView(context: Context!, name: String!, attrs: AttributeSet!)

open AppCompatSpinner
createSpinner(context: Context!, attrs: AttributeSet!)

open AppCompatImageView
createImageView(context: Context!, attrs: AttributeSet!)

open AppCompatRadioButton
createRadioButton(context: Context!, attrs: AttributeSet!)

open AppCompatAutoCompleteTextView

open AppCompatSeekBar
createSeekBar(context: Context!, attrs: AttributeSet!)

open AppCompatCheckedTextView

open AppCompatButton
createButton(context: Context!, attrs: AttributeSet!)

open AppCompatEditText
createEditText(context: Context!, attrs: AttributeSet!)

open AppCompatTextView
createTextView(context: Context!, attrs: AttributeSet!)

Public constructors

<init>

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.

Protected methods

createCheckBox

@NonNull protected open fun createCheckBox(context: Context!, attrs: AttributeSet!): AppCompatCheckBox

createMultiAutoCompleteTextView

@NonNull protected open fun createMultiAutoCompleteTextView(context: Context!, attrs: AttributeSet!): AppCompatMultiAutoCompleteTextView

createToggleButton

@NonNull protected open fun createToggleButton(context: Context!, attrs: AttributeSet!): AppCompatToggleButton

createImageButton

@NonNull protected open fun createImageButton(context: Context!, attrs: AttributeSet!): AppCompatImageButton

createRatingBar

@NonNull protected open fun createRatingBar(context: Context!, attrs: AttributeSet!): AppCompatRatingBar

createView

@Nullable protected open fun createView(context: Context!, name: String!, attrs: AttributeSet!): View?

createSpinner

@NonNull protected open fun createSpinner(context: Context!, attrs: AttributeSet!): AppCompatSpinner

createImageView

@NonNull protected open fun createImageView(context: Context!, attrs: AttributeSet!): AppCompatImageView

createRadioButton

@NonNull protected open fun createRadioButton(context: Context!, attrs: AttributeSet!): AppCompatRadioButton

createAutoCompleteTextView

@NonNull protected open fun createAutoCompleteTextView(context: Context!, attrs: AttributeSet!): AppCompatAutoCompleteTextView

createSeekBar

@NonNull protected open fun createSeekBar(context: Context!, attrs: AttributeSet!): AppCompatSeekBar

createCheckedTextView

@NonNull protected open fun createCheckedTextView(context: Context!, attrs: AttributeSet!): AppCompatCheckedTextView

createButton

@NonNull protected open fun createButton(context: Context!, attrs: AttributeSet!): AppCompatButton

createEditText

@NonNull protected open fun createEditText(context: Context!, attrs: AttributeSet!): AppCompatEditText

createTextView

@NonNull protected open fun createTextView(context: Context!, attrs: AttributeSet!): AppCompatTextView