This repository has been archived on 2026-10-26. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
vanilla/res/drawable/inset_divider.xml
T
Adrian Ulrich 38cbce6d78 center holo divider
Android 4.x defaults to an inset of 10dip on the right side.
2017-06-08 15:22:45 +02:00

12 lines
405 B
XML

<inset xmlns:android="http://schemas.android.com/apk/res/android"
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 -->
<shape android:shape="rectangle">
<solid android:color="#2affffff"/>
</shape>
</inset>