Update Layers icon
This commit is contained in:
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 |
19
OsmAnd/res/drawable/ic_action_layers.xml
Normal file
19
OsmAnd/res/drawable/ic_action_layers.xml
Normal 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>
|
|
@ -34,7 +34,7 @@
|
|||
android:persistent="false"
|
||||
android:summary="@string/map_look_descr"
|
||||
android:title="@string/configure_map"
|
||||
tools:icon="@drawable/ic_action_layers_dark" />
|
||||
tools:icon="@drawable/ic_action_layers" />
|
||||
|
||||
<Preference
|
||||
android:key="configure_screen"
|
||||
|
|
|
@ -803,7 +803,7 @@ public class MapActivityActions implements DialogProvider {
|
|||
|
||||
optionsMenuHelper.addItem(new ItemBuilder().setTitleId(R.string.configure_map, mapActivity)
|
||||
.setId(DRAWER_CONFIGURE_MAP_ID)
|
||||
.setIcon(R.drawable.ic_action_layers_dark)
|
||||
.setIcon(R.drawable.ic_action_layers)
|
||||
.setListener(new ItemClickListener() {
|
||||
@Override
|
||||
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)
|
||||
.setIcon(R.drawable.ic_action_layers_dark)
|
||||
.setIcon(R.drawable.ic_action_layers)
|
||||
.setListener(new ContextMenuAdapter.ItemClickListener() {
|
||||
@Override
|
||||
public boolean onContextMenuClick(ArrayAdapter<ContextMenuItem> adapter, int itemId, int pos, boolean isChecked) {
|
||||
|
|
|
@ -840,7 +840,7 @@ public class ConfigureMapMenu {
|
|||
if (props != null) {
|
||||
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);
|
||||
if (props != null) {
|
||||
adapter.addItem(props);
|
||||
|
|
|
@ -244,7 +244,7 @@ public class ConfigureProfileFragment extends BaseSettingsFragment implements Co
|
|||
return;
|
||||
}
|
||||
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.putExtra(OPEN_CONFIG_ON_MAP, MAP_CONFIG);
|
||||
|
|
Loading…
Reference in a new issue