I have the following code where I want the text box to return to its original size before the Hasfocus =true, but it stays wider and taller, hence consumes all the spacing between the other edittext views and they all become contiguous.
B4X:
Sub MyEdit_FocusChanged(Hasfocus As Boolean)
Dim Send As EditText
Send=Sender
If Hasfocus=True Then
Send.Color=Colors.Cyan
Send.Typeface=Typeface.DEFAULT_BOLD
Else
Send.Color=Colors.white
Send.Typeface=Typeface.DEFAULT
End if
End sub