<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>graceful3715</author_name>
  <author_url>https://blog.hatena.ne.jp/graceful3715/</author_url>
  <blog_title>Graceful Android</blog_title>
  <blog_url>https://graceful3715.hatenadiary.org/</blog_url>
  <categories>
    <anon>リソースファイル</anon>
    <anon>マルチ解像度</anon>
  </categories>
  <description>リソースファイルでフォントサイズ等を定義して利用する場合は、以下のように記述します。 font_size = getResources().getDimension(R.dimen.font_small_sp);リソースファイル「dimens.xml」では、以下のように定義します。 &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;resources&gt; &lt;dimen name=&quot;margin_small_dp&quot;&gt;3dp&lt;/dimen&gt; &lt;dimen name=&quot;margin_medium_dp&quot;&gt;5dp&lt;/dimen&gt; &lt;dimen name=&quot;margin_la…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgraceful3715.hatenadiary.org%2Fentry%2F20101207%2F1291734335&quot; title=&quot;リソースファイルでサイズを定義する方法 - Graceful 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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-12-07 00:05:35</published>
  <title>リソースファイルでサイズを定義する方法</title>
  <type>rich</type>
  <url>https://graceful3715.hatenadiary.org/entry/20101207/1291734335</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
