<ListView android:id="@id/android:list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:headerDividersEnabled="false"
android:footerDividersEnabled="true"
android:divider="@drawable/list_divider"
android:dividerHeight="1dip"
android:cacheColorHint="#FFFFFF"
/>
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape>
<gradient
android:startColor="#000000"
android:centerColor="#CCCCCC"
android:endColor="#FFFFFF"
android:height="1px"
android:angle="0" />
</shape>
</item>
</layer-list>
shape画listview分割线
最新推荐文章于 2021-05-25 17:03:45 发布