diff --git a/OsmAnd/res/drawable/btn_inset_circle_trans.xml b/OsmAnd/res/drawable/btn_inset_circle_trans.xml new file mode 100644 index 0000000000..6a410d8e9b --- /dev/null +++ b/OsmAnd/res/drawable/btn_inset_circle_trans.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/OsmAnd/res/drawable/btn_inset_circle_trans_n.xml b/OsmAnd/res/drawable/btn_inset_circle_trans_n.xml new file mode 100644 index 0000000000..10514c373a --- /dev/null +++ b/OsmAnd/res/drawable/btn_inset_circle_trans_n.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/layout-land/map_hud_top.xml b/OsmAnd/res/layout-land/map_hud_top.xml index 55d7a667bc..3f773daaac 100644 --- a/OsmAnd/res/layout-land/map_hud_top.xml +++ b/OsmAnd/res/layout-land/map_hud_top.xml @@ -165,15 +165,16 @@ @@ -207,8 +208,8 @@ diff --git a/OsmAnd/res/layout/map_hud_top.xml b/OsmAnd/res/layout/map_hud_top.xml index a9a70ea52e..7b9da38b51 100644 --- a/OsmAnd/res/layout/map_hud_top.xml +++ b/OsmAnd/res/layout/map_hud_top.xml @@ -134,7 +134,8 @@ android:id="@+id/map_compass_button" android:layout_width="@dimen/map_small_button_size" android:layout_height="@dimen/map_small_button_size" - android:background="@drawable/btn_inset_circle" + android:layout_marginLeft="@dimen/map_small_button_margin" + android:background="@drawable/btn_inset_circle_trans" android:src="@drawable/ic_action_test_light" /> diff --git a/OsmAnd/res/layout/map_hud_widget.xml b/OsmAnd/res/layout/map_hud_widget.xml index ce46fba3f4..2371f6f950 100644 --- a/OsmAnd/res/layout/map_hud_widget.xml +++ b/OsmAnd/res/layout/map_hud_widget.xml @@ -39,6 +39,7 @@ android:layout_width="@dimen/map_widget_icon" android:layout_height="@dimen/map_widget_icon" android:layout_gravity="left|center_vertical" + android:layout_marginLeft="@dimen/map_widget_icon_margin" android:gravity="center" android:src="@drawable/ic_action_test_light" /> @@ -48,7 +49,7 @@ android:layout_height="wrap_content" android:layout_gravity="bottom" android:layout_marginBottom="@dimen/map_widget_text_bottom_margin" - android:layout_marginLeft="4dp" + android:layout_marginLeft="5dp" android:layout_weight="1" android:maxLines="1" android:minWidth="10dp" diff --git a/OsmAnd/res/values-large/sizes.xml b/OsmAnd/res/values-large/sizes.xml index db47d23531..aa3581fa26 100644 --- a/OsmAnd/res/values-large/sizes.xml +++ b/OsmAnd/res/values-large/sizes.xml @@ -11,10 +11,11 @@ 60dp 78dp 66dp + 9dp 180dp - 14dp + 17dp 112dp - 7dp + 6dp 84dp 116dp 35sp @@ -34,7 +35,8 @@ 3dp 3dp 4dp - 1px + 1dp + 6dp \ No newline at end of file diff --git a/OsmAnd/res/values/colors.xml b/OsmAnd/res/values/colors.xml index 7ab241e669..1ed346b8d7 100644 --- a/OsmAnd/res/values/colors.xml +++ b/OsmAnd/res/values/colors.xml @@ -26,11 +26,11 @@ #be39464d #ff8f00 - #333333 + #4C000000 #ffffff #bb3f3f3f #ddcccccc - #40ffffff + #80ffffff #e5e5e5 #536dfe #485dd9 diff --git a/OsmAnd/res/values/sizes.xml b/OsmAnd/res/values/sizes.xml index 8ff7401754..0798a867a7 100644 --- a/OsmAnd/res/values/sizes.xml +++ b/OsmAnd/res/values/sizes.xml @@ -59,9 +59,10 @@ 40dp 52dp 44dp + 5dp 120dp - 7dp + 9dp 78dp @@ -69,7 +70,7 @@ 57dp 85dp 56dp - 5dp + 4dp 24dp 32dp 80dp @@ -82,13 +83,14 @@ 2dp 2dp 3dp - 1px + 1dp 23sp 15sp 18sp 25sp - 0sp + 1sp + 4dp 2dp 6dp diff --git a/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java b/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java index a56d32bd8d..a344ae76c7 100644 --- a/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java @@ -127,7 +127,7 @@ public class MapInfoLayer extends OsmandMapLayer { TextInfoWidget alt = mic.createAltitudeControl(map); registerSideWidget(alt, R.drawable.ic_action_altitude, R.string.map_widget_altitude, "altitude", false, 20); TextInfoWidget plainTime = ric.createPlainTimeControl(map); - registerSideWidget(plainTime, R.drawable.ic_action_time_to_distance, R.string.map_widget_plain_time, "plain_time", false, 25); + registerSideWidget(plainTime, R.drawable.ic_action_time, R.string.map_widget_plain_time, "plain_time", false, 25); } diff --git a/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java b/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java index 1492b28770..3c9b7343b2 100644 --- a/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java +++ b/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java @@ -284,7 +284,7 @@ public class RouteInfoWidgetsFactory { }; }; plainTimeControl.setText(null, null); - plainTimeControl.setIcons(R.drawable.widget_time_to_distance_day, R.drawable.widget_time_to_distance_night); + plainTimeControl.setIcons(R.drawable.widget_time_day, R.drawable.widget_time_night); return plainTimeControl; }