Android Question Back to fullscreen after using the keyboard

Discussion in 'Android Questions' started by appie21, Aug 18, 2015.

  1. appie21

    appie21 Active Member Licensed User

    Hello

    I use a program that run fullscreen
    I use:

    Code:
    Sub Activity_WindowFocusChanged(HasFocus As Boolean)
    If HasFocus Then
       
    Dim jo As JavaObject = Activity
       jo.RunMethod(
    "setSystemUiVisibility"Array As Object(5894)) '3846 - non-sticky
    End If
    End Sub

    But when I use the keyboard and close it the application will not go back to full screen( the bar with the back and home button are visible) if i want close/hide the keyboard with a code

    I use:
    Code:
    Dim K As Phone
            K.HideKeyboard(
    Activity)
    I add:

    Code:
    Dim jo As JavaObject = Activity
               jo.RunMethod(
    "setSystemUiVisibility"Array As Object(5894)) '3846 - non-sticky
            Activity.Height = -1
            
    Activity.Width = -1
    But the bar in the bottom not go away
    How can I fix this?


    oops not fixed anyone an idea?
     
    Last edited: Aug 18, 2015
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