diff --git a/OsmAnd/res/layout/fragment_import.xml b/OsmAnd/res/layout/fragment_import.xml
index 92926c3ec1..c04a748780 100644
--- a/OsmAnd/res/layout/fragment_import.xml
+++ b/OsmAnd/res/layout/fragment_import.xml
@@ -80,7 +80,7 @@
android:layout_height="match_parent"
android:background="?attr/selectableItemBackground"
android:ellipsize="end"
- android:gravity="end|center_vertical"
+ android:gravity="start|center_vertical"
android:maxLines="1"
android:paddingLeft="@dimen/content_padding_small"
android:paddingTop="@dimen/content_padding_half"
@@ -110,6 +110,8 @@
android:layout_height="@dimen/toolbar_height_expanded"
android:background="?attr/colorPrimary"
osmand:collapsedTitleTextAppearance="@style/AppBarTitle"
+ osmand:expandedTitleMarginStart="16dp"
+ osmand:expandedTitleMarginBottom="12dp"
osmand:expandedTitleGravity="start|bottom"
osmand:expandedTitleTextAppearance="@style/AppBarTitle"
tools:title="@string/shared_string_import"
@@ -121,7 +123,8 @@
android:layout_height="@dimen/toolbar_height"
android:minHeight="@dimen/toolbar_height"
osmand:layout_collapseMode="pin"
- osmand:layout_scrollFlags="scroll|enterAlways|exitUntilCollapsed">
+ osmand:layout_scrollFlags="scroll|enterAlways|exitUntilCollapsed"
+ android:layout_marginLeft="0dp">
diff --git a/OsmAnd/res/values/sizes.xml b/OsmAnd/res/values/sizes.xml
index fcd589b5d8..ad201fa4c5 100644
--- a/OsmAnd/res/values/sizes.xml
+++ b/OsmAnd/res/values/sizes.xml
@@ -319,7 +319,7 @@
56dp
56dp
- 112dp
+ 96dp
36dp
80dp
diff --git a/OsmAnd/src/net/osmand/plus/SettingsHelper.java b/OsmAnd/src/net/osmand/plus/SettingsHelper.java
index e3d5e671e2..3e4f18a166 100644
--- a/OsmAnd/src/net/osmand/plus/SettingsHelper.java
+++ b/OsmAnd/src/net/osmand/plus/SettingsHelper.java
@@ -8,6 +8,7 @@ import android.os.AsyncTask;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.app.AlertDialog;
+import android.text.style.AlignmentSpan;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
@@ -113,6 +114,10 @@ public class SettingsHelper {
void onSettingsExportFinished(@NonNull File file, boolean succeed);
}
+ public interface CheckDuplicatesListener {
+ void onDuplicatesChecked(@NonNull List