diff --git a/OsmAnd-java/src/net/osmand/map/ITileSource.java b/OsmAnd-java/src/net/osmand/map/ITileSource.java index 1711f8453e..a51b5bdeeb 100644 --- a/OsmAnd-java/src/net/osmand/map/ITileSource.java +++ b/OsmAnd-java/src/net/osmand/map/ITileSource.java @@ -30,6 +30,6 @@ public interface ITileSource { public String getReferer(); - public void clearTiles(String path); + public void deleteTiles(String path); } diff --git a/OsmAnd-java/src/net/osmand/map/TileSourceManager.java b/OsmAnd-java/src/net/osmand/map/TileSourceManager.java index 95ef7fe3e5..4a0bcbc5cf 100644 --- a/OsmAnd-java/src/net/osmand/map/TileSourceManager.java +++ b/OsmAnd-java/src/net/osmand/map/TileSourceManager.java @@ -1,5 +1,13 @@ package net.osmand.map; +import net.osmand.PlatformUtil; +import net.osmand.osm.io.NetworkUtils; +import net.osmand.util.Algorithms; + +import org.apache.commons.logging.Log; +import org.xmlpull.v1.XmlPullParser; +import org.xmlpull.v1.XmlPullParserException; + import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.ByteArrayOutputStream; @@ -18,15 +26,6 @@ import java.util.LinkedHashMap; import java.util.List; import java.util.Map; -import net.osmand.PlatformUtil; -import net.osmand.osm.io.NetworkUtils; -import net.osmand.util.Algorithms; - -import org.apache.commons.logging.Log; -import org.xmlpull.v1.XmlPullParser; -import org.xmlpull.v1.XmlPullParserException; - - import bsh.Interpreter; @@ -278,7 +277,7 @@ public class TileSourceManager { @Override - public void clearTiles(String path) { + public void deleteTiles(String path) { File pf = new File(path); File[] list = pf.listFiles(); if(list != null) { diff --git a/OsmAnd/res/layout/fragment_mapillary_filters.xml b/OsmAnd/res/layout/fragment_mapillary_filters.xml index d121a43e1e..01a207c612 100644 --- a/OsmAnd/res/layout/fragment_mapillary_filters.xml +++ b/OsmAnd/res/layout/fragment_mapillary_filters.xml @@ -20,8 +20,7 @@ android:layout_alignParentLeft="true" android:layout_alignParentStart="true" android:layout_centerVertical="true" - android:layout_marginLeft="16dp" - android:layout_marginStart="16dp" + android:layout_margin="16dp" tools:src="@drawable/ic_action_gabout_dark" /> + + + + + + + + +