Android Question Soft keyboard and full screen apps

Discussion in 'Android Questions' started by JdV, Feb 20, 2015.

  1. JdV

    JdV Active Member Licensed User

  2. Erel

    Erel Administrator Staff Member Licensed User

    Yes. It doesn't matter whether the app is full screen or not.
     
  3. JdV

    JdV Active Member Licensed User

    Erel

    Have a look at the attached example.

    It doesn't fire the IME_HeightChanged sub when #FullScreen is set to True.

    (Also, for some reason the app crashes after I press OK when #FullScreen is set to False.)

    I'm testing this on a Nexus 10 tablet running Android 5.0.2.

    Regards

    Joe
     

    Attached Files:

  4. Erel

    Erel Administrator Staff Member Licensed User

  5. JdV

    JdV Active Member Licensed User

    Erel

    Thanks for the quick reply.

    I have added the attribute (SetActivityAttribute(main, android:windowSoftInputMode, adjustResize|stateHidden)) to the manifest editor (see app attached).

    It still isn't firing the IME_HeightChanged event though. It doesn't seem to matter whether the keyboard was opened by pressing on the edit text field or one of the input fields in the HTML doc.

    Note: I have only tested this with Android 5.0.2

    Regards

    Joe
     

    Attached Files:

  6. Erel

    Erel Administrator Staff Member Licensed User

  7. JdV

    JdV Active Member Licensed User

    Yes, I saw that page as well.

    I had hoped there would be a clever workaround available in B4A or in the IME library to compensate for it.

    Regards

    Joe
     
  8. Geezer

    Geezer Active Member Licensed User

    I'm curious if this was ever resolved ?
     
  9. Erel

    Erel Administrator Staff Member Licensed User

    No, 'adjustResize' mode doesn't work properly in full screen activities.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice