listview
분배 자로 여백을 설정하려고합니다.
디바이더는 점선이다Listview divider margin
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="line" >
<stroke
android:dashGap="1dp"
android:dashWidth="1.5dp"
android:width="1dp"
android:color="#FF404040" />
<size android:height="3dp" />
</shape>
내가 디바이더
<ListView
android:id="@+id/lv_news_feed_list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/white"
android:divider="@drawable/ch_dashed_line_divider"
/>
을 설정하지만 분배기 마진이 왼쪽 바로 원하는 listview
. 도형에 채우기를 설정하려고했지만 listview
은 채우기를 무시합니다.
<padding
android:bottom="15dp"
android:left="15dp"
android:right="15dp"
android:top="15dp" />
listview
분할에 여백을 설정하는 가능성이 있는가 - 어댑터의의 getView()를 제외하고?
최상의 솔루션 : http://stackoverflow.com/questions/14054364/how-to-assign-padding-to-listview-item-divider-line?lq=1 – ASP