I'm really liking the new iCustomDialog library https://www.b4x.com/android/forum/threads/custom-dialogs-with-icustomdialog-library.83526/
I was wondering if there was a way to control the dialog's vertical position on the display. I'm using it to update a text field and have created a panel with a text field, then displayed it with a title and OK/Cancel buttons. However, when clicking in the text field to adjust the value, the keyboard pops up and obscures the OK/Cancel buttons - worse, in portrait orientation there's no way to dismiss the keyboard. at the moment, I need to either rotate to landscape (to have a keyboard dismiss button show up) or use the workaround posted by Erel of making the panel slightly larger than the text field and capturing the Panel_Click event to ResignFocus from the text field.
I'd like to have the dialog show at the top of the display, rather than centered in the middle.
Alternatively, would be great if the dialog could be moved up the display once text entry is complete?
I was wondering if there was a way to control the dialog's vertical position on the display. I'm using it to update a text field and have created a panel with a text field, then displayed it with a title and OK/Cancel buttons. However, when clicking in the text field to adjust the value, the keyboard pops up and obscures the OK/Cancel buttons - worse, in portrait orientation there's no way to dismiss the keyboard. at the moment, I need to either rotate to landscape (to have a keyboard dismiss button show up) or use the workaround posted by Erel of making the panel slightly larger than the text field and capturing the Panel_Click event to ResignFocus from the text field.
I'd like to have the dialog show at the top of the display, rather than centered in the middle.
Alternatively, would be great if the dialog could be moved up the display once text entry is complete?