Google map application
<p>I am trying to do a google map related application.While doing that application i got some problems.This is my xml file</p>

<pre><code> &lt; LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
android:layout_width="fill_parent"  
android:layout_height="fill_parent"&gt;

  &lt;com.google.android.maps.MapView 
    android:id="@+id/mapView"
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"
     android:enabled="true"
     android:clickable="true"
     android:apiKey="0uw2roKAecBgrtyYUPVL-pJ84Ez4tfHTilFZCGw"/&gt;
      &lt;LinearLayout android:id="@+id/zoom" 
    android:layout_width="wrap_content" 
    android:layout_height="wrap_content" 
    android:layout_alignParentBottom="true" 
    android:layout_centerHorizontal="true" 
    /&gt; 
  &lt;/LinearLayout&gt;
</code></pre>

<p>And this is my .java file</p>

<pre><code>protected void onCreate(Bundle icicle) {


    super.onCreate(icicle);
    setContentView(R.layout.main);
    mapView = (MapView) findViewById(R.id.mapView);
              LinearLayout zoomLayout = (LinearLayout)findViewById(R.id.zoom);  
              View zoomView = mapView.getZoomControls();
              zoomLayout.addView(zoomView, 
              new LinearLayout.LayoutParams(
                LayoutParams.WRAP_CONTENT, 
                LayoutParams.WRAP_CONTENT)); 
        mapView.displayZoomControls(true);
}
</code></pre>

<p>I am getting google map view for this application but no zoom.
If i change first  to  i am getting output with zoom options..what is the problem with the linear layout.Pls tell me friends</p>
