Android Question TextBox background on holo style

tigrot

Well-Known Member
Licensed User
Longtime User
Hi everybody,
I have a screen with two input textbox's.
I have used this code to change background of input field:

B4X:
Dim cd As ColorDrawable
cd.Initialize(Colors.White,10) 
txtBox1.Background=cd
txtBox2.Background=cd

They show fine, but when I focus the second txtbox2 (a multiline text input) using a click, the size of the background suddendly changes because the virtual keyboard opens and remains small also after keyboard closes.

My customer doesn't want the Holo text background. He prefer a solid one.
What can I do to change the text background?
Thank you for help!
Ciao
Mauro
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…