You can simply declare in your xml file a ScrollView , into which LinearLayout , which includes MapView is MapView :
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="center_horizontal" android:fillViewport="true" > <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" > <fragment android:id="@+id/map" android:layout_width="match_parent" android:layout_height="match_parent" class="com.google.android.gms.maps.MapFragment" /> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" > ...... Your list and other stuff ....... </LinearLayout> </LinearLayout> </ScrollView>
Then you can set the size for each element by specifying the layout_weight attribute
EDIT IvanDanDo, after our discussion, I found this link that can do what you want (not sure though, I have not tried it): Android: there is an arbitrary slide view under a different view, like a software keyboard
jbihan
source share