Hello again!
I see one more problem, but this time in the ui itself. Under b4a pages are scrolling up when the keyboard is visible, under b4i it looks like i have to do it by myself.
I have created a new layout only containing a ScrollView and changed the "loadLayout" this way
The content - text-fields and a combo-box - fits to the page, so there is nothing to scroll as long as the keyboard is hidden.
But when the Keyboard is visible nothing changes...
So the keyboard covers the textfield. That means - i havn´t understand the scrollview correct...
When i add a fictive value to the height (scroller.ContentHeight=scrollPanel.height + 300) the page is scrollable, but not only when the keyboard is visible. Instead of any fixed value i need a trigger that the keyboard is shown and the height of it, correct? And also a method to bring the textview into view i think...
Can anybody tell me what is missing?
Regards
Matthias
I see one more problem, but this time in the ui itself. Under b4a pages are scrolling up when the keyboard is visible, under b4i it looks like i have to do it by myself.
I have created a new layout only containing a ScrollView and changed the "loadLayout" this way
B4X:
'Root.LoadLayout("editFarm")
Root.LoadLayout("scroller") '< only contains a scrollView named "scroller"
scroller.Panel.LoadLayout("editFarm") '< contains a panel named "scrollPanel" and inside a bounch of textboxes
scroller.ContentWidth =100%x
scroller.ContentHeight=scrollPanel.height
But when the Keyboard is visible nothing changes...
So the keyboard covers the textfield. That means - i havn´t understand the scrollview correct...
When i add a fictive value to the height (scroller.ContentHeight=scrollPanel.height + 300) the page is scrollable, but not only when the keyboard is visible. Instead of any fixed value i need a trigger that the keyboard is shown and the height of it, correct? And also a method to bring the textview into view i think...
Can anybody tell me what is missing?
Regards
Matthias