Fix back arrow
This commit is contained in:
parent
2a237a07d4
commit
b1eab484e1
6 changed files with 3 additions and 3 deletions
BIN
OsmAndCore-sample/res/drawable-hdpi/ic_arrow_back.png
Normal file
BIN
OsmAndCore-sample/res/drawable-hdpi/ic_arrow_back.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
OsmAndCore-sample/res/drawable-mdpi/ic_arrow_back.png
Normal file
BIN
OsmAndCore-sample/res/drawable-mdpi/ic_arrow_back.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
OsmAndCore-sample/res/drawable-xhdpi/ic_arrow_back.png
Normal file
BIN
OsmAndCore-sample/res/drawable-xhdpi/ic_arrow_back.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
OsmAndCore-sample/res/drawable-xxhdpi/ic_arrow_back.png
Normal file
BIN
OsmAndCore-sample/res/drawable-xxhdpi/ic_arrow_back.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
|
@ -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);
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue