mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-04-29 04:37:58 +03:00
add Java APIs needed for WhatsApp MainActivity and ConversationActivity
This commit is contained in:
parent
9d8e091799
commit
c492e1f03f
74 changed files with 903 additions and 69 deletions
|
@ -262,6 +262,8 @@ public class TextView extends View {
|
|||
|
||||
public void setCompoundDrawablesRelativeWithIntrinsicBounds(int start, int top, int end, int bottom) {}
|
||||
|
||||
public void setCompoundDrawablesRelativeWithIntrinsicBounds(Drawable start, Drawable top, Drawable end, Drawable bottom) {}
|
||||
|
||||
public boolean getLinksClickable() {return true;}
|
||||
|
||||
public boolean isTextSelectable() {return true;}
|
||||
|
@ -297,4 +299,10 @@ public class TextView extends View {
|
|||
public void setCustomSelectionActionModeCallback(ActionMode.Callback actionModeCallback) {}
|
||||
|
||||
public int getExtendedPaddingTop() {return 0;}
|
||||
|
||||
public void setRawInputType(int type) {}
|
||||
|
||||
public TextUtils.TruncateAt getEllipsize() {return null;}
|
||||
|
||||
public void setLines(int lines) {}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue