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
 

tigrot

Well-Known Member
Licensed User
Longtime User
Screenshot_2016-11-30-11-00-37.png
Screenshot_2016-11-30-11-01-05.png



Forgot to append screnshots
 
Upvote 0
Top