AlertDialogリッチなコンテンツを作成しようとしています。を使用しHtml.fromHtml()てメッセージテキストを次のように設定すると、次のようになります。
AlertDialog.Builder adb = new AlertDialog.Builder(this);
adb.setTitle("title");
adb.setMessage(Html.fromHtml(text));
<b>(太字)や<i>(斜体)などの基本的なHTML要素のみが許可されます。
WebView私が好きなものを使うとき
WebView webView = new WebView(this);
myWebView.loadData(webContent, "text/html", "utf-8");
AlertDialog.Builder adb = new AlertDialog.Builder(this);
adb.setView(webView);
デフォルトのAndroidスタイルを失います。
<ul>?内のように、リッチコンテキストを取得するにはどうすればよいAlertDialogですか?