ExpandableListView的子条目不可点击?????
ExpandableListView的子条目中只有两个TextView
网上有人说是因为item里面有可获取焦点的view,可是我在这里及时设置了focusable和Cilckable属性之后,仍然不起作用。子项还是不可点击?????

<?xml version="1.0" encoding="UTF-8"?>
<!-- 子条目的布局 -->
<LinearLayout
android:orientation="horizontal"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
<TextView
android:id="@+id/name"
android:textColor="@color/itembig"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
<TextView
android:id="@+id/number"
android:textColor="@color/number"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
</LinearLayout>
网上有人说是因为item里面有可获取焦点的view,可是我在这里及时设置了focusable和Cilckable属性之后,仍然不起作用。子项还是不可点击?????

...全文
相关推荐
ListView 三级结构
Listview 实现ExpandableListView的三级结构
ExpandableListView 解决子级背景色混乱 和父级展开项唯一效果实现
ExpanExpandableListView 解决子级背景色混乱 和父级展开项唯一效果实现dableListView 解决子级背景色混乱 和父级展开项唯一效果实现
ExpandableListView(实现ListView嵌套ListView的效果)
ExpandableListView (实现ListView嵌套ListView的效果)
expandablelistview
简单的expandablelistview的实现,如需改变group图片,请在groupAdapter中实现
ExpandableListView 点击和长按事件
ExpandableListView 长按和点击处理的两种方法 elv.setOnItemLongClickListener和在子项中直接对view 进行设置


