Created
December 13, 2016 02:31
-
-
Save fnzainal/fd00fa5eba46ff1bdaefbe0ff43544c5 to your computer and use it in GitHub Desktop.
to draw rounded rectangle on android
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"?> | |
<shape xmlns:android="http://schemas.android.com/apk/res/android"> | |
<stroke | |
android:color="@color/color_primary" | |
android:width="5dp" /> | |
<stroke | |
android:width="5dp" | |
android:color="@color/black"/> | |
<corners | |
android:radius="50dp" /> | |
<padding | |
android:left="10dp" | |
android:top="10dp" | |
android:right="10dp" | |
android:bottom="10dp" /> | |
</shape> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment