Zoom controls and WebView

by Mike Collins » Thu, 05 Mar 2009 05:44:30 GMT

Sponsored Links
 I can get the zoom controls to appear in a WebView but they
are stuck in one location on the web page.  Zooming in too
far and the controls move off-screen.

Tried this

View zc = m_WebView.getZoomControls();
RelativeLayout.LayoutParams p = new RelativeLayout.LayoutParams
              RelativeLayout.LayoutParams.WRAP_CONTENT );

m_WebView.addView(zc, p);

but doesn't make any difference...any ideas?



Other Threads

1. The App installer of android


Thank you. I still have some questions: 1. After the installation, the app's related permissions files is saved in the same .apk file or saved in a system central file?
Take a look at /data/system/packages.xml
2. At runtime, I learned that there is a "reference monitor" from the paper Understanding Android Security to check the permission lable. Which is the source code for this "reference monitor", or it's a vitual concept. I wonder to know which parts of source code dealing with this function. Thanks.
We described it more as a "virtual concept". There isn't code directly corresponding to a reference monitor, but the Activity Manager (frameworks/base/services/java/com/android/server/am/ ActivityManagerService.java) is a good place to start looking. -Will -- William Enck PhD Candidate Department of Computer Science and Engineering The Pennsylvania State University e...@cse.psu.edu

2. How to get last added TextView of a ListView after ArrayAdapter.add()

What you want to do is usually done in the adapter. It's especially
important to do it in the adapter's getView() method because there's
no guarantee in the order in which the views are created.

Romain Guy
Android framework engineer

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


3. Get result from settings activity intent

4. Imageview / Event problem

5. " How to send the On Call Screen Back "

6. Android porting for non eee-pc hardware

7. Displaying a "now loading" image while applic is, well, loading