Update Layers icon

This commit is contained in:
Dmitry 2020-01-23 14:14:06 +02:00
parent e416c60cec
commit d19a7e127c
9 changed files with 24 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 KiB

View file

@ -0,0 +1,19 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M4.8571,13L12,18L19.1429,13L22,15L12,22L2,15L4.8571,13Z"
android:fillColor="#727272"
android:fillType="evenOdd"/>
<path
android:pathData="M22,9L12,2L2,9L12,16L22,9Z"
android:fillColor="#727272"/>
<path
android:pathData="M4.8571,13L12,18L19.1429,13L22,15L12,22L2,15L4.8571,13Z"
android:fillColor="#727272"/>
<path
android:pathData="M22,9L12,2L2,9L12,16L22,9Z"
android:fillColor="#727272"/>
</vector>

View file

@ -34,7 +34,7 @@
android:persistent="false" android:persistent="false"
android:summary="@string/map_look_descr" android:summary="@string/map_look_descr"
android:title="@string/configure_map" android:title="@string/configure_map"
tools:icon="@drawable/ic_action_layers_dark" /> tools:icon="@drawable/ic_action_layers" />
<Preference <Preference
android:key="configure_screen" android:key="configure_screen"

View file

@ -803,7 +803,7 @@ public class MapActivityActions implements DialogProvider {
optionsMenuHelper.addItem(new ItemBuilder().setTitleId(R.string.configure_map, mapActivity) optionsMenuHelper.addItem(new ItemBuilder().setTitleId(R.string.configure_map, mapActivity)
.setId(DRAWER_CONFIGURE_MAP_ID) .setId(DRAWER_CONFIGURE_MAP_ID)
.setIcon(R.drawable.ic_action_layers_dark) .setIcon(R.drawable.ic_action_layers)
.setListener(new ItemClickListener() { .setListener(new ItemClickListener() {
@Override @Override
public boolean onContextMenuClick(ArrayAdapter<ContextMenuItem> adapter, int itemId, int pos, boolean isChecked, int[] viewCoordinates) { public boolean onContextMenuClick(ArrayAdapter<ContextMenuItem> adapter, int itemId, int pos, boolean isChecked, int[] viewCoordinates) {
@ -943,7 +943,7 @@ public class MapActivityActions implements DialogProvider {
/* /*
optionsMenuHelper.addItem(new ContextMenuItem.ItemBuilder().setTitleId(R.string.configure_map, mapActivity) optionsMenuHelper.addItem(new ContextMenuItem.ItemBuilder().setTitleId(R.string.configure_map, mapActivity)
.setIcon(R.drawable.ic_action_layers_dark) .setIcon(R.drawable.ic_action_layers)
.setListener(new ContextMenuAdapter.ItemClickListener() { .setListener(new ContextMenuAdapter.ItemClickListener() {
@Override @Override
public boolean onContextMenuClick(ArrayAdapter<ContextMenuItem> adapter, int itemId, int pos, boolean isChecked) { public boolean onContextMenuClick(ArrayAdapter<ContextMenuItem> adapter, int itemId, int pos, boolean isChecked) {

View file

@ -840,7 +840,7 @@ public class ConfigureMapMenu {
if (props != null) { if (props != null) {
adapter.addItem(props); adapter.addItem(props);
} }
props = createProperties(customRules, null, R.string.rendering_category_details, R.drawable.ic_action_layers_dark, props = createProperties(customRules, null, R.string.rendering_category_details, R.drawable.ic_action_layers,
"details", null, adapter, activity, true, DETAILS_ID, themeRes, nightMode, selectedProfileColor); "details", null, adapter, activity, true, DETAILS_ID, themeRes, nightMode, selectedProfileColor);
if (props != null) { if (props != null) {
adapter.addItem(props); adapter.addItem(props);

View file

@ -244,7 +244,7 @@ public class ConfigureProfileFragment extends BaseSettingsFragment implements Co
return; return;
} }
Preference configureMap = findPreference(CONFIGURE_MAP); Preference configureMap = findPreference(CONFIGURE_MAP);
configureMap.setIcon(getContentIcon(R.drawable.ic_action_layers_dark)); configureMap.setIcon(getContentIcon(R.drawable.ic_action_layers));
Intent intent = new Intent(ctx, MapActivity.class); Intent intent = new Intent(ctx, MapActivity.class);
intent.putExtra(OPEN_CONFIG_ON_MAP, MAP_CONFIG); intent.putExtra(OPEN_CONFIG_ON_MAP, MAP_CONFIG);