FileDocCategorySizeDatePackage
ImageButton.javaAPI DocAndroid 1.5 API1676Wed May 06 22:41:56 BST 2009android.widget

ImageButton

public class ImageButton extends ImageView

An image button displays an image that can be pressed, or clicked, by the user.

XML attributes

See {@link android.R.styleable#ImageView Button Attributes}, {@link android.R.styleable#View View Attributes}

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

        this(context, null);
    
public ImageButton(android.content.Context context, android.util.AttributeSet attrs)

        this(context, attrs, com.android.internal.R.attr.imageButtonStyle);
    
public ImageButton(android.content.Context context, android.util.AttributeSet attrs, int defStyle)

        super(context, attrs, defStyle);
        setFocusable(true);
    
Methods Summary
protected booleanonSetAlpha(int alpha)

        return false;