FileDocCategorySizeDatePackage
ImageSwitcher.javaAPI DocAndroid 1.5 API1557Wed May 06 22:41:56 BST 2009android.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 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();