Iād better answer my question ...
It seems that styles.xml - style - item displays the color of the last item in the layer-list as the background for the entire separator. This last item is on top of other layers , so other items in the list of layers are not displayed.
Key padding .
styles.xml
<style name="ListView" parent="android:style/Widget.ListView"> <item name="android:divider">@drawable/divider</item> <item name="android:dividerHeight">10dp</item> </style>
divider.xml
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item> <shape android:shape="rectangle"> <solid android:color="#0000ff" /> <padding android:top="5dp"/> </shape> </item> <item> <shape android:shape="rectangle"> <solid android:color="#ff0000" /> </shape> </item> </layer-list>

So in my case, I just need to change 10dp / 5dp to 2dp / 1dp to get two thin horizontal lines.
source share