On Apr 15, 10:47 pm, N4Spd <robert.c...@gmail.com> wrote:
> I have webview whose zoom controls are placed into a linearlayout at
> the bottom of the screen.
>
> It's been working fine on 1.1 but testing on the new 1.5 beta SDK
> shows that the zoom controls are scrunched.
> They still work, just the layout is bad (buttons overlapping).
>
> I have code similar to what's been posted here:
>
> ViewGroup zoom=(ViewGroup)findViewById(R.id.zoom);
> zoom.addView(_webView.getZoomControls());
>
> The layout is also similar to what's been posted here:
>
> <RelativeLayout ...>
>    <WebView.../>
>         <LinearLayout android:id="@+id/zoom"
>                 android:layout_width="wrap_content"
>                 android:layout_height="wrap_content"
>                 android:layout_alignParentBottom="true"
>                 android:layout_alignParentLeft="true" />
> </RelativeLayout>
>
> thanks,
> rob

I'm seeing that getZoomControls() is deprecated. Does anyone know the
alternative?

--~--~---------~--~----~------------~-------~--~----~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to