<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>anton0825</author_name>
  <author_url>https://blog.hatena.ne.jp/anton0825/</author_url>
  <blog_title>日々精進</blog_title>
  <blog_url>https://anton0825.hatenablog.com/</blog_url>
  <categories>
    <anon>Android</anon>
  </categories>
  <description>ImageButtonではなく、ImageViewを使わないといけない。これは罠だ。。 画像を縦横比を保ったまま、横幅を画面いっぱいまで拡大するには、以下の設定にしてandroid:srcかsetImageBitmapメソッドで画像を渡せばよい。 &lt;ImageView android:id=&quot;@+id/banner_button&quot; android:layout_width=&quot;match_parent&quot; android:layout_height=&quot;wrap_content&quot; android:layout_above=&quot;@+id/footer_view&quot; android:adjustViewBo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fanton0825.hatenablog.com%2Fentry%2F2015%2F05%2F17%2F000000&quot; title=&quot;ImageButtonにadjustViewBounds=&amp;quot;true&amp;quot;を設定しても画像のサイズが変化しない - 日々精進&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-05-17 00:00:00</published>
  <title>ImageButtonにadjustViewBounds=&quot;true&quot;を設定しても画像のサイズが変化しない</title>
  <type>rich</type>
  <url>https://anton0825.hatenablog.com/entry/2015/05/17/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
