From d756b47e0b5ac440fee932a9e6dbc14f97a9abe9 Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Fri, 6 Dec 2013 15:47:15 +0300 Subject: [PATCH] [android] Changed menu and location buttons margins to be the same as on iOS --- android/res/layout/map.xml | 8 ++++---- android/res/values/dimens.xml | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/android/res/layout/map.xml b/android/res/layout/map.xml index 6732e0df99..9c3c9440d0 100644 --- a/android/res/layout/map.xml +++ b/android/res/layout/map.xml @@ -69,9 +69,9 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left|bottom" - android:layout_marginBottom="@dimen/dp_x_2" + android:layout_marginBottom="@dimen/map_controls_margin" android:paddingBottom="0dp" - android:layout_marginLeft="@dimen/dp_x_2" + android:layout_marginLeft="@dimen/map_controls_margin" android:contentDescription="@string/my_position" android:onClick="onMyPositionClicked" android:src="@drawable/btn_map_controls_location_normal" /> @@ -81,7 +81,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="right|bottom" - android:layout_marginBottom="@dimen/dp_x_2" + android:layout_marginBottom="@dimen/map_controls_margin" android:background="@null" android:contentDescription="@string/my_position" android:paddingBottom="0dp" @@ -91,4 +91,4 @@ - \ No newline at end of file + diff --git a/android/res/values/dimens.xml b/android/res/values/dimens.xml index dbaa7ac59c..db59b90b69 100644 --- a/android/res/values/dimens.xml +++ b/android/res/values/dimens.xml @@ -36,4 +36,6 @@ 5dp 4dp - \ No newline at end of file + 7dp + +