Android Question Layouts, Screen Resolution and Immersive Mode

Discussion in 'Android Questions' started by tdocs2, Feb 18, 2015.

  1. tdocs2

    tdocs2 Well-Known Member Licensed User

    Greetings, all.

    Nexus 7 - 1280 by 800 but in reality, LV is 1280 by 732 (action bar)
    B4A Layout 1280 by 800 is cut short.

    I experimented with Android 4.4 Immersive Mode (a couple of threads on the subject), but Immersive Mode is applied after the layout is loaded. Then, the layout and all corresponding views would have to be adjusted - lots of coding. It would be easier to "redesign" the layout to be 1200 by 700 to cover these cases (still lots of work).

    Is there a way to apply Immersive Mode BEFORE the layout is loaded?

    Any and all help is welcomed.

  2. Erel

    Erel Administrator Staff Member Licensed User

    No. The main problem with this mode (and B4A) is that the activity height is not updated and therefore the layout will not use the new height automatically.

    If you really need this mode then there are ways to adjust the activity height but they are not simple.
  3. tdocs2

    tdocs2 Well-Known Member Licensed User

    Thank you, Erel.
  4. Yvon Steinthal

    Yvon Steinthal Active Member Licensed User

    I need more info about this height change.... and IME doesnt seem to be a viable solution as it crashes my app...
  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