You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
api-impl: misc stubs/additions
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user