<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>itechblog</author_name>
  <author_url>https://blog.hatena.ne.jp/itechblog/</author_url>
  <blog_title>Webエンジニアのメモ帳</blog_title>
  <blog_url>https://itechblog.hatenablog.com/</blog_url>
  <categories>
    <anon>技術メモ</anon>
  </categories>
  <description>発生した現象 ボタンを押すと以下のコードが実行され、ダイアログが表示されるように実装しました。 AlertDialog.Builder(this) .setTitle(&quot;データの削除&quot;) .setMessage(&quot;データを削除します。&quot;) .setPositiveButton(&quot;はい&quot;) { dialog, which -&gt; // ここにデータを削除するメソッドを記述 } .setNeutralButton(&quot;キャンセル&quot;, null) .show() ちなみに、コードは入門書の内容のほぼそのままです。 そしてボタンを押したところ... 「はい」と「キャンセル」のボタンがありませんでした。 原…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fitechblog.hatenablog.com%2Fentry%2F2022%2F02%2F18%2F2022-02-18-131524%2F&quot; title=&quot;【Android開発】ダイアログのボタンが表示されない場合の対処法 - Webエンジニアのメモ帳&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/i/iberia9lavapies/20220218/20220218130613.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-02-18 13:15:24</published>
  <title>【Android開発】ダイアログのボタンが表示されない場合の対処法</title>
  <type>rich</type>
  <url>https://itechblog.hatenablog.com/entry/2022/02/18/2022-02-18-131524/</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
