Created
March 12, 2024 12:05
-
-
Save BrnPer/43d6b347bd29339a1d8549fe8cd5e2c5 to your computer and use it in GitHub Desktop.
Android EditText with bottom border without left padding
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:top="-2dp" android:right="0dp" android:left="-2dp" android:bottom="1dp" android:gravity="bottom"> | |
<shape android:shape="line"> | |
<size android:height="2dp"/> | |
<stroke android:width="1dp" android:color="#A020F0" /> | |
</shape> | |
</item> | |
</layer-list> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment