add Java APIs needed for WhatsApp MainActivity and ConversationActivity

This commit is contained in:
Julian Winkler
2024-08-25 11:20:01 +02:00
parent 9d8e091799
commit c492e1f03f
74 changed files with 903 additions and 69 deletions

View File

@@ -4,14 +4,22 @@ import android.graphics.Rect;
public class InsetDrawable extends Drawable {
private Drawable drawable;
public InsetDrawable(Drawable drawable, int insetLeft, int insetTop, int insetRight, int insetBottom) {
super();
this.drawable = drawable;
}
public InsetDrawable(Drawable drawable, int inset) {
super();
this.drawable = drawable;
}
public boolean getPadding(Rect padding) { return false; }
public Drawable getDrawable() {
return drawable;
}
}