implement TextView.setCompoundDrawables()

This adds an additional GtkBox for every TextView
This commit is contained in:
Julian Winkler
2024-03-30 11:04:21 +01:00
parent 849701c5c4
commit ae58d2b319
7 changed files with 84 additions and 21 deletions

View File

@@ -2,6 +2,7 @@ package android.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
public class Button extends TextView {
@@ -41,4 +42,7 @@ public class Button extends TextView {
native_setOnClickListener(widget, l);
}
@Override
public void setCompoundDrawables(Drawable left, Drawable top, Drawable right, Drawable bottom) {}
}