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
add Java APIs needed for WhatsApp MainActivity and ConversationActivity
This commit is contained in:
@@ -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) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user