<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>your3i</author_name>
  <author_url>https://blog.hatena.ne.jp/your3i/</author_url>
  <blog_title>your3i’s blog</blog_title>
  <blog_url>https://your3i.hatenablog.jp/</blog_url>
  <categories>
    <anon>細かいの</anon>
    <anon>Android</anon>
  </categories>
  <description>layout_constraintWidth_percent と（android:maxWidth と layout_constraintWidth_max）の併用はできない。guidelineを使って横何パーセントを作ると、layout_constraintWidth_maxが効くようになる。 例えば 以下のように、image view を画面横サイズの60%にし、最大横幅160dpにし、縦横アスヒは1:1で、横真ん中に置き、上から16dp(図に描いてない)のレイアウトにしたい。 guideline を貼る Guidelineを以下のようにimage viewの左右に貼る。Guideline…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyour3i.hatenablog.jp%2Fentry%2F2018%2F11%2F24%2F190813&quot; title=&quot;Androidのconstraint layoutで、画面横サイズ何パーセントのビューに対して最大横幅を指定したいとき - your3i’s blog&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/y/your3i/20181124/20181124185002.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-11-24 19:08:13</published>
  <title>Androidのconstraint layoutで、画面横サイズ何パーセントのビューに対して最大横幅を指定したいとき</title>
  <type>rich</type>
  <url>https://your3i.hatenablog.jp/entry/2018/11/24/190813</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
