Created
April 3, 2018 03:00
-
-
Save nishantkp/50ebba573169ac6d3763cf30e5de5c73 to your computer and use it in GitHub Desktop.
Use this drawable to generate a border with round corners
This file contains hidden or 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
<shape xmlns:android="http://schemas.android.com/apk/res/android"> | |
<solid android:color="@null" /> | |
<stroke | |
android:width="1dp" | |
android:color="@color/colorPrimary" /> | |
<padding | |
android:bottom="1dp" | |
android:left="1dp" | |
android:right="1dp" | |
android:top="1dp" /> | |
<corners android:radius="8dp" /> | |
</shape> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment