and the size of ZoomControl how to set?

thanks

On 7月1日, 上午10時22分, tstanly <[email protected]> wrote:
> hi all,
>
> i have a ZoomControl,and the code is:
>
> ===================================
> LinearLayout mZoomView1=(LinearLayout)mMapView01.getZoomControls();
>           mZoomView1.setLayoutParams( new ViewGroup.LayoutParams
>                           ( ViewGroup.LayoutParams.FILL_PARENT,
>                           ViewGroup.LayoutParams.FILL_PARENT ) );
>
>           mZoomView1.setGravity(Gravity.TOP + Gravity.CENTER_HORIZONTAL);
>           mMapView01.addView(mZoomView1);
>           mMapView01.displayZoomControls(true);
> =======================================
> this method is setup for "RelativeLayout",
> how can i setup for "AbsoluteLayout"??
>
> i want to define the x,y location of ZoomControl,
>
> how can i do?
> thanks!!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to