mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-05-06 19:01:12 +03:00
add more APIs needed for NewPipe
This commit is contained in:
parent
b3c0023a45
commit
276b5ca7ef
40 changed files with 768 additions and 50 deletions
|
@ -154,9 +154,7 @@ public class TextView extends View {
|
|||
public int getCompoundPaddingTop() {return 0;}
|
||||
public int getCompoundPaddingBottom() {return 0;}
|
||||
|
||||
public CharSequence getText() {
|
||||
return "FIXME";
|
||||
}
|
||||
public native CharSequence getText();
|
||||
|
||||
public void setCompoundDrawablePadding(int pad) {}
|
||||
|
||||
|
@ -229,4 +227,8 @@ public class TextView extends View {
|
|||
public int getCompoundPaddingRight() {return 0;}
|
||||
|
||||
public void setHint(int resId) {}
|
||||
|
||||
public float getLetterSpacing() {return 0.f;}
|
||||
|
||||
public void setCompoundDrawablesRelativeWithIntrinsicBounds(int start, int top, int end, int bottom) {}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue