<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>junichim</author_name>
  <author_url>https://blog.hatena.ne.jp/junichim/</author_url>
  <blog_title>プログラマーのメモ書き</blog_title>
  <blog_url>https://blog.mori-soft.com/</blog_url>
  <categories>
    <anon>android</anon>
  </categories>
  <description>『ちょっとだけ立体風地図ビューワ』の画面レイアウトを作った時のことをまとめておきます。 このアプリを作成した際に、私がやりたかったのは、 タイトルバーは消す ステータスバーは表示する 残った領域をほぼ２分割して異なるViewを表示する といった画面レイアウトでした（ほぼとしたのは、中央に境界線を入れているので、その分を省いているためです）。 これに意外と苦労したので、やり方をサンプルコードとともに示します。 1. 考え方 結論から先に書くと、LinearLayoutのweightパラメータを使うことで実現できます。 ここに書いたサンプルでは、画面の縦方向にImageViewを２つ置き、一番下に…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.mori-soft.com%2Fentry%2F%253Fp%253D166&quot; title=&quot;【Android】画面レイアウトでステータスバーの大きさを考慮する方法 - プログラマーのメモ書き&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/j/junichim/20160825/20160825154020.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-05-19 02:33:59</published>
  <title>【Android】画面レイアウトでステータスバーの大きさを考慮する方法</title>
  <type>rich</type>
  <url>https://blog.mori-soft.com/entry/%3Fp%3D166</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
