Skip to content

Instantly share code, notes, and snippets.

@ngangavic
Created October 8, 2020 08:13
Show Gist options
  • Save ngangavic/7dd35ea925a1c40e702d540499bdd3a9 to your computer and use it in GitHub Desktop.
Save ngangavic/7dd35ea925a1c40e702d540499bdd3a9 to your computer and use it in GitHub Desktop.
Custom buton lines stack on each other.(No solution yet)
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:top="-6dp"
android:left="-6dp"
android:right="-6dp"
android:bottom="5dp">
<shape android:shape="rectangle">
<stroke android:color="#9FB3CF" android:width="3dp"/>
</shape>
</item>
<item android:top="700dp"
android:left="100dp"
android:right="100dp"
android:bottom="0dp">
<shape android:shape="line" android:tint="@color/colorPrimary">
<stroke android:color="#ffffff" android:width="7dp"/>
</shape>
</item>
</layer-list>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment