2010-01-27 137 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

你不能有鏈接可點擊,並在同一時間列表項點擊。它是一個或另一個。