diff --git a/android/res/drawable/ic_location_off.xml b/android/res/drawable/ic_location_off.xml new file mode 100644 index 0000000000..bfea6c4255 --- /dev/null +++ b/android/res/drawable/ic_location_off.xml @@ -0,0 +1,10 @@ + + + diff --git a/android/src/com/mapswithme/maps/widget/menu/MyPositionButton.java b/android/src/com/mapswithme/maps/widget/menu/MyPositionButton.java index 6032005176..86dcbfcaf2 100644 --- a/android/src/com/mapswithme/maps/widget/menu/MyPositionButton.java +++ b/android/src/com/mapswithme/maps/widget/menu/MyPositionButton.java @@ -69,6 +69,8 @@ public class MyPositionButton drawableRes = ThemeUtils.getResource(context, R.attr.myPositionButtonAnimation); break; case LocationState.NOT_FOLLOW_NO_POSITION: + drawableRes = R.drawable.ic_location_off; + break; case LocationState.NOT_FOLLOW: drawableRes = R.drawable.ic_not_follow; break;