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
implement more APIs
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
package android.text.method;
|
||||
|
||||
public class LinkMovementMethod extends MovementMethod {
|
||||
|
||||
public static MovementMethod getInstance() {
|
||||
return new LinkMovementMethod();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
7
src/api-impl/android/text/style/StyleSpan.java
Normal file
7
src/api-impl/android/text/style/StyleSpan.java
Normal file
@@ -0,0 +1,7 @@
|
||||
package android.text.style;
|
||||
|
||||
public class StyleSpan {
|
||||
|
||||
public StyleSpan(int style) {}
|
||||
|
||||
}
|
||||
@@ -1,4 +1,6 @@
|
||||
package android.text.style;
|
||||
|
||||
public class URLSpan {
|
||||
|
||||
public URLSpan(String url) {}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,11 @@ import android.text.Spannable;
|
||||
import android.widget.TextView;
|
||||
|
||||
public class Linkify {
|
||||
|
||||
public static MatchFilter sUrlMatchFilter = null;
|
||||
|
||||
public static final boolean addLinks(Spannable text, int mask) { return true; }
|
||||
public static final boolean addLinks(TextView text, int mask) { return true; }
|
||||
|
||||
public class MatchFilter {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user