Android Question About border EdtitText

Pooya1

Active Member
Licensed User
Hi
I use below code for change colordrawable of Edittext
B4X:
Private normal As ColorDrawable
normal.Initialize2(Colors.Transparent,4dip,1dip,Colors.Gray) 
txtaddress.Background = normal
But when i click one of Edittexts,border destroy look like attachment picture
What's happen?
Note: As long as I did not click on any Edittext,this problems dont exist
 

Attachments

  • photo_2018-03-09_09-28-52.jpg
    photo_2018-03-09_09-28-52.jpg
    48 KB · Views: 175
  • photo_2018-03-09_09-28-52.jpg
    photo_2018-03-09_09-28-52.jpg
    47.5 KB · Views: 184
  • photo_2018-03-09_09-32-42.jpg
    photo_2018-03-09_09-32-42.jpg
    55.7 KB · Views: 157
Top