开发者

ExpandableListView centains a link does not expand

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"
andro开发者_如何学运维id: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"  />


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜