diff --git a/OsmAndCore-sample/res/drawable-hdpi/ic_arrow_back.png b/OsmAndCore-sample/res/drawable-hdpi/ic_arrow_back.png new file mode 100644 index 0000000000..7a975df613 Binary files /dev/null and b/OsmAndCore-sample/res/drawable-hdpi/ic_arrow_back.png differ diff --git a/OsmAndCore-sample/res/drawable-mdpi/ic_arrow_back.png b/OsmAndCore-sample/res/drawable-mdpi/ic_arrow_back.png new file mode 100644 index 0000000000..c14541d3d7 Binary files /dev/null and b/OsmAndCore-sample/res/drawable-mdpi/ic_arrow_back.png differ diff --git a/OsmAndCore-sample/res/drawable-xhdpi/ic_arrow_back.png b/OsmAndCore-sample/res/drawable-xhdpi/ic_arrow_back.png new file mode 100644 index 0000000000..e212ab8f5c Binary files /dev/null and b/OsmAndCore-sample/res/drawable-xhdpi/ic_arrow_back.png differ diff --git a/OsmAndCore-sample/res/drawable-xxhdpi/ic_arrow_back.png b/OsmAndCore-sample/res/drawable-xxhdpi/ic_arrow_back.png new file mode 100644 index 0000000000..1766bbc0ef Binary files /dev/null and b/OsmAndCore-sample/res/drawable-xxhdpi/ic_arrow_back.png differ diff --git a/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/mapcontextmenu/ContextMenuHelper.java b/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/mapcontextmenu/ContextMenuHelper.java index 734dccc9e9..7af901bdca 100644 --- a/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/mapcontextmenu/ContextMenuHelper.java +++ b/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/mapcontextmenu/ContextMenuHelper.java @@ -62,7 +62,7 @@ public class ContextMenuHelper { final Toolbar topBar = new Toolbar(ctx); topBar.setClickable(true); - Drawable back = app.getIconsCache().getIcon(R.drawable.abc_ic_ab_back_mtrl_am_alpha); + Drawable back = app.getIconsCache().getIcon(R.drawable.ic_arrow_back); topBar.setNavigationIcon(back); topBar.setNavigationContentDescription(app.getString("access_shared_string_navigate_up")); topBar.setTitle(title); @@ -220,7 +220,7 @@ public class ContextMenuHelper { final Toolbar topBar = new Toolbar(ctx); topBar.setClickable(true); - Drawable back = app.getIconsCache().getIcon(R.drawable.abc_ic_ab_back_mtrl_am_alpha); + Drawable back = app.getIconsCache().getIcon(R.drawable.ic_arrow_back); topBar.setNavigationIcon(back); topBar.setNavigationContentDescription(app.getString("access_shared_string_navigate_up")); topBar.setTitle(title); diff --git a/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/search/QuickSearchDialogFragment.java b/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/search/QuickSearchDialogFragment.java index 1a5deb3c6e..2d4752b087 100644 --- a/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/search/QuickSearchDialogFragment.java +++ b/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/search/QuickSearchDialogFragment.java @@ -203,7 +203,7 @@ public class QuickSearchDialogFragment extends DialogFragment implements SampleC ); toolbar = (Toolbar) view.findViewById(R.id.toolbar); - toolbar.setNavigationIcon(app.getIconsCache().getThemedIcon(R.drawable.abc_ic_ab_back_mtrl_am_alpha)); + toolbar.setNavigationIcon(app.getIconsCache().getThemedIcon(R.drawable.ic_arrow_back)); toolbar.setNavigationContentDescription(app.getString("access_shared_string_navigate_up")); toolbar.setNavigationOnClickListener( new OnClickListener() {