<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>junichim</author_name>
  <author_url>https://blog.hatena.ne.jp/junichim/</author_url>
  <blog_title>プログラマーのメモ書き</blog_title>
  <blog_url>https://blog.mori-soft.com/</blog_url>
  <categories>
    <anon>android</anon>
  </categories>
  <description>TextViewでsetAutoLinkMaskを設定すれば、自動的にリンクが有効になります。 dialogで表示するテキストに対してリンクを張りたい場合は、TextViewを生成しsetAutoLinkMaskを設定し、そのViewをdialogに設定すればよいと思います。 サンプルコード android 1.6 で試しています。 レイアウトファイルはボタンを一つだけ用意しておきます。 文字列リソースを下記のように定義します。 &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;resources&gt; &lt;string name=&quot;btn_caption&quot;&gt;push …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.mori-soft.com%2Fentry%2F%253Fp%253D219&quot; title=&quot;【Android】 ダイアログでリンクを有効にする方法 - プログラマーのメモ書き&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/j/junichim/20160825/20160825154054.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-08-10 11:14:23</published>
  <title>【Android】 ダイアログでリンクを有効にする方法</title>
  <type>rich</type>
  <url>https://blog.mori-soft.com/entry/%3Fp%3D219</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
