jahswant Well-Known Member Licensed User Longtime User Jul 12, 2020 #1 My problem is the keyboard covering focused views. I want to push the dialog up accordingly and bring it back when keyboard is hidden. I tried with the Dialog.Resize in the B4XPage_KeyboardStateChznged. Please save me with a snippet...
My problem is the keyboard covering focused views. I want to push the dialog up accordingly and bring it back when keyboard is hidden. I tried with the Dialog.Resize in the B4XPage_KeyboardStateChznged. Please save me with a snippet...
Erel B4X founder Staff member Licensed User Longtime User Jul 12, 2020 #2 If you want to show a single text field then use B4XInputTemplate. If you want to show multiple fields then use B4XPreferencesDialog. Upvote 0
If you want to show a single text field then use B4XInputTemplate. If you want to show multiple fields then use B4XPreferencesDialog.
jahswant Well-Known Member Licensed User Longtime User Jul 12, 2020 #3 I use a custom layout with show custom. I’m migrating from iCustomDialogs. So all my layouts are already designed. Upvote 0
I use a custom layout with show custom. I’m migrating from iCustomDialogs. So all my layouts are already designed.
Erel B4X founder Staff member Licensed User Longtime User Jul 12, 2020 #4 Handling the keyboard, especially if you are building a cross platform solution and if there are multiple text fields, can be tricky. See code here: https://www.b4x.com/android/forum/threads/b4x-input-dialogs-with-xui-views.101197/#content And don't miss post #6 if there are several fields. Upvote 0
Handling the keyboard, especially if you are building a cross platform solution and if there are multiple text fields, can be tricky. See code here: https://www.b4x.com/android/forum/threads/b4x-input-dialogs-with-xui-views.101197/#content And don't miss post #6 if there are several fields.