JavaWidget: add css classes and default_stylesheet.css

This commit is contained in:
Daniel Panero 2024-11-18 14:08:07 +01:00
parent d6d2c94abd
commit be93b4c396
11 changed files with 202 additions and 4 deletions

View file

@ -18,6 +18,10 @@ public class Button extends TextView {
if (a.hasValue(com.android.internal.R.styleable.TextView_text)) {
setText(a.getText(com.android.internal.R.styleable.TextView_text));
}
if(getBackground() != null){
native_addClass(widget, "ATL-no-border");
}
a.recycle();
}