From 2aef8cc8d0bcc15ec37c10fbc1def5eaefb98739 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Thu, 12 Mar 2015 01:45:53 +0100 Subject: [PATCH] update buttons --- OsmAnd/res/drawable/btn_flat.xml | 1 - OsmAnd/res/drawable/btn_flat_night.xml | 13 + .../res/drawable/btn_inset_circle_night.xml | 16 + OsmAnd/res/drawable/btn_round_night.xml | 2 +- OsmAnd/res/layout/map_hud_bottom.xml | 3 +- OsmAnd/res/layout/map_view_on_dashboard.xml | 2 +- OsmAnd/res/values/colors.xml | 1 + OsmAnd/res/values/sizes.xml | 2 +- OsmAnd/res/values/strings.xml | 1 + .../src/net/osmand/plus/ApplicationMode.java | 3 +- .../osmand/plus/dashboard/DashboardOnMap.java | 14 +- .../osmand/plus/views/MapControlsLayer.java | 351 ++++++++++++------ 12 files changed, 274 insertions(+), 135 deletions(-) create mode 100644 OsmAnd/res/drawable/btn_flat_night.xml create mode 100644 OsmAnd/res/drawable/btn_inset_circle_night.xml diff --git a/OsmAnd/res/drawable/btn_flat.xml b/OsmAnd/res/drawable/btn_flat.xml index fa17c040e5..01dad73153 100644 --- a/OsmAnd/res/drawable/btn_flat.xml +++ b/OsmAnd/res/drawable/btn_flat.xml @@ -4,7 +4,6 @@ - diff --git a/OsmAnd/res/drawable/btn_flat_night.xml b/OsmAnd/res/drawable/btn_flat_night.xml new file mode 100644 index 0000000000..bbf270e69b --- /dev/null +++ b/OsmAnd/res/drawable/btn_flat_night.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/drawable/btn_inset_circle_night.xml b/OsmAnd/res/drawable/btn_inset_circle_night.xml new file mode 100644 index 0000000000..dcc355f6e9 --- /dev/null +++ b/OsmAnd/res/drawable/btn_inset_circle_night.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ 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 97904f75ea..c8fbd85119 100644 --- a/OsmAnd/res/drawable/btn_round_night.xml +++ b/OsmAnd/res/drawable/btn_round_night.xml @@ -2,7 +2,7 @@ - + diff --git a/OsmAnd/res/layout/map_hud_bottom.xml b/OsmAnd/res/layout/map_hud_bottom.xml index a691e26910..97c1d72d54 100644 --- a/OsmAnd/res/layout/map_hud_bottom.xml +++ b/OsmAnd/res/layout/map_hud_bottom.xml @@ -115,7 +115,8 @@ android:gravity="center_vertical" android:paddingLeft="12dp" android:drawableLeft="@drawable/ic_action_remove_light" - android:textSize="20sp" + android:textSize="20sp" + android:textStyle="bold" android:drawablePadding="4dp" /> diff --git a/OsmAnd/res/layout/map_view_on_dashboard.xml b/OsmAnd/res/layout/map_view_on_dashboard.xml index 34bca26f36..4197af279b 100644 --- a/OsmAnd/res/layout/map_view_on_dashboard.xml +++ b/OsmAnd/res/layout/map_view_on_dashboard.xml @@ -11,7 +11,7 @@ android:layout_marginLeft="@dimen/map_button_margin" android:layout_marginTop="@dimen/map_button_margin" android:background="@drawable/btn_inset_circle" - android:src="@drawable/ic_action_layers_light" /> + android:src="@drawable/ic_action_remove_light" />