Yes it uses pan, unless the view hierarchy has a container that can resize
to accommodate the IME.

On Sat, May 9, 2009 at 4:10 PM, Mark Doliner <[email protected]> wrote:

>
> I got confused about whether the default value for
> android:windowSoftInputMode[1] was adjustResize or adjustPan and
> thought I might be able to help someone avoid similar confusion.  The
> "Updating Applications for On-screen Input Methods" blog post[2]
> states that pan and scan is the default mode because it is the safest
> for existing applications, and resize is often the preferred screen
> layout.
>
> But I believe it's a little more complicated than that.  If the
> outermost View in a layout is a ScrollView then it appears that the
> default is actually adjustResize.  And this makes sense: if the View
> lives inside a ScrollView then it probably knows how to resize itself.
>
> I'm mostly basing this statement on trial and error, so it would be
> great if someone could confirm or correct me.  Maybe this should be
> mentioned in the documentation at [1]?  Or state that it is
> recommended that applications specify one or the other, rather than
> depending on the default?
>
> Thanks,
> Mark
>
> [1]
> http://developer.android.com/guide/topics/manifest/activity-element.html#wsoft
> [2]
> http://android-developers.blogspot.com/2009/04/updating-applications-for-on-screen.html
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
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