hi all,
i add a zoomcontrols in my view,
not in the webview or mapview,
but when i click the zoom in/out,
the view can't in/out?
thanks!!!!
my code is:
==========================
mZoomControls1=(mZoomControls1)findViewById(r.id.zc);
mZoomControls1.show();
/* zoom controls in */
mZoomControls1.setOnZoomInClickListener(new
ZoomControls.OnClickListener()
{
public void onClick(View v) {
// TODO Auto-generated method stub
mZoomControls1.setIsZoomInEnabled(true);
mZoomControls1.setIsZoomOutEnabled(true);
}
});
/* zoom controls out */
mZoomControls1.setOnZoomOutClickListener(new
ZoomControls.OnClickListener()
{
public void onClick(View v) {
// TODO Auto-generated method stub
mZoomControls1.setIsZoomInEnabled(true);
mZoomControls1.setIsZoomOutEnabled(true);
}
});
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---