From 6643d94629040eeb569a3c755a86ee968ad4d354 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sat, 11 Apr 2015 16:21:17 +0300 Subject: [PATCH] Dashboard --- OsmAnd/src/net/osmand/plus/dashboard/DashboardOnMap.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/dashboard/DashboardOnMap.java b/OsmAnd/src/net/osmand/plus/dashboard/DashboardOnMap.java index 2aa39c131c..037ef13e08 100644 --- a/OsmAnd/src/net/osmand/plus/dashboard/DashboardOnMap.java +++ b/OsmAnd/src/net/osmand/plus/dashboard/DashboardOnMap.java @@ -126,7 +126,7 @@ public class DashboardOnMap implements ObservableScrollViewCallbacks { public void createDashboardView() { - baseColor = mapActivity.getResources().getColor(R.color.osmand_orange); + baseColor = mapActivity.getResources().getColor(R.color.osmand_orange) & 0x00ffffff; waypointDialogHelper = new WaypointDialogHelper(mapActivity); landscape = !ScreenOrientationHelper.isOrientationPortrait(mapActivity); dashboardView = (FrameLayout) mapActivity.findViewById(R.id.dashboard); @@ -628,7 +628,7 @@ public class DashboardOnMap implements ObservableScrollViewCallbacks { private void addOrUpdateDashboardFragments(boolean firstTime) { - + firstTime = true; // boolean showCards = mapActivity.getMyApplication().getSettings().USE_DASHBOARD_INSTEAD_OF_DRAWER.get(); boolean showCards = !firstTime;