From a7cf895431d397d4bd8664a204a34d2bf4c7af75 Mon Sep 17 00:00:00 2001 From: Alexander Sytnyk Date: Mon, 19 Feb 2018 17:57:21 +0200 Subject: [PATCH] Change keyboard colors in night theme --- .../drawable/bg_coordinate_input_keyboard_dark.xml | 11 +++++++++++ OsmAnd/res/values/colors.xml | 8 ++++---- .../mapmarkers/CoordinateInputDialogFragment.java | 2 +- 3 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 OsmAnd/res/drawable/bg_coordinate_input_keyboard_dark.xml diff --git a/OsmAnd/res/drawable/bg_coordinate_input_keyboard_dark.xml b/OsmAnd/res/drawable/bg_coordinate_input_keyboard_dark.xml new file mode 100644 index 0000000000..71921e0b1c --- /dev/null +++ b/OsmAnd/res/drawable/bg_coordinate_input_keyboard_dark.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/values/colors.xml b/OsmAnd/res/values/colors.xml index 934e54d43c..c173a6bf44 100644 --- a/OsmAnd/res/values/colors.xml +++ b/OsmAnd/res/values/colors.xml @@ -280,17 +280,17 @@ #727272 #ffffff - #8899a6 + #727272 #333333 #ffffff - #ffffff + #cccccc #fff #536dfe - #1f2326 + #17191a #536dfe #f2f2f2 #536dfe - #191c1e + #222526 #536dfe #536dfe #4b62e3 diff --git a/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java b/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java index 814364a89e..6c6f6b8afe 100644 --- a/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java @@ -291,7 +291,7 @@ public class CoordinateInputDialogFragment extends DialogFragment implements Osm } }); - mainView.findViewById(R.id.keyboard_layout).setBackgroundResource(lightTheme ? R.drawable.bg_bottom_menu_light : R.drawable.bg_bottom_menu_dark); + mainView.findViewById(R.id.keyboard_layout).setBackgroundResource(lightTheme ? R.drawable.bg_bottom_menu_light : R.drawable.bg_coordinate_input_keyboard_dark); Object[] keyboardItems = new Object[]{ "1", "2", "3", R.drawable.ic_keyboard_next_field,