Wednesday, July 21, 2010

[android-developers] Re: How can we resize/zoom a web page in WebView control?

Thanks,

But can we change it dynamically after the HTML page is loaded?

On 7月21日, 下午1时04分, wang xin <tremendoustur...@gmail.com> wrote:
> if you want resize/zoom a webpage in webview, i can help, i have make it
> works.
>
> just add below script in your html file:
> *<meta name="viewport" content="target-densitydpi=213" />*
>
> you can resize the num to control the view size.
>
> On Sat, Jul 17, 2010 at 12:55 AM, Freedom <dian....@gmail.com> wrote:
> > Basically, we want to control the default visible part in a webview
> > control after a new web page is loaded.
> > We tried the javascript "window.scrollBy(...)", it works. However,
> > "window.moveTo(...)" does not work. Is there any trick here?
>
> > Can anyone help us?
>
> > --
> > 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<android-developers%2Bunsubs cribe@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> To Be Greate...

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