diff options
| author | Keith Packard <keithp@keithp.com> | 2015-07-11 22:17:16 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2015-07-11 22:17:16 -0700 |
| commit | c4af5cb233013b35d6763f5adf8d11b47f847111 (patch) | |
| tree | c60ff0575dc4c0d061523ce466be36c49c57342e /altosdroid/res/layout/tab_map.xml | |
| parent | 251263f72a1c189aac709d3d0410eb916a9f66d6 (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.xml | 12 |
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 |
