From 437cadfcbc8ae614fdf988e8d448edbe67f51282 Mon Sep 17 00:00:00 2001 From: Johannes Hoppe Date: Mon, 4 Nov 2019 22:09:01 +0900 Subject: [PATCH] Remove round edges and strokes form map hud --- OsmAnd/res/drawable/btn_flat.xml | 16 +++++++------- OsmAnd/res/drawable/btn_flat_night.xml | 14 +++++++------ OsmAnd/res/drawable/btn_flat_transparent.xml | 16 +++++++------- OsmAnd/res/drawable/btn_left_round.xml | 18 ++++++++-------- OsmAnd/res/drawable/btn_left_round_night.xml | 16 +++++++------- .../drawable/btn_left_round_transparent.xml | 16 +++++++------- OsmAnd/res/drawable/btn_right_round.xml | 21 ++++++++----------- OsmAnd/res/drawable/btn_right_round_night.xml | 19 +++++++---------- .../drawable/btn_right_round_transparent.xml | 19 +++++++---------- OsmAnd/res/drawable/btn_round.xml | 12 +++++++++-- OsmAnd/res/drawable/btn_round_night.xml | 13 ++++++++++-- OsmAnd/res/drawable/btn_round_transparent.xml | 16 +++++++------- OsmAnd/res/layout/map_hud_widget.xml | 7 +++++-- OsmAnd/res/values-large/sizes.xml | 1 + OsmAnd/res/values/colors.xml | 2 +- OsmAnd/res/values/sizes.xml | 1 + 16 files changed, 113 insertions(+), 94 deletions(-) diff --git a/OsmAnd/res/drawable/btn_flat.xml b/OsmAnd/res/drawable/btn_flat.xml index 01dad73153..a16f83e3ab 100644 --- a/OsmAnd/res/drawable/btn_flat.xml +++ b/OsmAnd/res/drawable/btn_flat.xml @@ -1,13 +1,15 @@ - + + - - - - - - + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/drawable/btn_flat_night.xml b/OsmAnd/res/drawable/btn_flat_night.xml index 05b8c4618b..96284b337c 100644 --- a/OsmAnd/res/drawable/btn_flat_night.xml +++ b/OsmAnd/res/drawable/btn_flat_night.xml @@ -1,13 +1,15 @@ - + + - - - + + + + - - + + \ No newline at end of file diff --git a/OsmAnd/res/drawable/btn_flat_transparent.xml b/OsmAnd/res/drawable/btn_flat_transparent.xml index 7b4984c71e..43c664b267 100644 --- a/OsmAnd/res/drawable/btn_flat_transparent.xml +++ b/OsmAnd/res/drawable/btn_flat_transparent.xml @@ -1,13 +1,15 @@ - + + - - - - - - + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/drawable/btn_left_round.xml b/OsmAnd/res/drawable/btn_left_round.xml index be66a3477f..a16f83e3ab 100644 --- a/OsmAnd/res/drawable/btn_left_round.xml +++ b/OsmAnd/res/drawable/btn_left_round.xml @@ -1,15 +1,15 @@ - + + - - - - - - - - + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/drawable/btn_left_round_night.xml b/OsmAnd/res/drawable/btn_left_round_night.xml index c1b9641686..96284b337c 100644 --- a/OsmAnd/res/drawable/btn_left_round_night.xml +++ b/OsmAnd/res/drawable/btn_left_round_night.xml @@ -1,15 +1,15 @@ - + + - - - - + + + + - - - + + \ No newline at end of file diff --git a/OsmAnd/res/drawable/btn_left_round_transparent.xml b/OsmAnd/res/drawable/btn_left_round_transparent.xml index c7b6be83ab..8cf8a8eddc 100644 --- a/OsmAnd/res/drawable/btn_left_round_transparent.xml +++ b/OsmAnd/res/drawable/btn_left_round_transparent.xml @@ -1,15 +1,15 @@ - + + - - - - + + + + - - - + + diff --git a/OsmAnd/res/drawable/btn_right_round.xml b/OsmAnd/res/drawable/btn_right_round.xml index dd4ff6f2e0..a16f83e3ab 100644 --- a/OsmAnd/res/drawable/btn_right_round.xml +++ b/OsmAnd/res/drawable/btn_right_round.xml @@ -1,18 +1,15 @@ - + + - - - - - - - - + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/drawable/btn_right_round_night.xml b/OsmAnd/res/drawable/btn_right_round_night.xml index f345520714..96284b337c 100644 --- a/OsmAnd/res/drawable/btn_right_round_night.xml +++ b/OsmAnd/res/drawable/btn_right_round_night.xml @@ -1,18 +1,15 @@ - + + - - - - + + + + - - - + + \ No newline at end of file diff --git a/OsmAnd/res/drawable/btn_right_round_transparent.xml b/OsmAnd/res/drawable/btn_right_round_transparent.xml index ded2f4fe06..43c664b267 100644 --- a/OsmAnd/res/drawable/btn_right_round_transparent.xml +++ b/OsmAnd/res/drawable/btn_right_round_transparent.xml @@ -1,18 +1,15 @@ - + + - - - - + + + + - - - + + \ No newline at end of file diff --git a/OsmAnd/res/drawable/btn_round.xml b/OsmAnd/res/drawable/btn_round.xml index eb1818b047..a16f83e3ab 100644 --- a/OsmAnd/res/drawable/btn_round.xml +++ b/OsmAnd/res/drawable/btn_round.xml @@ -1,7 +1,15 @@ - - + + + + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/drawable/btn_round_night.xml b/OsmAnd/res/drawable/btn_round_night.xml index b22ef2a21a..96284b337c 100644 --- a/OsmAnd/res/drawable/btn_round_night.xml +++ b/OsmAnd/res/drawable/btn_round_night.xml @@ -1,6 +1,15 @@ - - + + + + + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/drawable/btn_round_transparent.xml b/OsmAnd/res/drawable/btn_round_transparent.xml index d1bc6dff84..43c664b267 100644 --- a/OsmAnd/res/drawable/btn_round_transparent.xml +++ b/OsmAnd/res/drawable/btn_round_transparent.xml @@ -1,15 +1,15 @@ - + + - - - - + + + + - - - + + \ No newline at end of file diff --git a/OsmAnd/res/layout/map_hud_widget.xml b/OsmAnd/res/layout/map_hud_widget.xml index 4570ead926..5673389a6f 100644 --- a/OsmAnd/res/layout/map_hud_widget.xml +++ b/OsmAnd/res/layout/map_hud_widget.xml @@ -31,7 +31,9 @@ android:layout_width="@dimen/map_widget_image" android:layout_height="@dimen/map_widget_image" android:layout_gravity="center" - android:layout_marginTop="2dp" + android:layout_marginStart="@dimen/map_widget_icon_margin_left" + android:layout_marginLeft="@dimen/map_widget_icon_margin_left" + android:layout_marginTop="@dimen/map_widget_icon_margin" android:gravity="center" osmand:srcCompat="@drawable/ic_action_remove_dark" android:visibility="gone"/> @@ -49,7 +51,8 @@ android:layout_width="@dimen/map_widget_icon" android:layout_height="@dimen/map_widget_icon" android:layout_gravity="start|center_vertical" - android:layout_marginLeft="@dimen/map_widget_icon_margin" + android:layout_marginStart="@dimen/map_widget_icon_margin_left" + android:layout_marginLeft="@dimen/map_widget_icon_margin_left" android:layout_marginRight="@dimen/map_widget_icon_margin" android:gravity="center" osmand:srcCompat="@drawable/ic_action_remove_dark" diff --git a/OsmAnd/res/values-large/sizes.xml b/OsmAnd/res/values-large/sizes.xml index 7bb27b3f90..1f9ad39926 100644 --- a/OsmAnd/res/values-large/sizes.xml +++ b/OsmAnd/res/values-large/sizes.xml @@ -45,6 +45,7 @@ 3dp 3dp + 9dp 54dp 9dp diff --git a/OsmAnd/res/values/colors.xml b/OsmAnd/res/values/colors.xml index 1b1e9bde50..7150599627 100644 --- a/OsmAnd/res/values/colors.xml +++ b/OsmAnd/res/values/colors.xml @@ -128,7 +128,7 @@ #80ffffff #80aaaaaa #80ffffff - #e5e5e5 + #80aaaaaa #536dfe #485dd9 #727272 diff --git a/OsmAnd/res/values/sizes.xml b/OsmAnd/res/values/sizes.xml index 69f711b6fb..74f467a25f 100644 --- a/OsmAnd/res/values/sizes.xml +++ b/OsmAnd/res/values/sizes.xml @@ -153,6 +153,7 @@ 1sp 3sp 2dp + 6dp 20sp 2dp