Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

androidx.appcompat.widget

Classes

ActionMenuView

ActionMenuView is a presentation of a series of menu options as a View.

AppCompatAutoCompleteTextView

A AutoCompleteTextView which supports compatible features on older versions of the platform, including:

  • 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.

AppCompatButton

A Button which supports compatible features on older versions of the platform, including:

  • 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.

AppCompatCheckBox

A CheckBox which supports compatible features on older versions of the platform, including:

  • Allows dynamic tint of its background via the background tint methods in androidx.core.widget.CompoundButtonCompat.
  • Allows setting of the background tint using R.attr#buttonTint and R.attr#buttonTintMode.

AppCompatCheckedTextView

A CheckedTextView which supports compatible features on older versions of the platform.

AppCompatEditText

A EditText which supports compatible features on older versions of the platform, including:

  • 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.

AppCompatImageButton

A ImageButton which supports compatible features on older versions of the platform, including:

  • 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.
  • Allows dynamic tint of its image via the image tint methods in ImageViewCompat.
  • Allows setting of the image tint using R.attr#tint and R.attr#tintMode.

AppCompatImageView

A ImageView which supports compatible features on older versions of the platform, including:

  • 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.
  • Allows dynamic tint of its image via the image tint methods in ImageViewCompat.
  • Allows setting of the image tint using R.attr#tint and R.attr#tintMode.

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.

AppCompatRadioButton

A RadioButton which supports compatible features on older versions of the platform, including:

  • Allows dynamic tint of its background via the background tint methods in androidx.core.widget.CompoundButtonCompat.
  • Allows setting of the background tint using R.attr#buttonTint and R.attr#buttonTintMode.

AppCompatRatingBar

A RatingBar which supports compatible features on older versions of the platform.

AppCompatSeekBar

A SeekBar which supports compatible features on older versions of the platform.

AppCompatSpinner

A Spinner which supports compatible features on older versions of the platform, including:

  • 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#buttonTint and R.attr#buttonTintMode.
  • Setting the popup theme using R.attr#popupTheme.

AppCompatTextView

A TextView which supports compatible features on older versions of the platform, including:

  • Allows dynamic tint of its background via the background tint methods in androidx.core.view.ViewCompat.
  • Allows setting of the background tint using androidx.appcompat.R.attr#backgroundTint and androidx.appcompat.R.attr#backgroundTintMode.
  • Supports auto-sizing via androidx.core.widget.TextViewCompat by allowing to instruct a TextView to let the size of the text expand or contract automatically to fill its layout based on the TextView's characteristics and boundaries. The style attributes associated with auto-sizing are androidx.appcompat.R.attr#autoSizeTextType, androidx.appcompat.R.attr#autoSizeMinTextSize, androidx.appcompat.R.attr#autoSizeMaxTextSize, androidx.appcompat.R.attr#autoSizeStepGranularity and androidx.appcompat.R.attr#autoSizePresetSizes, all of which work back to Ice Cream Sandwich.

AppCompatToggleButton

A ToggleButton which supports compatible features on older versions of the platform, including:

LinearLayoutCompat

A Layout that arranges its children in a single column or a single row.

ListPopupWindow

Static library support version of the framework's android.widget.ListPopupWindow.

PopupMenu

Static library support version of the framework's android.widget.PopupMenu.

SearchView

A widget that provides a user interface for the user to enter a search query and submit a request to a search provider.

ShareActionProvider

Provides a share action, which is suitable for an activity's app bar.

SwitchCompat

SwitchCompat is a version of the Switch widget which on devices back to API v7.

Toolbar

A standard toolbar for use within application content.

TooltipCompat

Helper class used to emulate the behavior of View#setTooltipText(CharSequence) prior to API level 26.