<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>KeithYokoma</author_name>
  <author_url>https://blog.hatena.ne.jp/KeithYokoma/</author_url>
  <blog_title>Infinito Nirone 7</blog_title>
  <blog_url>https://blog.keithyokoma.dev/</blog_url>
  <categories>
  </categories>
  <description>Issue Fragment を使わず View をベースにしてレイアウトを組むと、Fragment と同じような役割をもった CustomView を作ってレイアウトを組みます。 このとき CustomView は何かしらの ViewGroup を継承することになりますが、そのレイアウトファイルのルートを&lt;merge&gt;にしないと無駄な ViewGroup がひとつ挟まってしまいます。一方で、&lt;merge&gt;をそのまま使うと、レイアウトのプレビューでは親が何になるのかわからないため、期待通りの表示ができません。 Solution tools 属性に&lt;merge&gt;の親が何になるかを指定するtool…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.keithyokoma.dev%2Fentry%2F2017%2F07%2F21%2F174818&quot; title=&quot;&amp;lt;merge&amp;gt; タグをつかったレイアウトのプレビューを期待通りに表示する - Infinito Nirone 7&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>2017-07-21 17:48:18</published>
  <title>&lt;merge&gt; タグをつかったレイアウトのプレビューを期待通りに表示する</title>
  <type>rich</type>
  <url>https://blog.keithyokoma.dev/entry/2017/07/21/174818</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
