Normal Controls on MapView

Put your problem here if it does not fit any of the other categories.

Normal Controls on MapView

Postby Kamal » Wed Jun 03, 2009 11:11 am

Hi All,

I have a main class:

public class MapsActivity extends MapActivity{

private class RotateView extends ViewGroup implements SensorListener {

.........
.........

}

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
mRotateView = new RotateView(this);
mMapView = new MapView(this, "012_Xi3bU6Nqt47mEkypTux5nnQ_gSB1qFcASnQ");


mRotateView.addView(mMapView);

mRotateView.addView(txt);
setContentView(mRotateView);
........

}

This will display the map view on complete screen.

I want to display Map on half of the screen(360px * 300 px) and want to add edittext, button and map Zoom controls over the layout.

Is it possible to do that ???

If so, can you help me how to add this using codes ?

Regards,
Kamal
Kamal
Junior Developer
Junior Developer
 
Posts: 23
Joined: Wed May 27, 2009 11:15 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 21 guests