From e7e3cabb0543664bdc142b5a6ae38f75fded9d16 Mon Sep 17 00:00:00 2001 From: GaidamakUA Date: Mon, 6 Jun 2016 18:53:18 +0300 Subject: [PATCH] Fixed misplaced right buttons. --- OsmAnd/res/layout-land/map_hud_bottom.xml | 430 +++++++++++----------- 1 file changed, 222 insertions(+), 208 deletions(-) diff --git a/OsmAnd/res/layout-land/map_hud_bottom.xml b/OsmAnd/res/layout-land/map_hud_bottom.xml index f29ae1c9a9..5585f75864 100644 --- a/OsmAnd/res/layout-land/map_hud_bottom.xml +++ b/OsmAnd/res/layout-land/map_hud_bottom.xml @@ -1,254 +1,268 @@ - + - - - + + android:id="@+id/bottom_left_views" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" + android:layout_alignParentLeft="true"> - + + + + + + + + - - - - - - - - - + android:layout_gravity="bottom" + android:layout_marginBottom="130dp" + android:layout_marginLeft="@dimen/map_button_margin" + android:gravity="center_horizontal" + android:textSize="@dimen/map_button_text_size" + tools:text="13.88"/> + android:layout_gravity="bottom|left"> - + - + + + + + + + + - - - + + - + - + - + - - - + + android:layout_alignBottom="@id/bottom_left_views" + android:layout_gravity="bottom" + android:layout_marginBottom="@dimen/map_button_margin" + android:layout_toLeftOf="@id/map_my_location_button" + android:layout_toRightOf="@id/bottom_left_views" + android:layout_weight="1" + tools:visibility="gone"> + + + android:id="@+id/map_ruler_layout" + android:layout_width="@dimen/map_ruler_width" + android:layout_height="wrap_content" + android:layout_gravity="bottom"> - + android:layout_marginBottom="@dimen/map_ruler_bottom_margin"> - + + + + + + android:background="@drawable/ruler"/> - - + - - - - - - - - + android:layout_gravity="bottom|center" + android:layout_marginBottom="@dimen/map_button_size" + android:orientation="horizontal"> - + - + + - - + - + - - - + + + + + + + + + - - \ No newline at end of file + android:layout_height="wrap_content"/> + \ No newline at end of file