<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mukacho</author_name>
  <author_url>https://blog.hatena.ne.jp/mukacho/</author_url>
  <blog_title>mukachoの日記</blog_title>
  <blog_url>https://mukacho.hatenadiary.org/</blog_url>
  <categories>
    <anon>android</anon>
  </categories>
  <description>表示位置を変えたい！ アラートダイアログは初期状態だと画面中央に表示されます。まあ別にそれでもいいんですがたとえばダイアログ中にEditTextがあったりするとソフトウェアキーボードが画面下半分に表示される関係で文字入力する際にダイアログが上にずれるんです！ 別にずれてもいいじゃーんというならそれまでですが最初から画面上部に表示できたらずれなくていいなと思いましていろいろ… いろいろググって試してみた結果以下のコードで表示位置をずらせることを確認！（とっくに知ってるって？） アラートダイアログを表示するshowDialogメソッド private void showDialog(){ Aler…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmukacho.hatenadiary.org%2Fentry%2F20110620%2F1308580096&quot; title=&quot; アラートダイアログ(AlertDialog)の表示位置を変えるには？ - mukachoの日記&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/m/mukacho/20110620/20110620225718.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-06-20 23:28:16</published>
  <title> アラートダイアログ(AlertDialog)の表示位置を変えるには？</title>
  <type>rich</type>
  <url>https://mukacho.hatenadiary.org/entry/20110620/1308580096</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
