Android Question Label gets pushed off top of screen by keyboard.

U

unba1300

Guest
Hi. I have a layout with a label at the top and a scrollview below which I add several edittexts to with code. The edittexts near the bottom get pushed up by the virtual keyboard, which is good, but the label (which contains instructions for the text entry) at the top also gets pushed up (and off the screen). Is there a way to fix this? Thanks.
 

mangojack

Expert
Licensed User
Longtime User
but the label (which contains instructions for the text entry)

I dont know if this helps, but cannot you use the EditText Hint Text property allowing you to remove the label alltogether ?
B4X:
EditText1.Hint = "Type this here .."
EditText1.HintColor = Colors.Blue

Cheers mj
 
Upvote 0
U

unba1300

Guest
Yes, I do have hints in each edittext, but those are just examples of what should be entered. I still need a label giving general instructions (rules) to stay at the top. Thanks.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…