How to implement this shape of Departments
header using shape
and xml
without 9-patch ?
I mean rectangle with arrow on the left.
My code snippet:
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:bottom="1px"
android:left="@dimen/edittext_border"
android:right="@dimen/edittext_border"
android:top="@dimen/edittext_border">
<shape android:shape="rectangle">
<stroke
android:width="@dimen/edittext_border_width"
android:color="@color/menu_divider" />
<solid android:color="@color/background" />
<corners android:radius="4dp" />
</shape>
</item>
</layer-list>