AppCompatMultiAutoCompleteTextView

open class AppCompatMultiAutoCompleteTextView : MultiAutoCompleteTextView
kotlin.Any
   ↳ android.view.View
   ↳ android.widget.TextView
   ↳ android.widget.EditText
   ↳ android.widget.AutoCompleteTextView
   ↳ android.widget.MultiAutoCompleteTextView
   ↳ androidx.appcompat.widget.AppCompatMultiAutoCompleteTextView

A MultiAutoCompleteTextView which supports compatible features on older version of the platform, including:

  • Supports R.attr#textAllCaps style attribute which works back to Gingerbread.
  • Allows dynamic tint of its background via the background tint methods in androidx.core.view.ViewCompat.
  • Allows setting of the background tint using R.attr#backgroundTint and R.attr#backgroundTintMode.

This will automatically be used when you use MultiAutoCompleteTextView in your layouts. You should only need to manually use this class when writing custom views.

Summary

Public constructors
<init>(context: Context!)

<init>(context: Context!, attrs: AttributeSet!)

<init>(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

Public methods
open Unit

open Unit

open Unit
setTextAppearance(context: Context!, resId: Int)

open Unit

open InputConnection!

Protected methods
open Unit

Public constructors

<init>

AppCompatMultiAutoCompleteTextView(context: Context!)

<init>

AppCompatMultiAutoCompleteTextView(context: Context!, attrs: AttributeSet!)

<init>

AppCompatMultiAutoCompleteTextView(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

Public methods

setBackgroundResource

open fun setBackgroundResource(resId: Int): Unit

setDropDownBackgroundResource

open fun setDropDownBackgroundResource(resId: Int): Unit

setTextAppearance

open fun setTextAppearance(context: Context!, resId: Int): Unit

setBackgroundDrawable

open fun setBackgroundDrawable(background: Drawable!): Unit

onCreateInputConnection

open fun onCreateInputConnection(outAttrs: EditorInfo!): InputConnection!

Protected methods

drawableStateChanged

protected open fun drawableStateChanged(): Unit