Hi!

I have an activity which uses a custom GLSurfaceView. For certain 
operations, I need a keyboard, so I activate the keyboard manually using:

        InputMethodManager imm = (InputMethodManager) 
getSystemService(Context.INPUT_METHOD_SERVICE); 
        imm.toggleSoftInput(InputMethodManager.SHOW_FORCED, 
InputMethodManager.HIDE_IMPLICIT_ONLY);

The activity has declared windowsSoftInputMode="adjustResize" and this 
works as expected in portrait mode (the activity window is shrinked and I 
can pan around it). In landscape mode, however, the keyboard is shown "on 
top" of my activity and activity windows is not shrinked. This means that 
the user can not see big part of the activity windows and can not scroll it 
either.

For instance, when you use the built-in browser in landscape mode, and when 
you click on an input field in the web page, the keyboard comes up. But you 
can still scroll the browser. 

Should I use some other flags when in landscape mode?

Thanks,
 Miha.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to