<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>amyu_dev</author_name>
  <author_url>https://blog.hatena.ne.jp/amyu_dev/</author_url>
  <blog_title>あみゅーの( ･´ｰ･｀)どや</blog_title>
  <blog_url>https://amyu.hatenadiary.com/</blog_url>
  <categories>
    <anon>Android</anon>
  </categories>
  <description>前回書いたViewの記事の補足を少し｡ なんか日本語の記事が見つからなかったので書いちゃう｡ TouchEventの制御 そもそもViewのonTouchEventが呼ばれる時はpaddingやTouchDelegateをしない限り四角いViewを触った時に呼ばれるはずです｡ 例えば､上のようなViewがあるとして､望まれる挙動は空白の白い部分にはClickListenerを付けず､六角形の内部のみClickListenerを付けイベントを飛ばしたいと考えると思います｡ そんな時役に立つのがRegionでした｡IngressAchievements/AchievementView.java a…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Famyu.hatenadiary.com%2Fentry%2F2015%2F02%2F04%2F165806&quot; title=&quot;RegionとPathを用いた特定の部分のTouchEventの取り方 - あみゅーの( ･´ｰ･｀)どや&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/a/amyu_dev/20150204/20150204162935.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-02-04 16:58:06</published>
  <title>RegionとPathを用いた特定の部分のTouchEventの取り方</title>
  <type>rich</type>
  <url>https://amyu.hatenadiary.com/entry/2015/02/04/165806</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
