summaryrefslogtreecommitdiff
path: root/altosdroid/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'altosdroid/res/layout')
-rw-r--r--altosdroid/res/layout/tab_map.xml13
-rw-r--r--altosdroid/res/layout/tab_map_offline.xml24
2 files changed, 25 insertions, 12 deletions
diff --git a/altosdroid/res/layout/tab_map.xml b/altosdroid/res/layout/tab_map.xml
index f611ae48..b4c97f91 100644
--- a/altosdroid/res/layout/tab_map.xml
+++ b/altosdroid/res/layout/tab_map.xml
@@ -20,13 +20,12 @@
android:layout_height="match_parent"
android:orientation="vertical" >
- <LinearLayout
+ <LinearLayout
android:id="@+id/map"
- android:orientation="horizontal"
- android:layout_width="fill_parent"
- android:layout_height="0dp"
- android:layout_weight="1">
-
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_weight="1">
</LinearLayout>
<LinearLayout
@@ -185,4 +184,4 @@
android:textAppearance="?android:attr/textAppearanceSmall" />
</RelativeLayout>
</LinearLayout>
-</LinearLayout> \ No newline at end of file
+</LinearLayout>
diff --git a/altosdroid/res/layout/tab_map_offline.xml b/altosdroid/res/layout/tab_map_offline.xml
index e6f134d8..1b0f28a7 100644
--- a/altosdroid/res/layout/tab_map_offline.xml
+++ b/altosdroid/res/layout/tab_map_offline.xml
@@ -20,11 +20,25 @@
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"