From 94a5074dbdd1bd1629977ae88f0cdfd294582a80 Mon Sep 17 00:00:00 2001 From: PavelRatushny Date: Thu, 7 Dec 2017 14:02:13 +0200 Subject: [PATCH] Fix dividers color --- .../net/osmand/plus/mapcontextmenu/MapContextMenuFragment.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenuFragment.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenuFragment.java index 56532124b5..07339d4f0b 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenuFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenuFragment.java @@ -383,6 +383,8 @@ public class MapContextMenuFragment extends BaseOsmAndFragment implements Downlo View buttonsBottomBorder = view.findViewById(R.id.buttons_bottom_border); View buttonsTopBorder = view.findViewById(R.id.buttons_top_border); + buttonsBottomBorder.setBackgroundColor(ContextCompat.getColor(getContext(), nightMode ? R.color.ctx_menu_buttons_divider_dark : R.color.ctx_menu_buttons_divider_light)); + buttonsTopBorder.setBackgroundColor(ContextCompat.getColor(getContext(), nightMode ? R.color.ctx_menu_buttons_divider_dark : R.color.ctx_menu_buttons_divider_light)); View buttons = view.findViewById(R.id.context_menu_buttons); buttons.setBackgroundColor(ContextCompat.getColor(getContext(), nightMode ? R.color.ctx_menu_buttons_bg_dark : R.color.ctx_menu_buttons_bg_light)); if (!menu.buttonsVisible()) {