summaryrefslogtreecommitdiff
path: root/altosdroid/res/layout/tab_map.xml
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-07-11 22:17:16 -0700
committerKeith Packard <keithp@keithp.com>2015-07-11 22:17:16 -0700
commitc4af5cb233013b35d6763f5adf8d11b47f847111 (patch)
treec60ff0575dc4c0d061523ce466be36c49c57342e /altosdroid/res/layout/tab_map.xml
parent251263f72a1c189aac709d3d0410eb916a9f66d6 (diff)
altosdroid: Clean up tab layout
Fuss with weights and gravitys, then add some wrapping layouts to get things looking reasonable on small and larger screens. 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.xml12
1 files changed, 7 insertions, 5 deletions
diff --git a/altosdroid/res/layout/tab_map.xml b/altosdroid/res/layout/tab_map.xml
index 2388a20b..952abd49 100644
--- a/altosdroid/res/layout/tab_map.xml
+++ b/altosdroid/res/layout/tab_map.xml
@@ -26,6 +26,7 @@
android:baselineAligned="true"
android:orientation="horizontal"
android:layout_weight="1">
+
<LinearLayout
android:id="@+id/map_online"
android:orientation="horizontal"
@@ -33,11 +34,12 @@
android:layout_height="fill_parent"
android:layout_weight="1">
</LinearLayout>
- <org.altusmetrum.AltosDroid.AltosMapOffline android:id="@+id/map_offline"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- />
+
+ <org.altusmetrum.AltosDroid.AltosMapOffline
+ android:id="@+id/map_offline"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"/>
</FrameLayout>
<LinearLayout