503 by 480 is huge. Try setting width as "fill_parent" and height as say 100dip.
On May 7, 5:14 am, jgan <jim....@gmail.com> wrote: > Hi > > Does anyone know how to put mapview on the top part of the screen? > > The map always occupies the whole screen and squeezes out the views > below. > > The explicitly specified height and width does not help either. > > com.google.android.maps.MapView > android:id="@+id/myMapView" > android:layout_width="480dip" > android:layout_height="503dip" > > It works if the other views are on the top part of the screen and the > mapview is at the bottom part. > > Thanks. > > Jim > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group > athttp://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en