Code example for RelativeLayout.LayoutParams

0
    super.onCreate(saved);
     
    map_ = new CycleMapView(this, this.getClass().getName());
	   
    final RelativeLayout rl = new RelativeLayout(this);
    rl.addView(map_, new RelativeLayout.LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT));
    setContentView(rl);
  } // onCreate 
      
  protected CycleMapView mapView() { return map_; }
  protected Overlay overlayPushBottom(final Overlay overlay) { return map_.overlayPushBottom(overlay); }
  protected Overlay overlayPushTop(final Overlay overlay) { return map_.overlayPushTop(overlay); }
	 
  protected void findPlace() { launchFindDialog(); } 
 
  @Override 
  protected void onPause() 
  { 
    map_.onPause();
    super.onPause(); 
  } // onPause