From 49387015601ba1d3962f662f6459428ef127fee5 Mon Sep 17 00:00:00 2001 From: PavelRatushny Date: Fri, 27 Oct 2017 11:53:30 +0300 Subject: [PATCH] Fix ui --- .../fragment_coordinate_input_dialog.xml | 47 ++++++++++--------- .../fragment_coordinate_input_dialog.xml | 33 +++++++------ .../CoordinateInputDialogFragment.java | 5 +- 3 files changed, 45 insertions(+), 40 deletions(-) diff --git a/OsmAnd/res/layout-land/fragment_coordinate_input_dialog.xml b/OsmAnd/res/layout-land/fragment_coordinate_input_dialog.xml index 6df304d491..a92603a96b 100644 --- a/OsmAnd/res/layout-land/fragment_coordinate_input_dialog.xml +++ b/OsmAnd/res/layout-land/fragment_coordinate_input_dialog.xml @@ -18,22 +18,33 @@ android:layout_height="wrap_content" android:paddingBottom="12dp" android:paddingTop="12dp" - osmand:contentInsetLeft="54dp" - osmand:contentInsetStart="54dp"> + osmand:contentInsetLeft="4dp" + osmand:contentInsetStart="4dp" + osmand:contentInsetRight="16dp" + osmand:contentInsetEnd="16dp"> + android:orientation="horizontal"> + + + osmand:labelText="@string/navigate_point_latitude" + android:layout_marginEnd="12dp" + android:layout_marginRight="12dp"> - - + osmand:labelText="@string/navigate_point_longitude" + android:layout_marginEnd="12dp" + android:layout_marginRight="12dp"> - - + osmand:labelText="@string/shared_string_name" + android:layout_marginEnd="10dp" + android:layout_marginRight="10dp"> - - diff --git a/OsmAnd/res/layout/fragment_coordinate_input_dialog.xml b/OsmAnd/res/layout/fragment_coordinate_input_dialog.xml index 25824085c1..fa47d58850 100644 --- a/OsmAnd/res/layout/fragment_coordinate_input_dialog.xml +++ b/OsmAnd/res/layout/fragment_coordinate_input_dialog.xml @@ -21,8 +21,10 @@ android:id="@+id/coordinate_input_toolbar" android:layout_width="match_parent" android:layout_height="@dimen/dashboard_map_toolbar" - osmand:contentInsetLeft="54dp" - osmand:contentInsetStart="54dp"> + osmand:contentInsetLeft="4dp" + osmand:contentInsetStart="4dp" + osmand:contentInsetRight="16dp" + osmand:contentInsetEnd="16dp"> + + + osmand:labelText="@string/navigate_point_latitude" + android:layout_marginRight="16dp" + android:layout_marginEnd="16dp"> - - + osmand:labelText="@string/shared_string_name" + android:layout_marginEnd="16dp" + android:layout_marginRight="16dp"> - -