Created
April 16, 2015 14:18
-
-
Save arielmagbanua/7482f1cc288cec647c96 to your computer and use it in GitHub Desktop.
Android Drawable Shape: Rectangle with Rounded Corners
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" | |
android:shape="rectangle" > | |
<!-- fill/color --> | |
<solid | |
android:color="#ff0000"/> | |
<!-- Control the width and height of the shape --> | |
<size | |
android:width="200dp" | |
android:height="70dp"/> | |
<!-- Control the radius of each corners --> | |
<corners | |
android:topLeftRadius="30dp" | |
android:topRightRadius="15dp" | |
android:bottomLeftRadius="15dp" | |
android:bottomRightRadius="15dp"/> | |
</shape> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment