LeanbackAppCompatViewInflater


class LeanbackAppCompatViewInflater : AppCompatViewInflater


Inflater that converts leanback non-AppCpmpat views in layout to AppCompat versions.

Summary

Public constructors

Protected functions

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

Inherited functions

From androidx.appcompat.app.AppCompatViewInflater
AppCompatAutoCompleteTextView
AppCompatButton
createButton(context: Context!, attrs: AttributeSet!)
AppCompatCheckBox
createCheckBox(context: Context!, attrs: AttributeSet!)
AppCompatCheckedTextView
AppCompatEditText
createEditText(context: Context!, attrs: AttributeSet!)
AppCompatImageButton
createImageButton(context: Context!, attrs: AttributeSet!)
AppCompatImageView
createImageView(context: Context!, attrs: AttributeSet!)
AppCompatMultiAutoCompleteTextView
AppCompatRadioButton
createRadioButton(context: Context!, attrs: AttributeSet!)
AppCompatRatingBar
createRatingBar(context: Context!, attrs: AttributeSet!)
AppCompatSeekBar
createSeekBar(context: Context!, attrs: AttributeSet!)
AppCompatSpinner
createSpinner(context: Context!, attrs: AttributeSet!)
AppCompatTextView
createTextView(context: Context!, attrs: AttributeSet!)
AppCompatToggleButton
createToggleButton(context: Context!, attrs: AttributeSet!)
View?
createView(
    parent: View?,
    name: String,
    context: Context,
    attrs: AttributeSet,
    inheritContext: Boolean,
    readAndroidTheme: Boolean,
    readAppTheme: Boolean,
    wrapContext: Boolean
)

Creates an AppCompat-compatible widget by automatically "substituting" all usages of core Android widgets with the AppCompat extensions of those widgets.

Public constructors

LeanbackAppCompatViewInflater

Added in 1.2.0-alpha04
LeanbackAppCompatViewInflater()

Protected functions

createView

protected fun createView(context: Context?, name: String?, attrs: AttributeSet?): View