[android-developers] Re: Webview not fit to screen

2010-08-03 Thread Maps.Huge.Info (Maps API Guru)
One thing you can do to make things easier is to add this meta tag to your html: -John Coryat, USNaviguide LLC -- 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 un

[android-developers] Re: Webview not fit to screen

2010-08-03 Thread Doug
I don't know about defaults because every view in a layout needs to have its height and width specified. I have also put a WebView in a RelativeLayout that fills its parent, and set the WebView's four sides to align to the parent's edges. I have also made a WebView fill a FrameLayout that also fi

[android-developers] Re: Webview not fit to screen

2010-08-02 Thread Ken
Tried that - didn't work. I thought the default behavior of WebView is fit to screen (width), no? Thanks. On Aug 2, 4:53 pm, Doug wrote: > You might want to have height and width of the WebView itself fill the > parent, and don't bother using a LinearLayout if it contains just one > child view.

[android-developers] Re: Webview not fit to screen

2010-08-02 Thread Doug
You might want to have height and width of the WebView itself fill the parent, and don't bother using a LinearLayout if it contains just one child view. On Aug 2, 11:40 am, Ken wrote: > anyone? > > On Jul 30, 3:10 pm, Ken wrote: > > > Hi, > > > When I load a URL in my webview, the page always ap

[android-developers] Re: Webview not fit to screen

2010-08-02 Thread Ken
anyone? On Jul 30, 3:10 pm, Ken wrote: > Hi, > > When I load a URL in my webview, the page always appears with full > size and I am unable to zoom out (I did call > setBuiltInZoomControls(true)). The webview is wrapped in a > LinearLayout with fill_parent for both dimensions. > > Is there a simpl