Skip to content

Instantly share code, notes, and snippets.

@Selimcse98
Forked from CiTuX/bottom_stroke.xml
Created February 23, 2016 07:15
Show Gist options
  • Save Selimcse98/521532ba06cc4e6f5b87 to your computer and use it in GitHub Desktop.
Save Selimcse98/521532ba06cc4e6f5b87 to your computer and use it in GitHub Desktop.
Android xml drawable with a bottom stroke
<?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="0dp">
<shape android:shape="rectangle">
<solid android:color="#88FFFF00"/>
<stroke
android:width="5dp"
android:color="#FF000000"/>
</shape>
</item>
</layer-list>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment