musaso Active Member Licensed User Longtime User Oct 23, 2020 #1 After many checks, I have detected that the IME_HeightChanged event does not work when #FullScreen: True B4X: #Region Activity Attributes #FullScreen: True <===== not work #IncludeTitle: False #End Region
After many checks, I have detected that the IME_HeightChanged event does not work when #FullScreen: True B4X: #Region Activity Attributes #FullScreen: True <===== not work #IncludeTitle: False #End Region
JohnC Expert Licensed User Longtime User Oct 23, 2020 #2 Maybe try this lib instead: IME2 Library I have been having a lot of trouble lately with layouts being corrupted when rotating a device with the soft keyboard open. The problem stems from trying to use the IME library HeightChanged event. Unfortunately Android provides no direct way to determine whether the soft keyboard is shown or... www.b4x.com Upvote 0
Maybe try this lib instead: IME2 Library I have been having a lot of trouble lately with layouts being corrupted when rotating a device with the soft keyboard open. The problem stems from trying to use the IME library HeightChanged event. Unfortunately Android provides no direct way to determine whether the soft keyboard is shown or... www.b4x.com
musaso Active Member Licensed User Longtime User Oct 23, 2020 #3 JohnC said: Maybe try this lib instead: IME2 Library I have been having a lot of trouble lately with layouts being corrupted when rotating a device with the soft keyboard open. The problem stems from trying to use the IME library HeightChanged event. Unfortunately Android provides no direct way to determine whether the soft keyboard is shown or... www.b4x.com Click to expand... The same problem, in FullScreen it does not work. thanks for the try Upvote 0
JohnC said: Maybe try this lib instead: IME2 Library I have been having a lot of trouble lately with layouts being corrupted when rotating a device with the soft keyboard open. The problem stems from trying to use the IME library HeightChanged event. Unfortunately Android provides no direct way to determine whether the soft keyboard is shown or... www.b4x.com Click to expand... The same problem, in FullScreen it does not work. thanks for the try
agraham Expert Licensed User Longtime User Oct 23, 2020 #4 Try the example in the IME2 Library first post with#FullScreen: True. It works for me. Check your manifest entries. B4X: SetActivityAttribute(main, android:windowSoftInputMode, adjustResize|stateHidden) AddManifestText(<edtSource android:imeOptions="flagNoExtractUi|flagNoFullscreen" />) It should also work with the original IME library. The second line does something that I have forgotten for an EditText named edtSource in that demo. Upvote 0
Try the example in the IME2 Library first post with#FullScreen: True. It works for me. Check your manifest entries. B4X: SetActivityAttribute(main, android:windowSoftInputMode, adjustResize|stateHidden) AddManifestText(<edtSource android:imeOptions="flagNoExtractUi|flagNoFullscreen" />) It should also work with the original IME library. The second line does something that I have forgotten for an EditText named edtSource in that demo.
agraham Expert Licensed User Longtime User Oct 23, 2020 #5 B4X: AddManifestText(<edtSource android:imeOptions="flagNoExtractUi|flagNoFullscreen" />) The second line stops the keyboard taking over the screen with it's own input area in landscape mode and allows the EditText contents to be seen. Have a play and remove it and see what happens. Upvote 0
B4X: AddManifestText(<edtSource android:imeOptions="flagNoExtractUi|flagNoFullscreen" />) The second line stops the keyboard taking over the screen with it's own input area in landscape mode and allows the EditText contents to be seen. Have a play and remove it and see what happens.
musaso Active Member Licensed User Longtime User Oct 23, 2020 #6 agraham said: B4X: AddManifestText(<edtSource android:imeOptions="flagNoExtractUi|flagNoFullscreen" />) The second line stops the keyboard taking over the screen with it's own input area in landscape mode and allows the EditText contents to be seen. Have a play and remove it and see what happens. Click to expand... the first line was already on still not working ... with IME , IME2 Web public static final int IME_FLAG_NO_FULLSCREEN ?????????? Flag of imeOptions: used to request that the IME never go into fullscreen mode. Applications need to be aware that the flag is not a guarantee, and not all IMEs will respect it. Last edited: Oct 23, 2020 Upvote 0
agraham said: B4X: AddManifestText(<edtSource android:imeOptions="flagNoExtractUi|flagNoFullscreen" />) The second line stops the keyboard taking over the screen with it's own input area in landscape mode and allows the EditText contents to be seen. Have a play and remove it and see what happens. Click to expand... the first line was already on still not working ... with IME , IME2 Web public static final int IME_FLAG_NO_FULLSCREEN ?????????? Flag of imeOptions: used to request that the IME never go into fullscreen mode. Applications need to be aware that the flag is not a guarantee, and not all IMEs will respect it.
Johan Hormaza Well-Known Member Licensed User Longtime User Oct 23, 2020 #7 For me it is the opposite, it does not work with B4X: #Region Activity Attributes #FullScreen: False <---- not work #IncludeTitle: false #End Region Upvote 0
For me it is the opposite, it does not work with B4X: #Region Activity Attributes #FullScreen: False <---- not work #IncludeTitle: false #End Region
agraham Expert Licensed User Longtime User Oct 23, 2020 #8 musaso said: still not working ... with IME , IME2 Click to expand... Have you tried the IME2 demo as I suggested? If it doesn't work for you try a different IME. Upvote 0
musaso said: still not working ... with IME , IME2 Click to expand... Have you tried the IME2 demo as I suggested? If it doesn't work for you try a different IME.
Erel B4X founder Staff member Licensed User Longtime User Oct 25, 2020 #9 This is a known issue. IME will not work properly when the activity is a full screen activity: https://www.b4x.com/android/forum/t...-keyboard-with-the-ime-library.14832/#content Upvote 0
This is a known issue. IME will not work properly when the activity is a full screen activity: https://www.b4x.com/android/forum/t...-keyboard-with-the-ime-library.14832/#content
musaso Active Member Licensed User Longtime User Oct 25, 2020 #10 Erel said: This is a known issue. IME will not work properly when the activity is a full screen activity: https://www.b4x.com/android/forum/t...-keyboard-with-the-ime-library.14832/#content Click to expand... It's clear for me. thanks Upvote 0
Erel said: This is a known issue. IME will not work properly when the activity is a full screen activity: https://www.b4x.com/android/forum/t...-keyboard-with-the-ime-library.14832/#content Click to expand... It's clear for me. thanks