Android APIs
public class

TintSpinner

extends Spinner
implements TintableBackgroundView
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.AdapterView<android.widget.SpinnerAdapter>
         ↳ android.widget.AbsSpinner
           ↳ android.widget.Spinner
             ↳ android.support.v7.internal.widget.TintSpinner

Class Overview

An tint aware Spinner.

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

Summary

[Expand]
Inherited XML Attributes
From class android.widget.Spinner
From class android.widget.AbsSpinner
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Constants
From class android.widget.Spinner
From class android.widget.AdapterView
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
TintSpinner(Context context)
TintSpinner(Context context, AttributeSet attrs)
TintSpinner(Context context, AttributeSet attrs, int defStyleAttr)
Protected Methods
void drawableStateChanged()
This function is called whenever the state of the view changes in such a way that it impacts the state of drawables being shown.
[Expand]
Inherited Methods
From class android.widget.Spinner
From class android.widget.AbsSpinner
From class android.widget.AdapterView
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.content.DialogInterface.OnClickListener
From interface android.view.ViewParent
From interface android.view.ViewManager
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.accessibility.AccessibilityEventSource
From interface android.support.v4.view.TintableBackgroundView

Public Constructors

public TintSpinner (Context context)

public TintSpinner (Context context, AttributeSet attrs)

public TintSpinner (Context context, AttributeSet attrs, int defStyleAttr)

Protected Methods

protected void drawableStateChanged ()

This function is called whenever the state of the view changes in such a way that it impacts the state of drawables being shown.

If the View has a StateListAnimator, it will also be called to run necessary state change animations.

Be sure to call through to the superclass when overriding this function.