Android Question custom shaped edittext

Smee

Well-Known Member
Licensed User
Longtime User
I would like to find out how to change the shape of an edit text box similar to the shape below
upload_2017-6-8_22-47-23.png


Can anyone point me to a solution for such a shape converting edittext

Many Thanks
 

Smee

Well-Known Member
Licensed User
Longtime User
B4X:
    Dim cd As ColorDrawable
    cd.Initialize2(Colors.White,30dip,3dip,Colors.Black)
edittext1.Background = cd

Goodness me, It really was that simple. I had never used initialize2 before, I will now :)

Thanks very much and for the quick answer
 
Upvote 0
Top