<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mnnms</author_name>
  <author_url>https://blog.hatena.ne.jp/mnnms/</author_url>
  <blog_title>1日1時間でAndroidアプリ開発</blog_title>
  <blog_url>https://mnnms.hatenadiary.org/</blog_url>
  <categories>
    <anon>実装</anon>
  </categories>
  <description>ListViewでアイテムを選択→削除ボタンを押す→アイテム削除 ということをやろうとしたのですが、昨日の記述の通り アイテムをクリックしても選択はされない カーソルキーでアイテムを選択しても、別のボタンを押すと選択が解除される という動作になってしまいます。ListView=htmlのselect要素 みたいなものだと思っていたのですがどうも違うようです。なのでひとまず ListViewでアイテムを選択→そのアイテムを削除 としたいと思いますmain.xml ：レイアウトを入れ子にしました &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;LinearLayou…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmnnms.hatenadiary.org%2Fentry%2F20101127%2F1290872392&quot; title=&quot;ListViewのアイテム削除 - 1日1時間で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>https://cdn-ak.f.st-hatena.com/images/fotolife/m/mnnms/20101128/20101128003801.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-11-27 00:39:52</published>
  <title>ListViewのアイテム削除</title>
  <type>rich</type>
  <url>https://mnnms.hatenadiary.org/entry/20101127/1290872392</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
