android:layout_height="match_parent"
android:orientation="vertical" >
- <org.altusmetrum.AltosDroid.AltosMapView android:id="@+id/map_view_offline"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- />
+ <FrameLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:baselineAligned="true"
+ android:orientation="horizontal"
+ android:layout_weight="1">
+ <LinearLayout
+ android:id="@+id/map_online"
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_weight="1">
+ </LinearLayout>
+ <org.altusmetrum.AltosDroid.AltosMapOffline android:id="@+id/map_view_offline"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ />
+ </FrameLayout>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"