From d19a7e127cab2ab7881a742400762bc1e7f14183 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Thu, 23 Jan 2020 14:14:06 +0200 Subject: [PATCH] Update Layers icon --- .../drawable-hdpi/ic_action_layers_dark.png | Bin 1500 -> 0 bytes .../drawable-mdpi/ic_action_layers_dark.png | Bin 1379 -> 0 bytes .../drawable-xhdpi/ic_action_layers_dark.png | Bin 1806 -> 0 bytes .../drawable-xxhdpi/ic_action_layers_dark.png | Bin 2087 -> 0 bytes OsmAnd/res/drawable/ic_action_layers.xml | 19 ++++++++++++++++++ OsmAnd/res/xml/configure_profile.xml | 2 +- .../plus/activities/MapActivityActions.java | 4 ++-- .../osmand/plus/dialogs/ConfigureMapMenu.java | 2 +- .../settings/ConfigureProfileFragment.java | 2 +- 9 files changed, 24 insertions(+), 5 deletions(-) delete mode 100644 OsmAnd/res/drawable-hdpi/ic_action_layers_dark.png delete mode 100644 OsmAnd/res/drawable-mdpi/ic_action_layers_dark.png delete mode 100644 OsmAnd/res/drawable-xhdpi/ic_action_layers_dark.png delete mode 100644 OsmAnd/res/drawable-xxhdpi/ic_action_layers_dark.png create mode 100644 OsmAnd/res/drawable/ic_action_layers.xml diff --git a/OsmAnd/res/drawable-hdpi/ic_action_layers_dark.png b/OsmAnd/res/drawable-hdpi/ic_action_layers_dark.png deleted file mode 100644 index a8ccd251cd0f855a3e182589d73990ea1fde6e30..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1500 zcmbVMZ%h+s7(d0KvXFteOhw0W6avEadPlG2ZnQ}M09`Dyf)N=i*WO#WKzrrxpatiL zHR50s$EHS1+*Dj7IOc5J41{eCZO3Fpv$$Y3#{#1tj5GV^CUMTND^Ru%#1FgV?tP#4 zeSXjLd;VQVS!r>6+=e&^g5oVDCY!t}BJZkL`8x%5cgxFq$y_Ow^G?aj2mmT%c{_kD zE~XaP0K>L4UIY0M6w}OAR7#cBt+a!8DVd0l(&zHXXb8$L@Ocn# z2+XlMWCv+g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_eI;yUt*p`1N5XCE>Xpnb4YR^kHRz|f5%9O=F83;EiH+ko^Y+Em zCZtAUb=Z(%ipI7Ov$-C7!X|&=s*0ZT&mrv$u`IX5> z0~X{jyLhoZEr}O820rvOv?PXIp6yrgRin#itoK0t#k>AD%G|rOJ@zM>kP-3jmBr&L z8h#mhY-=s_=<@alQ7w~$O1%w7H>AYG6*sNfnlx_}ejsW=RfX8m%&ch2@wu9tIKA#n zKk2N_?j1Ap*yOZ!+db=P_U@=f0m%toY3}2JcCXt$UzcS2xGfulPW0>Cytc+$;fi~B zIt+6UGEWmTEy1Mkx!%H(-e<^#TECvH9h)Ca6pwAnXOwm^`=AMq{9U^{FWf3s+=bHp z-vsVu1S{P4x+;#e8P>1=Gaq_m%?mrs{&7~_!LrO~?^lt5wd3ZuHP0z(##gbT0?P99 zqwADMZvx**dq=!_(K*2(enS|xAFoc)#QpRrSEh(Q(a(M{eV`Osd}PPlm`b#_ZkD_? ztmZ=4y-R-x?w@PvQp~8gW>3>s|2E^Xx|&-QlJoHPWn{;gs%ZPRq_ECqc~QK;0n+$# z{DiQU`#WEbweRU{shbw6T^43u)n{XxndS0Vk#5F|64UD9j%Cw4e<-awMpdOq$@>Su Cv8pft diff --git a/OsmAnd/res/drawable-xxhdpi/ic_action_layers_dark.png b/OsmAnd/res/drawable-xxhdpi/ic_action_layers_dark.png deleted file mode 100644 index 76900094c16f184c1cc6bae85ea2e0ebb53fd552..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2087 zcmbVNc~nzp7LN!*Q<#nnR+JHApj3hE8;M55?3J*DusAA^w*;P$ypRM4YLsAI*sHRG zh+q*A6|qvGR0w*|gaR-@rcuSg3RnfD zCH24?aJa=Oh%(9;B@g6*sD`Yv+K^2e9fro?Hu#%#Dlh>y5&$?3(ejCtpIjpn5QtBV zWXY*=odAwUq`UNR*sdTYxGMqVLPYR|$l%qD?U8k4}`l4&e9hs*IL&@r7t^`p?KBr2E3V(_SR!u&(T zqU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{css|)7SosV&o1tJp+F7r$hxr ne6S2EUk2H24N$f0vvI`T=)1POOH^5I{dLPkLBeyJV>5mOf+9ef diff --git a/OsmAnd/res/drawable/ic_action_layers.xml b/OsmAnd/res/drawable/ic_action_layers.xml new file mode 100644 index 0000000000..123175a349 --- /dev/null +++ b/OsmAnd/res/drawable/ic_action_layers.xml @@ -0,0 +1,19 @@ + + + + + + diff --git a/OsmAnd/res/xml/configure_profile.xml b/OsmAnd/res/xml/configure_profile.xml index 4d0f997500..938f77077a 100644 --- a/OsmAnd/res/xml/configure_profile.xml +++ b/OsmAnd/res/xml/configure_profile.xml @@ -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" /> 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 adapter, int itemId, int pos, boolean isChecked) { diff --git a/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java b/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java index 280a24b042..5cfc3d6429 100644 --- a/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java +++ b/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java @@ -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); diff --git a/OsmAnd/src/net/osmand/plus/settings/ConfigureProfileFragment.java b/OsmAnd/src/net/osmand/plus/settings/ConfigureProfileFragment.java index f3c11e3819..d87f5f4d32 100644 --- a/OsmAnd/src/net/osmand/plus/settings/ConfigureProfileFragment.java +++ b/OsmAnd/src/net/osmand/plus/settings/ConfigureProfileFragment.java @@ -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);