xxxxxxxxxx
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@android:color/darker_gray"/>
xxxxxxxxxx
//In LinearLayouts, you can use:
android:divider="?android:divider" //use this in XML
xxxxxxxxxx
//In LinearLayouts, you can use:
android:divider="?android:divider" //use this in XML