Could you please post your layout xml file to help reproduce the
problem. Meanwhile...
this.getWindow().addFlags
(WindowManager.LayoutParams.FLAG_FULLSCREEN);
this.getWindow().setSoftInputMode
(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);
did work for me for a vertical layout with a bunch of UI elements in
it.
Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.
On Aug 18, 3:04 am, loctarar <[email protected]> wrote:
> Hello!
>
> I've noticed some incompatibility between these two functions.
> public void onCreate(Bundle savedInstanceState) {
> super.onCreate(savedInstanceState);
> this.getWindow().addFlags
> (WindowManager.LayoutParams.FLAG_FULLSCREEN);
> this.getWindow().setSoftInputMode
> (WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);
> .....
>
> }
>
> Enabling the fullscreen flag seems to disable the soft input adjust
> mode. I looked through the source code of the two functions but I
> coulnd't find anything that might cause this.
>
> Any suggestions?
> Thanks!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---