<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shokai</author_name>
  <author_url>https://blog.hatena.ne.jp/shokai/</author_url>
  <blog_title>橋本詳解</blog_title>
  <blog_url>https://shokai.hatenadiary.org/</blog_url>
  <categories>
    <anon>Android</anon>
    <anon>Java</anon>
  </categories>
  <description>画面上にあるボタンを全て取得して、全部onClickListenerに登録したい。refrectionを使って、R.id.の中身のstatic fieldsを全て取得して、一つずつfindViewByIdした。 import java.lang.reflect.*; なおthisがimplements OnClickListenerされている。 public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); for(Field…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshokai.hatenadiary.org%2Fentry%2F20110513%2F1305282435&quot; title=&quot;viewにある全てのボタンを操作する - 橋本詳解&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-05-13 19:27:15</published>
  <title>viewにある全てのボタンを操作する</title>
  <type>rich</type>
  <url>https://shokai.hatenadiary.org/entry/20110513/1305282435</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
