Created
July 27, 2017 10:15
-
-
Save ninjachen/5a443eb74a93678584b7989cf56dc0cd to your computer and use it in GitHub Desktop.
android layout with top and bottom boarder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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