center holo divider

Android 4.x defaults to an inset of 10dip on the right side.
This commit is contained in:
Adrian Ulrich 2017-06-08 15:22:45 +02:00
parent e74180f62b
commit 38cbce6d78

View File

@ -1,6 +1,6 @@
<inset xmlns:android="http://schemas.android.com/apk/res/android"
android:insetLeft="0dp"
android:insetRight="0dp" >
android:insetLeft="10dip"
android:insetRight="0px" >
<!-- holo version of divider which doesn't really have an inset.
It would be very nice to inherit from "?android:attr/dividerHorizontal"
but this seems to crash on Android 4 -->