update icons

This commit is contained in:
Victor Shcherb 2015-03-22 20:16:15 +01:00
parent f4b018adf8
commit 6890026748
2 changed files with 6 additions and 5 deletions

View file

@ -3,7 +3,7 @@
<dimen name="map_trans_seek_size">120dp</dimen> <dimen name="map_trans_seek_size">120dp</dimen>
<dimen name="map_widget_text_size">35sp</dimen> <dimen name="map_widget_text_size">35sp</dimen>
<dimen name="map_widget_text_size_small">23sp</dimen> <dimen name="map_widget_text_size_small">23sp</dimen>
<dimen name="map_button_text_size">27sp</dimen> <dimen name="map_button_text_size">23sp</dimen>
<dimen name="map_route_buttons_width">90dp</dimen> <dimen name="map_route_buttons_width">90dp</dimen>
<dimen name="map_route_buttons_height">81dp</dimen> <dimen name="map_route_buttons_height">81dp</dimen>
<dimen name="map_route_buttons_height_land">72dp</dimen> <dimen name="map_route_buttons_height_land">72dp</dimen>
@ -14,7 +14,7 @@
<dimen name="map_ruler_bottom_margin">14dp</dimen> <dimen name="map_ruler_bottom_margin">14dp</dimen>
<dimen name="map_button_shadow_width">80dp</dimen> <dimen name="map_button_shadow_width">80dp</dimen>
<dimen name="map_alarm_size">116dp</dimen> <dimen name="map_alarm_size">116dp</dimen>
<dimen name="map_alarm_text_size">37sp</dimen> <dimen name="map_alarm_text_size">35sp</dimen>
<dimen name="map_alarm_bottom_margin">140dp</dimen> <dimen name="map_alarm_bottom_margin">140dp</dimen>
<dimen name="map_alarm_bottom_margin_land">78dp</dimen> <dimen name="map_alarm_bottom_margin_land">78dp</dimen>
@ -29,7 +29,7 @@
<dimen name="map_button_shadow_margin">3dp</dimen> <dimen name="map_button_shadow_margin">3dp</dimen>
<dimen name="map_button_inset_shadow">5dp</dimen> <dimen name="map_button_inset_shadow">5dp</dimen>
<dimen name="map_button_inset">12dp</dimen> <dimen name="map_button_inset">10dp</dimen>
<dimen name="map_button_rect_rad">4dp</dimen> <dimen name="map_button_rect_rad">4dp</dimen>
<dimen name="map_button_stroke">1px</dimen> <dimen name="map_button_stroke">1px</dimen>

View file

@ -461,8 +461,9 @@ public class MapControlsLayer extends OsmandMapLayer {
if (!mapView.isZooming() || !OsmandPlugin.isDevelopment()) { if (!mapView.isZooming() || !OsmandPlugin.isDevelopment()) {
zoomText.setVisibility(View.GONE); zoomText.setVisibility(View.GONE);
appModeIcon.setVisibility(View.VISIBLE); appModeIcon.setVisibility(View.VISIBLE);
appModeIcon.setImageDrawable(app.getIconsCache().getActionBarIcon(settings.getApplicationMode().getSmallIconDark(), appModeIcon.setImageDrawable(
isNight)); app.getIconsCache().getActionBarIcon(
settings.getApplicationMode().getSmallIconDark(), !isNight));
} else { } else {
zoomText.setVisibility(View.VISIBLE); zoomText.setVisibility(View.VISIBLE);
appModeIcon.setVisibility(View.GONE); appModeIcon.setVisibility(View.GONE);