diff --git a/OsmAnd/res/layout/dash_common_fragment.xml b/OsmAnd/res/layout/dash_common_fragment.xml
index 2719b67b53..1cf14e4e4a 100644
--- a/OsmAnd/res/layout/dash_common_fragment.xml
+++ b/OsmAnd/res/layout/dash_common_fragment.xml
@@ -1,23 +1,34 @@
-
-
-
-
-
-
+ xmlns:osmand="http://schemas.android.com/apk/res-auto"
+ android:id="@+id/main_fav"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:background="?attr/card_bg"
+ android:orientation="vertical" >
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OsmAnd/res/layout/map_hud_widget.xml b/OsmAnd/res/layout/map_hud_widget.xml
index 03aba49dd5..61f71fefe6 100644
--- a/OsmAnd/res/layout/map_hud_widget.xml
+++ b/OsmAnd/res/layout/map_hud_widget.xml
@@ -31,6 +31,7 @@
-
+
-
+
-
+
-
+
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/OsmAnd/src/net/osmand/plus/activities/PluginsActivity.java b/OsmAnd/src/net/osmand/plus/activities/PluginsActivity.java
index 2151a5424c..a15241b7a1 100644
--- a/OsmAnd/src/net/osmand/plus/activities/PluginsActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/PluginsActivity.java
@@ -119,8 +119,6 @@ public class PluginsActivity extends OsmandListActivity {
TextView pluginDescription = (TextView)view.findViewById(R.id.plugin_description);
pluginDescription.setText(plugin.getDescription());
- View pluginIsEnabled = view.findViewById(R.id.plugin_is_enabled);
- pluginIsEnabled.setVisibility(plugin.isActive() ? View.VISIBLE : View.INVISIBLE);
View pluginOptions = view.findViewById(R.id.plugin_options);
pluginOptions.setOnClickListener(new View.OnClickListener() {
diff --git a/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java b/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java
index 92918c3abd..b908c5c65d 100644
--- a/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java
+++ b/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java
@@ -519,12 +519,6 @@ public class MapControlsLayer extends OsmandMapLayer {
}
private void updateMyLocation(RoutingHelper rh) {
-// final Drawable backToLoc = map.getResources().getDrawable(R.drawable.back_to_loc);
-// final Drawable backToLocWhite = map.getResources().getDrawable(R.drawable.back_to_loc_white);
-// final Drawable backToLocDisabled = map.getResources().getDrawable(R.drawable.la_backtoloc_disabled);
-// final Drawable backToLocDisabledWhite = map.getResources().getDrawable(R.drawable.la_backtoloc_disabled_white);
-// final Drawable backToLocTracked = map.getResources().getDrawable(R.drawable.back_to_loc_tracked);
-// final Drawable backToLocTrackedWhite = map.getResources().getDrawable(R.drawable.back_to_loc_tracked_white);
boolean enabled = mapActivity.getMyApplication().getLocationProvider().getLastKnownLocation() != null;
boolean tracked = mapActivity.getMapViewTrackingUtilities().isMapLinkedToLocation();
@@ -532,12 +526,12 @@ public class MapControlsLayer extends OsmandMapLayer {
backToLocationControl.setBg(R.drawable.btn_circle, R.drawable.btn_circle_night);
backToLocationControl.setIconColorId(R.color.icon_color_light, 0);
} else if (tracked) {
- backToLocationControl.setIconColorId(0);
- backToLocationControl.setBg(R.drawable.btn_circle_blue);
- } else {
// TODO different icon
backToLocationControl.setIconColorId(R.color.map_widget_icon_color);
backToLocationControl.setBg(R.drawable.btn_circle_blue);
+ } else {
+ backToLocationControl.setIconColorId(0);
+ backToLocationControl.setBg(R.drawable.btn_circle_blue);
}
boolean visible = !(tracked && rh.isFollowingMode());
backToLocationControl.updateVisibility(visible);