From e44d55afa2179a3a1029ee1e18252346e801a03e Mon Sep 17 00:00:00 2001 From: vshcherb Date: Mon, 28 Nov 2011 11:01:20 +0100 Subject: [PATCH] Fix grey background --- OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java b/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java index 2a7985813a..4dd8ec13d4 100644 --- a/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java @@ -522,8 +522,7 @@ public class MapInfoLayer extends OsmandMapLayer { flp.leftMargin = STATUS_BAR_MARGIN_X; flp.rightMargin = STATUS_BAR_MARGIN_X; flp.gravity = Gravity.TOP; - statusBar.setLayoutParams(flp); - statusBar.setBackgroundColor(Color.argb(100, 200, 200, 200)); + statusBar.setLayoutParams(flp); LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); //params.leftMargin = (int) (5 * scaleCoefficient); ImageView compassView = new ImageView(view.getContext()) {