FileDocCategorySizeDatePackage
ImageSwitcher.javaAPI DocAndroid 5.1 API2066Thu Mar 12 22:22:10 GMT 2015android.widget

ImageSwitcher

public class ImageSwitcher extends ViewSwitcher

Fields Summary
Constructors Summary
public ImageSwitcher(android.content.Context context)

        super(context);
    
public ImageSwitcher(android.content.Context context, android.util.AttributeSet attrs)

        super(context, attrs);
    
Methods Summary
public voidonInitializeAccessibilityEvent(android.view.accessibility.AccessibilityEvent event)

        super.onInitializeAccessibilityEvent(event);
        event.setClassName(ImageSwitcher.class.getName());
    
public voidonInitializeAccessibilityNodeInfo(android.view.accessibility.AccessibilityNodeInfo info)

        super.onInitializeAccessibilityNodeInfo(info);
        info.setClassName(ImageSwitcher.class.getName());
    
public voidsetImageDrawable(android.graphics.drawable.Drawable drawable)

        ImageView image = (ImageView)this.getNextView();
        image.setImageDrawable(drawable);
        showNext();
    
public voidsetImageResource(int resid)

        ImageView image = (ImageView)this.getNextView();
        image.setImageResource(resid);
        showNext();
    
public voidsetImageURI(android.net.Uri uri)

        ImageView image = (ImageView)this.getNextView();
        image.setImageURI(uri);
        showNext();