<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>t-kashima</author_name>
  <author_url>https://blog.hatena.ne.jp/t-kashima/</author_url>
  <blog_title>夜から朝にかけて</blog_title>
  <blog_url>https://t-kashima.hateblo.jp/</blog_url>
  <categories>
    <anon>Android</anon>
  </categories>
  <description>もし、R.string.kagawa を何かの理由で直接参照できない場合、 以下のようにすれば、簡単に id を取得することが出来ます。 int strId = getResources().getIdentifier(&quot;kagawa&quot;, &quot;string&quot;, getPackageName()); 以下は、R.id.kagawa_txt の id を取得して利用する方法です。 int resId = getResources().getIdentifier(&quot;kagawa_txt&quot;, &quot;id&quot;, getPackageName()); TextView kagawa_txt = (TextView…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ft-kashima.hateblo.jp%2Fentry%2F20110203%2F1296748262&quot; title=&quot;変数名からリソースIDを取得する - 夜から朝にかけて&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>2011-02-03 00:51:02</published>
  <title>変数名からリソースIDを取得する</title>
  <type>rich</type>
  <url>https://t-kashima.hateblo.jp/entry/20110203/1296748262</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
