I'm trying to add a ScrollView (vertical) into a MapView. I have tried this code, but it dosn't work
Using xml Syntax Highlighting
- <?xml version="1.0" encoding="utf-8"?>
- <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/home_container"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
- <com.google.android.maps.MapView
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/mapview"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:clickable="true"
- android:apiKey="0jprwv5FbPV-ZQUmN1SZ9uaW3f205PA0Hio4xwQ"/>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:orientation="vertical"
- android:gravity="top"
- android:paddingLeft="5px"
- android:paddingTop="5px"
- android:paddingRight="5px">
- <ScrollView android:id="@+id/ScrollView01"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
- <LinearLayout android:id="@+id/LinearLayout01"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
- <!-- A lots of buttons -->
- </LinearLayout>
- </ScrollView>
- </LinearLayout>
- </FrameLayout>
Parsed in 0.004 seconds, using GeSHi 1.0.8.4
Can anybody help me?


