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 more Java APIs needed for OctoDroid
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
package android.text;
|
||||
|
||||
import android.graphics.drawable.Drawable;
|
||||
|
||||
public class Html {
|
||||
|
||||
public static interface ImageGetter {
|
||||
public Drawable getDrawable(String source);
|
||||
}
|
||||
|
||||
public static Spanned fromHtml(String source) {
|
||||
return new SpannableString(source.replace("<br/>", "\n")
|
||||
.replace("<br>", "\n")
|
||||
|
||||
Reference in New Issue
Block a user