Android APIs
public class

ImageSwitcher

extends ViewSwitcher
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.FrameLayout
         ↳ android.widget.ViewAnimator
           ↳ android.widget.ViewSwitcher
             ↳ android.widget.ImageSwitcher

Summary

[Expand]
Inherited XML Attributes
From class android.widget.ViewAnimator
From class android.widget.FrameLayout
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Constants
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
ImageSwitcher(Context context)
ImageSwitcher(Context context, AttributeSet attrs)
Public Methods
CharSequence getAccessibilityClassName()
Return the class name of this object to be used for accessibility purposes.
void setImageDrawable(Drawable drawable)
void setImageResource(int resid)
void setImageURI(Uri uri)
[Expand]
Inherited Methods
From class android.widget.ViewSwitcher
From class android.widget.ViewAnimator
From class android.widget.FrameLayout
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
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

Public Constructors

public ImageSwitcher (Context context)

Added in API level 1

Parameters
context

public ImageSwitcher (Context context, AttributeSet attrs)

Added in API level 1

Parameters
context
attrs

Public Methods

public CharSequence getAccessibilityClassName ()

Added in API level 23

Return the class name of this object to be used for accessibility purposes. Subclasses should only override this if they are implementing something that should be seen as a completely new class of view when used by accessibility, unrelated to the class it is deriving from. This is used to fill in AccessibilityNodeInfo.setClassName.

Returns
CharSequence

public void setImageDrawable (Drawable drawable)

Added in API level 1

Parameters
drawable

public void setImageResource (int resid)

Added in API level 1

Parameters
resid

public void setImageURI (Uri uri)

Added in API level 1

Parameters
uri