Skip to content

Instantly share code, notes, and snippets.

@BurningAXE
BurningAXE / HtmlTextEditor
Last active Aug 8, 2021
An Android component that allows to show AND edit text in HTML format using a WebView
View HtmlTextEditor
import android.content.Context;
import android.util.AttributeSet;
import android.util.Xml;
import android.webkit.JavascriptInterface;
import android.webkit.WebView;
import android.webkit.WebViewClient;
public class HtmlTextEditor extends WebView {
class JsObject {