Created
January 5, 2015 17:34
-
-
Save YoonjaeYoo/ad2088ac65113a32400e to your computer and use it in GitHub Desktop.
Android drawable for cropped inside + border
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 | |
android:bottom="-20dp" | |
android:left="-20dp" | |
android:right="-20dp" | |
android:top="-20dp"> | |
<shape android:shape="rectangle"> | |
<stroke | |
android:width="20dp" | |
android:color="@android:color/white" /> | |
<corners android:radius="40dp" /> | |
</shape> | |
</item> | |
<item> | |
<shape android:shape="oval"> | |
<stroke | |
android:width="1dp" | |
android:color="@color/textColorSecondary" /> | |
</shape> | |
</item> | |
</layer-list> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment