summaryrefslogtreecommitdiff
path: root/altosdroid/res/layout/tab_map.xml
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-06-22 18:26:34 -0700
committerKeith Packard <keithp@keithp.com>2015-06-22 21:04:43 -0700
commit18fe64cf2648568dd0bde5acd7b627f1ddb6917e (patch)
tree99e2b93b94077735ae06f8eaf1d1294de7798918 /altosdroid/res/layout/tab_map.xml
parentee656c9d41238ab2c56859a03fe6b8ce8ff2df4e (diff)
altosdroid: Display online/offline maps in same tab
Make the map portion switchable between online and offline maps, leaving the rest of the tab alone. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosdroid/res/layout/tab_map.xml')
-rw-r--r--altosdroid/res/layout/tab_map.xml13
1 files changed, 6 insertions, 7 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>