2010-01-27 86 views
1

我有一个ExpandableListView包含一个链接,它有一个链接时不展开,并且我希望链接是可点击的。ExpandableListView centains链接不扩展

这样的代码:

<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" /> 

和:

<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" /> 
+0

它可能有助于包含代码的ExpandableListView部分。你显示的只是一个textView。 – 2010-01-27 23:39:54

+0

加了,谢谢:) – kmlzkma 2010-01-28 00:21:48

回答

1

你不能有链接可点击,并在同一时间列表项点击。它是一个或另一个。