18
Jak ustawić odstęp między listView Items w Androidzie
Próbowałem użyć marginBottom na listView, aby zrobić miejsce między listView Item, ale nadal elementy są połączone. Czy to w ogóle możliwe? Jeśli tak, czy istnieje jakiś konkretny sposób? Mój kod jest poniżej <LinearLayout android:id="@+id/alarm_occurences" android:layout_width="fill_parent" android:orientation="vertical" android:layout_height="fill_parent" android:background="#EEEEFF" xmlns:android="http://schemas.android.com/apk/res/android"> <ListView android:id="@+id/occurences" android:layout_width="fill_parent" android:layout_height="fill_parent" /> </LinearLayout> Mój niestandardowy element listy: <com.android.alarm.listItems.AlarmListItem …