Skip to content

Instantly share code, notes, and snippets.

@Antarix
Antarix / layout_border_bottom
Created Feb 3, 2013
Setting specific border i.e top,bottom,left,right or all for Android layout
View layout_border_bottom
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item>
<shape
android:shape="rectangle">
<!-- Set the border color of your layout here -->
<stroke android:width="1dp" android:color="#3AFB03" />
<solid android:color="#3AFB03" />
</shape>