Last active
March 2, 2018 12:33
-
-
Save sharifulislam52/7600d1787ee59731b01aa1463939e240 to your computer and use it in GitHub Desktop.
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <shape xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:shape="rectangle" > | |
| <!-- View background color --> | |
| <solid | |
| android:color="@color/color_name" > | |
| </solid> | |
| <!-- View border color and width --> | |
| <stroke | |
| android:width="1dp" | |
| android:color="@color/color_name" > | |
| </stroke> | |
| <!-- The radius makes the corners rounded --> | |
| <corners | |
| android:radius="1dp" > | |
| </corners> | |
| </shape> | |
| <!-- color_name --> |
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
| <!-- add bellow attribute into view for border --> | |
| android:background="@drawable/Android_Drawable_Border" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment