2014-04-16 22 views

回答

5

試試這個,

 <ExpandableListView 
     android:id="@+id/lvExp" 
     android:layout_height="match_parent" 
     android:layout_width="match_parent" 
     android:dividerHeight="Your desired height" 
     android:divider="Your desired color"/> 
+0

嘗試過這種方式,但它給了我在該空間之間的黑色現在該怎麼辦? –

+0

檢查更新的代碼。 – Zahid

+0

@Zahid它還會在子項之間添加空白。我不想在子項之間分隔高度。 –