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


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
Cookies are required to use this site. You must accept them to continue using the site. Learn more…