implement more APIs

This commit is contained in:
Julian Winkler
2024-03-20 23:05:17 +01:00
parent e8dc6e2f0d
commit 494605932c
18 changed files with 119 additions and 36 deletions

View File

@@ -1,5 +1,9 @@
package android.text.method;
public class LinkMovementMethod extends MovementMethod {
public static MovementMethod getInstance() {
return new LinkMovementMethod();
}
}

View File

@@ -0,0 +1,7 @@
package android.text.style;
public class StyleSpan {
public StyleSpan(int style) {}
}

View File

@@ -1,4 +1,6 @@
package android.text.style;
public class URLSpan {
public URLSpan(String url) {}
}

View File

@@ -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 {}
}