Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
android layout with top and bottom boarder
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item>
<shape android:shape="rectangle" >
<!--border color-->
<solid android:color="@color/d8grey"/>
</shape>
</item>
<item android:bottom="1dp" android:top="1dp">
<shape android:shape="rectangle" >
<!--background color-->
<solid android:color="@color/pure_white" />
</shape>
</item>
</layer-list>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment