1
是否可以從TableLayout切換到ExpandableListView?怎麼樣?我嘗試過使用ViewFlipper,但ExpandableListView不使用XML的事實在其中引發了一個問題。Android - TableLayout to ExpandableListView
請幫忙!
是否可以從TableLayout切換到ExpandableListView?怎麼樣?我嘗試過使用ViewFlipper,但ExpandableListView不使用XML的事實在其中引發了一個問題。Android - TableLayout to ExpandableListView
請幫忙!
我真的不明白的感覺的問題,你是什麼意思從TableLayout
開關意味着一個 ExpandableListView
但ExpandableListView可以在XML就好定義
<ExpandableListView
android:id="@+id/myList"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
哇,不敢相信我忽略了這一點。 對於一個完整的實現看看: http://about-android.blogspot.com/2010/04/steps-to-implement-expandablelistview.html 它曾在那裏的一些技巧我使用。謝謝Alex! – Ryan 2010-05-26 20:36:31