tigrot Well-Known Member Licensed User Longtime User Nov 30, 2016 #1 Hi everybody, I have a screen with two input textbox's. I have used this code to change background of input field: Code: Copy 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
Hi everybody, I have a screen with two input textbox's. I have used this code to change background of input field: Code: Copy 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
Erel B4X founder Staff member Licensed User Longtime User Nov 30, 2016 #2 Don't use the same drawable for multiple controls. Upvote 0
tigrot Well-Known Member Licensed User Longtime User Nov 30, 2016 #3 Forgot to append screnshots Upvote 0
tigrot Well-Known Member Licensed User Longtime User Nov 30, 2016 #4 Thank you very much Erel. I had the same sansation too. Mauro Upvote 0
tigrot Well-Known Member Licensed User Longtime User Nov 30, 2016 #5 First class immediate support: what else we need? Maybe a Nespresso? Have a nice day! Upvote 0