fixed altitude not showing, added altitude icon, altered time_to_go icon
BIN
OsmAnd/res/drawable-hdpi/ic_altitude.png
Normal file
After Width: | Height: | Size: 304 B |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 1.7 KiB |
BIN
OsmAnd/res/drawable-large/ic_altitude.png
Normal file
After Width: | Height: | Size: 304 B |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 1.7 KiB |
BIN
OsmAnd/res/drawable/ic_altitude.png
Normal file
After Width: | Height: | Size: 348 B |
Before Width: | Height: | Size: 4 KiB After Width: | Height: | Size: 1.1 KiB |
|
@ -175,6 +175,7 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference
|
||||||
registerBooleanPreference(osmandSettings.TRANSPARENT_MAP_THEME,screen);
|
registerBooleanPreference(osmandSettings.TRANSPARENT_MAP_THEME,screen);
|
||||||
registerBooleanPreference(osmandSettings.TEST_ANIMATE_ROUTING,screen);
|
registerBooleanPreference(osmandSettings.TEST_ANIMATE_ROUTING,screen);
|
||||||
registerBooleanPreference(osmandSettings.NATIVE_RENDERING,screen);
|
registerBooleanPreference(osmandSettings.NATIVE_RENDERING,screen);
|
||||||
|
registerBooleanPreference(osmandSettings.SHOW_ALTITUDE_INFO,screen);
|
||||||
|
|
||||||
registerEditTextPreference(osmandSettings.USER_NAME, screen);
|
registerEditTextPreference(osmandSettings.USER_NAME, screen);
|
||||||
registerEditTextPreference(osmandSettings.USER_PASSWORD, screen);
|
registerEditTextPreference(osmandSettings.USER_PASSWORD, screen);
|
||||||
|
|
|
@ -7,7 +7,6 @@ import net.osmand.osm.LatLon;
|
||||||
import net.osmand.plus.R;
|
import net.osmand.plus.R;
|
||||||
import net.osmand.plus.activities.MapActivity;
|
import net.osmand.plus.activities.MapActivity;
|
||||||
import net.osmand.plus.routing.RoutingHelper.RouteDirectionInfo;
|
import net.osmand.plus.routing.RoutingHelper.RouteDirectionInfo;
|
||||||
import net.osmand.plus.routing.RoutingHelper.TurnType;
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.graphics.Canvas;
|
import android.graphics.Canvas;
|
||||||
import android.graphics.Color;
|
import android.graphics.Color;
|
||||||
|
@ -278,6 +277,7 @@ public class MapInfoLayer extends OsmandMapLayer {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
altitudeControl.setText(null, null);
|
altitudeControl.setText(null, null);
|
||||||
|
altitudeControl.setImageDrawable(view.getResources().getDrawable(R.drawable.ic_altitude));
|
||||||
return altitudeControl;
|
return altitudeControl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|