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,
              RelativeLayout.LayoutParams.WRAP_CONTENT );
p.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM);
p.addRule(RelativeLayout.CENTER_HORIZONTAL);

m_WebView.addView(zc, p);

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

tia,
   mike

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Browser specs

Hey everyone !

I've been trying to collect information about Android web browser
specifications, like html/css versions, security protocols, Java/Flash
support, etc...

Does anyone know where to find this info ? it seems pretty critical
and yet i couldn't find anything...

I googled it though ... ; )

thx !

--~--~---------~--~----~------------~-------~--~----~

2. Focus algorithm's default logic

Also, any good place to know how does android framework default
approach to decide on the next focusable component. Does this depend
on Layout.

What is its impact if the view is dynamically generated with certain
view items, either removed, added or hidden based on certain events.

Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com
--~--~---------~--~----~------------~-------~--~----~

3. Debit Cards Invalid on Android Market.

4. EditText with multiple listners

5. help: button.setBackgroundColor

6. How to get current date ??

7. ALSA Compilation problem