<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>woshidan</author_name>
  <author_url>https://blog.hatena.ne.jp/woshidan/</author_url>
  <blog_title>woshidan's blog</blog_title>
  <blog_url>https://woshidan.hatenablog.com/</blog_url>
  <categories>
    <anon>Android</anon>
    <anon>TextView</anon>
    <anon>padding</anon>
    <anon>sp</anon>
  </categories>
  <description>そういえば、デザイナーさんが文字をdpで指定していて、遥か昔、文字は基本spでって聞いた覚えがあったのに何でかな、と思ったら、 3年前からspはユーザー側で1spあたりの表示サイズが変更できるようになっていたらしいです。 Y.A.M の 雑記帳: Android テーマでデフォルトの sp 単位を置き換える metal-president.hatenablog.com 1spあたりの端末上のサイズは端末の解像度にはよらないが、 その1spのサイズに対して、ユーザーがさらに倍率を設定できる、と。 すると何が困るって、余白をpaddingで指定したTextViewの文字サイズをspで指定していた場…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwoshidan.hatenablog.com%2Fentry%2F2015%2F11%2F23%2F031117&quot; title=&quot;Androidでは1spの大きさがユーザー側で指定できる件について - woshidan&amp;#39;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>http://cdn-ak.f.st-hatena.com/images/fotolife/w/woshidan/20151123/20151123030813.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-11-23 03:11:17</published>
  <title>Androidでは1spの大きさがユーザー側で指定できる件について</title>
  <type>rich</type>
  <url>https://woshidan.hatenablog.com/entry/2015/11/23/031117</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
