diff --git a/OsmAnd-java/src/net/osmand/data/Amenity.java b/OsmAnd-java/src/net/osmand/data/Amenity.java index 42e27d6106..5094c698b1 100644 --- a/OsmAnd-java/src/net/osmand/data/Amenity.java +++ b/OsmAnd-java/src/net/osmand/data/Amenity.java @@ -1,5 +1,9 @@ package net.osmand.data; +import net.osmand.Location; +import net.osmand.osm.PoiCategory; +import net.osmand.util.Algorithms; + import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.IOException; @@ -13,10 +17,6 @@ import java.util.Map; import java.util.Map.Entry; import java.util.zip.GZIPInputStream; -import net.osmand.Location; -import net.osmand.osm.PoiCategory; -import net.osmand.util.Algorithms; - public class Amenity extends MapObject { @@ -28,7 +28,7 @@ public class Amenity extends MapObject { private static final long serialVersionUID = 132083949926339552L; private String subType; - private PoiCategory type; + private transient PoiCategory type; // duplicate for fast access private String openingHours; private Map additionalInfo; diff --git a/OsmAnd/res/layout/fragment_edit_poi_normal.xml b/OsmAnd/res/layout/fragment_edit_poi_normal.xml index 21dabfd010..d25c152e9f 100644 --- a/OsmAnd/res/layout/fragment_edit_poi_normal.xml +++ b/OsmAnd/res/layout/fragment_edit_poi_normal.xml @@ -92,19 +92,19 @@ android:text="Open hours" android:textColor="@color/color_black"/> - + tools:src="@drawable/ic_action_time"/> + + -