2023-08-17 10:46:24 +02:00
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
|
2023-08-22 13:53:52 +02:00
|
|
|
@Override
|
|
|
|
|
protected native long native_constructor(Context context, AttributeSet attrs);
|
|
|
|
|
@Override
|
2024-04-20 00:08:09 +02:00
|
|
|
protected native void native_setPixbuf(long widget, long pixbuf);
|
2024-03-24 16:55:04 +01:00
|
|
|
@Override
|
|
|
|
|
protected native void native_setDrawable(long widget, long paintable);
|
2023-08-22 13:53:52 +02:00
|
|
|
@Override
|
2024-07-26 21:47:08 +02:00
|
|
|
protected native void nativeSetOnClickListener(long widget);
|
2023-08-22 13:53:52 +02:00
|
|
|
|
2023-08-17 10:46:24 +02:00
|
|
|
}
|