mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-04-29 04:37:58 +03:00
api-impl: misc stubs/additions
This commit is contained in:
parent
39504d1437
commit
0803848c6d
18 changed files with 206 additions and 39 deletions
|
@ -220,7 +220,7 @@ public class TextView extends View {
|
|||
public void setAllCaps(boolean allCaps) {
|
||||
String[] classesToRemove = {"ATL-text-uppercase"};
|
||||
native_removeClasses(widget, classesToRemove);
|
||||
|
||||
|
||||
if(allCaps){
|
||||
native_addClass(widget, "ATL-text-uppercase");
|
||||
}
|
||||
|
@ -351,4 +351,8 @@ public class TextView extends View {
|
|||
public int getPaintFlags() {return 0;}
|
||||
|
||||
public void setPaintFlags(int flags) {}
|
||||
|
||||
public int getLineHeight() {
|
||||
return 10; // FIXME
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue