# Print output for @column tags ?> ThemedSpinnerAdapter - Android SDK | Android Developers

Most visited


Recently visited


ThemedSpinnerAdapter

public interface ThemedSpinnerAdapter
implements SpinnerAdapter

android.widget.ThemedSpinnerAdapter


An extension of SpinnerAdapter that is capable of inflating drop-down views against a different theme than normal views.

Classes that implement this interface should use the theme provided to setDropDownViewTheme(android.content.res.Resources.Theme) when creating views in SpinnerAdapter#getDropDownView(int, View, ViewGroup).

Summary


Inherited constants

Public methods

abstract Resources.Theme getDropDownViewTheme()

Returns the value previously set by a call to setDropDownViewTheme(android.content.res.Resources.Theme).

abstract void setDropDownViewTheme(Resources.Theme theme)

Sets the Resources.Theme against which drop-down views are inflated.

Inherited methods

Public methods


getDropDownViewTheme

public abstract Resources.Theme getDropDownViewTheme ()

Returns the value previously set by a call to setDropDownViewTheme(android.content.res.Resources.Theme).

Returns
Resources.Theme the Resources.Theme against which drop-down views are inflated, or null if one has not been explicitly set

setDropDownViewTheme

public abstract void setDropDownViewTheme (Resources.Theme theme)

Sets the Resources.Theme against which drop-down views are inflated.

Parameters
theme Resources.Theme: the context against which to inflate drop-down views, or null to use the default theme This value may be null.

See also:

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.