Android Question How to change line color in EditText

Croïd

Active Member
Licensed User
Longtime User
how can I translate ? (without NinePatch)

http://stackoverflow.com/a/34004110


You can also quickly change the EditText's underline color by tinting the background of the EditText like so:

B4X:
<EditText

            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:hint="Something or Other"
            android:backgroundTint="@android:color/holo_green_light" />

line.png
 

Blue.Sky

Active Member
Licensed User
Longtime User
Hi
I use BitmapDrawable in background Edittext and not exist problem rather it is flexible
 
Upvote 0
Top