android - ListView divider is not visible -
i want have white line divide m y listview. trying different ways still can't it. code:
<?xml version="1.0" encoding="utf-8"?> <linearlayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/dark_background" android:orientation="vertical" > <listview android:id="@+id/lvfragfeedlist" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/alerts_list_item_selector" android:choicemode="singlechoice" android:divider="@color/archive_list_view_divider" android:dividerheight="4dip"> </listview> </linearlayout>
<listview android:id="@+id/lvfragfeedlist" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/alerts_list_item_selector" android:choicemode="singlechoice" android:divider="@drawable/list_divider" android:dividerheight="4dip"> </listview> list_divider:
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="line"> <stroke android:width="1px" android:color="#ffffff" android:dashwidth="1px" android:dashgap="1px" /> </shape>
Comments
Post a Comment