From 7afb49cb518b48d385f111ad229019bfb4dc9698 Mon Sep 17 00:00:00 2001 From: Andy Carra Date: Sun, 15 Dec 2024 08:26:49 -1000 Subject: [PATCH] more icon fixes- switching wrench to filter on main page and changing map layer from map icon --- .../java/net/wigle/wigleandroid/ListFragment.java | 2 +- .../net/wigle/wigleandroid/MappingFragment.java | 2 +- .../src/main/res/drawable/map_layer.xml | 15 +++++++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 wiglewifiwardriving/src/main/res/drawable/map_layer.xml diff --git a/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/ListFragment.java b/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/ListFragment.java index b94cf627..6fb0cea0 100644 --- a/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/ListFragment.java +++ b/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/ListFragment.java @@ -468,7 +468,7 @@ public void onCreateOptionsMenu (final Menu menu, @NonNull final MenuInflater in item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM); item = menu.add(0, MENU_FILTER, 0, getString(R.string.menu_ssid_filter)); - item.setIcon(R.drawable.wrench); + item.setIcon(R.drawable.filter); item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM); item = menu.add(0, MENU_SORT, 0, getString(R.string.menu_sort)); diff --git a/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/MappingFragment.java b/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/MappingFragment.java index 575a380a..2fde5199 100644 --- a/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/MappingFragment.java +++ b/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/MappingFragment.java @@ -871,7 +871,7 @@ public void onCreateOptionsMenu (@NonNull final Menu menu, @NonNull final MenuIn item.setIcon(android.R.drawable.ic_menu_directions); item = menu.add(0, MENU_MAP_TYPE, 0, getString(R.string.menu_map_type)); - item.setIcon(R.drawable.map); + item.setIcon(R.drawable.map_layer); MenuItemCompat.setShowAsAction(item, MenuItem.SHOW_AS_ACTION_IF_ROOM); item = menu.add(0, MENU_FILTER, 0, getString(R.string.settings_map_head)); diff --git a/wiglewifiwardriving/src/main/res/drawable/map_layer.xml b/wiglewifiwardriving/src/main/res/drawable/map_layer.xml new file mode 100644 index 00000000..1d314b8a --- /dev/null +++ b/wiglewifiwardriving/src/main/res/drawable/map_layer.xml @@ -0,0 +1,15 @@ + + + + +