Wednesday, April 6, 2011

[android-developers] Re: InputMethod overlayed the edit area in webview when the hardware accelerate is enabled!

thanks for your reply.
the input method is really bother me a lot in designing for
tablet...~~
and i'll try to change the UI and make adjustResize work well. :)

but i still look forward to seeing this is fixed in the further SDK.

nice day.


On Apr 6, 9:37 pm, Dianne Hackborn <hack...@android.com> wrote:
> Hm, this may be a bug with adjustPan when used with hardware acceleration,
> because its impl depends on playing games with drawing.
>
> I'll look in to what is going on there, but generally I would *strongly*
> suggest not using adjustPan.  It is mostly there for compatibility with apps
> that can't resize themselves to account for the IME.  It is intrinsically a
> poorer user experience than adjustResize because when the IME is displayed
> the user can't scroll around in the window's content.
>
> On Wed, Apr 6, 2011 at 2:58 AM, wsgfz...@gmail.com <wsgfz...@gmail.com>wrote:
>
>
>
>
>
>
>
>
>
> > Added:
> >    i test it on xoom, 3.0.1.
>
> > On Apr 6, 5:49 pm, Deng Liang <wsgfz...@gmail.com> wrote:
> > > The activity is set up like this
> > > ==============================================
> > >     android:theme="@android:style/Theme.NoTitleBar"
> > >     android:hardwareAccelerated="true"
> > >     android:screenOrientation="landscape"
> > >     android:windowSoftInputMode="adjustPan|stateAlwaysHidden"
> > >     //blah blah....
> > > ==============================================
>
> > > I have a WebView which height is set to "fill_parent",and every time I
> > type
> > > in an edit area placed at the bottom of the web page,the input method
> > would
> > > overlay the edit area.I couldn't even see what i am typing.But when I
> > > disable the hardware acceleration,it seems appeared normal.See the pics
> > in
> > > attachment.
>
> > > when the input method overlayed,the links in web page seems mismatched. I
> > > guess it actually pushed the web page up, but it showed like it didn't.
>
> > > I know if i change windowSoftInputMode to adjustResize may solve this
> > > problem.but it will cause other problem in my program.
>
> > > anyone can help? thx~
>
> > > =========================
> > > ps
> > > i try to extends WebView and override isHardwareAccelerated.make it
> > always
> > > return false,but it doesn't work...
>
> > >  1222.png
> > > 156KViewDownload
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscribe@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate