ExpandableListView centains a link does not expand

2019-08-08 00:55发布

I have an ExpandableListView contains a link, it does not expand when has a link, and i want the link is clickable.

code like this:

<ExpandableListView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/list" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:groupIndicator="@null" /> 

and:

<TextView android:layout_below="@id/screenName" android:layout_alignLeft="@id/screenName" android:layout_height="wrap_content" android:layout_width="fill_parent"   android:autoLink="web|email" android:linksClickable="true" android:id="@+id/text"  />

1条回答
爷的心禁止访问
2楼-- · 2019-08-08 01:13

You can't have the link clickable and the list item clickable at the same time. It's one or the other.

查看更多
登录 后发表回答