Created
December 7, 2019 17:53
-
-
Save lokcito/4d99682dc44e09f1cdd8a90c29fdd626 to your computer and use it in GitHub Desktop.
android-input-icon.xml
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"?> | |
<!-- res/drawable/input_border_radius.xml --> | |
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
<item> | |
<shape xmlns:android="http://schemas.android.com/apk/res/android" | |
android:shape="rectangle" android:padding="10dp"> | |
<solid android:color="#FFFFFF"/> | |
<stroke android:width="2dp" android:color="#FF0000" /> | |
<corners | |
android:bottomRightRadius="15dp" | |
android:bottomLeftRadius="15dp" | |
android:topLeftRadius="15dp" | |
android:topRightRadius="15dp"/> | |
</shape> | |
</item> | |
<item> | |
<bitmap android:src="@drawable/outlook" android:gravity="center" /> | |
</item> | |
</layer-list> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment