mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-04-30 05:07:58 +03:00
JavaWidget: add css classes and default_stylesheet.css
This commit is contained in:
parent
d6d2c94abd
commit
be93b4c396
11 changed files with 202 additions and 4 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue