From edda14c45af96ed3ed39de3feed0208907d93812 Mon Sep 17 00:00:00 2001 From: PavelRatushny Date: Mon, 20 Nov 2017 17:58:47 +0200 Subject: [PATCH] Change empty view background color --- OsmAnd/src/net/osmand/plus/osmedit/OsmEditsFragment.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/osmedit/OsmEditsFragment.java b/OsmAnd/src/net/osmand/plus/osmedit/OsmEditsFragment.java index 607ff72020..0ab69b4764 100644 --- a/OsmAnd/src/net/osmand/plus/osmedit/OsmEditsFragment.java +++ b/OsmAnd/src/net/osmand/plus/osmedit/OsmEditsFragment.java @@ -110,6 +110,8 @@ public class OsmEditsFragment extends OsmAndListFragment implements SendPoiDialo int icRes = getMyApplication().getSettings().isLightContent() ? R.drawable.ic_empty_state_osm_edits_day : R.drawable.ic_empty_state_osm_edits_night; ((ImageView) emptyView.findViewById(R.id.empty_state_image_view)).setImageResource(icRes); + emptyView.setBackgroundColor(getResources().getColor(getMyApplication().getSettings() + .isLightContent() ? R.color.ctx_menu_info_view_bg_light : R.color.ctx_menu_info_view_bg_dark)); Fragment optionsFragment = getChildFragmentManager().findFragmentByTag(OsmEditOptionsBottomSheetDialogFragment.TAG); if (optionsFragment != null) {