package android.widget; import android.content.Context; import android.util.AttributeSet; public class ImageButton extends ImageView { public ImageButton(Context context) { super(context); } public ImageButton(Context context, AttributeSet attributeSet) { super(context, attributeSet); } public ImageButton(Context context, AttributeSet attributeSet, int defStyleAttr) { super(context, attributeSet, defStyleAttr); } @Override protected native long native_constructor(Context context, AttributeSet attrs); @Override protected native void native_setPixbuf(long pixbuf); protected native void native_setOnClickListener(long widget, OnClickListener l); @Override public void setOnClickListener(final OnClickListener l) { native_setOnClickListener(widget, l); } }