diff --git a/README.md b/README.md index 2850846f9..ba31270c4 100644 --- a/README.md +++ b/README.md @@ -52,5 +52,13 @@ F-Droid (externally maintained build of the [foss-master branch](https://github. ## How to use it There aren't presently any official how-to guides, but a youtube search will provide tutorials. For detail on settings in the application, see [https://wigle.net/wiwi_settings](https://wigle.net/wiwi_settings). +## Attributions +Icon source from SVG: + - dashboard: https://www.figma.com/@syalankush + - eye, filter, map, sort: https://dazzleui.gumroad.com/l/dazzleiconsfree + - no wifi: https://www.figma.com/@d12da0b9_b193_4 + - share: https://noahjacob.us/?ref=svgrepo.com + - user star: https://github.com/Remix-Design/remixicon + - wrench: https://github.com/FortAwesome/Font-Awesome This project is maintained by the WiGLE.net team \ No newline at end of file diff --git a/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/ListFragment.java b/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/ListFragment.java index c718996f3..7c5c4b69e 100644 --- a/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/ListFragment.java +++ b/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/ListFragment.java @@ -464,15 +464,15 @@ public void onDetach() { @Override public void onCreateOptionsMenu (final Menu menu, @NonNull final MenuInflater inflater) { MenuItem item = menu.add(0, MENU_MAP, 0, getString(R.string.tab_map)); - item.setIcon( android.R.drawable.ic_menu_mapmode ); + item.setIcon(R.drawable.map ); item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM); item = menu.add(0, MENU_FILTER, 0, getString(R.string.menu_ssid_filter)); - item.setIcon(android.R.drawable.ic_menu_manage); + item.setIcon(R.drawable.wrench); item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM); item = menu.add(0, MENU_SORT, 0, getString(R.string.menu_sort)); - item.setIcon( android.R.drawable.ic_menu_sort_alphabetically ); + item.setIcon(R.drawable.sort); item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM); final MainActivity main = MainActivity.getMainActivity(this); diff --git a/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/MappingFragment.java b/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/MappingFragment.java index ef28424e7..575a380ab 100644 --- a/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/MappingFragment.java +++ b/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/MappingFragment.java @@ -871,11 +871,11 @@ 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(android.R.drawable.ic_menu_mapmode); + item.setIcon(R.drawable.map); MenuItemCompat.setShowAsAction(item, MenuItem.SHOW_AS_ACTION_IF_ROOM); item = menu.add(0, MENU_FILTER, 0, getString(R.string.settings_map_head)); - item.setIcon(android.R.drawable.ic_menu_search); + item.setIcon(R.drawable.filter); MenuItemCompat.setShowAsAction(item, MenuItem.SHOW_AS_ACTION_IF_ROOM); String name = state.locked ? getString(R.string.menu_turn_off_lockon) : getString(R.string.menu_turn_on_lockon); diff --git a/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/RankStatsFragment.java b/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/RankStatsFragment.java index e852a6b91..57d436931 100644 --- a/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/RankStatsFragment.java +++ b/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/RankStatsFragment.java @@ -338,20 +338,20 @@ public void onConfigurationChanged(@NonNull final Configuration newConfig ) { @Override public void onCreateOptionsMenu (final Menu menu, @NonNull final MenuInflater inflater) { MenuItem item = menu.add(0, MENU_USER_STATS, 0, getString(R.string.user_stats_app_name)); - item.setIcon( android.R.drawable.ic_menu_myplaces ); + item.setIcon( R.drawable.user_star ); MenuItemCompat.setShowAsAction(item, MenuItem.SHOW_AS_ACTION_IF_ROOM); item = menu.add(0, MENU_USER_STATS, 0, getString(R.string.user_stats_app_name)); - item.setIcon(android.R.drawable.ic_menu_myplaces); + item.setIcon(R.drawable.user_star); item = menu.add(0, MENU_SITE_STATS, 0, getString(R.string.site_stats_app_name)); - item.setIcon(R.drawable.ic_planet_small_white); + item.setIcon(R.drawable.w_logo); MenuItemCompat.setShowAsAction(item, MenuItem.SHOW_AS_ACTION_IF_ROOM); item = menu.add(0, MENU_SITE_STATS, 0, getString(R.string.site_stats_app_name)); - item.setIcon(R.drawable.ic_planet_small_white); + item.setIcon(R.drawable.w_logo); item = menu.add(0, MENU_RANK_SWAP, 0, getRankSwapString()); - item.setIcon(android.R.drawable.ic_menu_sort_alphabetically); + item.setIcon(R.drawable.sort); item = menu.add(0, MENU_USER_CENTRIC_SWAP, 0, getUserCentricSwapString()); item.setIcon(android.R.drawable.picture_frame); diff --git a/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/SiteStatsFragment.java b/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/SiteStatsFragment.java index 66c3a7e96..f952da55a 100644 --- a/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/SiteStatsFragment.java +++ b/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/SiteStatsFragment.java @@ -208,18 +208,18 @@ public void onConfigurationChanged(@NonNull final Configuration newConfig ) { @Override public void onCreateOptionsMenu (final Menu menu, @NonNull final MenuInflater inflater) { MenuItem item = menu.add(0, MENU_USER_STATS, 0, getString(R.string.user_stats_app_name)); - item.setIcon( android.R.drawable.ic_menu_myplaces ); + item.setIcon( R.drawable.user_star ); MenuItemCompat.setShowAsAction(item, MenuItemCompat.SHOW_AS_ACTION_IF_ROOM); item = menu.add(0, MENU_USER_STATS, 0, getString(R.string.user_stats_app_name)); - item.setIcon(android.R.drawable.ic_menu_myplaces); + item.setIcon(R.drawable.user_star); item = menu.add(0, MENU_RANK_STATS, 0, getString(R.string.rank_stats_app_name)); - item.setIcon(android.R.drawable.ic_menu_sort_by_size); + item.setIcon(R.drawable.rankings); MenuItemCompat.setShowAsAction(item, MenuItemCompat.SHOW_AS_ACTION_IF_ROOM); item = menu.add(0, MENU_RANK_STATS, 0, getString(R.string.rank_stats_app_name)); - item.setIcon(android.R.drawable.ic_menu_sort_by_size); + item.setIcon(R.drawable.rankings); super.onCreateOptionsMenu(menu, inflater); } diff --git a/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/UploadsFragment.java b/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/UploadsFragment.java index 043194a0b..de52e91c5 100644 --- a/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/UploadsFragment.java +++ b/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/UploadsFragment.java @@ -370,18 +370,11 @@ public void onConfigurationChanged(@NonNull final Configuration newConfig ) { @Override public void onCreateOptionsMenu (final Menu menu, @NonNull final MenuInflater inflater) { MenuItem item = menu.add(0, MENU_USER_STATS, 0, getString(R.string.user_stats_app_name)); - item.setIcon( android.R.drawable.ic_menu_myplaces ); + item.setIcon(R.drawable.user_star); MenuItemCompat.setShowAsAction(item, MenuItemCompat.SHOW_AS_ACTION_IF_ROOM); item = menu.add(0, MENU_USER_STATS, 0, getString(R.string.user_stats_app_name)); - item.setIcon(android.R.drawable.ic_menu_myplaces); - - item = menu.add(0, MENU_SITE_STATS, 0, getString(R.string.site_stats_app_name)); - item.setIcon( R.drawable.ic_planet_small_white ); - MenuItemCompat.setShowAsAction(item, MenuItemCompat.SHOW_AS_ACTION_IF_ROOM); - - item = menu.add(0, MENU_SITE_STATS, 0, getString(R.string.site_stats_app_name)); - item.setIcon(R.drawable.ic_planet_small_white); + item.setIcon(R.drawable.user_star); super.onCreateOptionsMenu(menu, inflater); } diff --git a/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/UserStatsFragment.java b/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/UserStatsFragment.java index c797c05de..591a82429 100644 --- a/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/UserStatsFragment.java +++ b/wiglewifiwardriving/src/main/java/net/wigle/wigleandroid/UserStatsFragment.java @@ -296,18 +296,18 @@ public void onConfigurationChanged(@NonNull final Configuration newConfig ) { @Override public void onCreateOptionsMenu (final Menu menu, @NonNull final MenuInflater inflater) { MenuItem item = menu.add(0, MENU_SITE_STATS, 0, getString(R.string.site_stats_app_name)); - item.setIcon( R.drawable.ic_planet_small_white ); + item.setIcon( R.drawable.w_logo ); item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM); item = menu.add(0, MENU_SITE_STATS, 0, getString(R.string.site_stats_app_name)); - item.setIcon(R.drawable.ic_planet_small_white); + item.setIcon(R.drawable.w_logo); item = menu.add(0, MENU_RANK_STATS, 0, getString(R.string.rank_stats_app_name)); - item.setIcon(android.R.drawable.ic_menu_sort_by_size); + item.setIcon(R.drawable.rankings); item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM); item = menu.add(0, MENU_RANK_STATS, 0, getString(R.string.rank_stats_app_name)); - item.setIcon(android.R.drawable.ic_menu_sort_by_size); + item.setIcon(R.drawable.rankings); super.onCreateOptionsMenu(menu, inflater); } diff --git a/wiglewifiwardriving/src/main/res/drawable/dashboard.xml b/wiglewifiwardriving/src/main/res/drawable/dashboard.xml new file mode 100644 index 000000000..804d89562 --- /dev/null +++ b/wiglewifiwardriving/src/main/res/drawable/dashboard.xml @@ -0,0 +1,5 @@ + + + diff --git a/wiglewifiwardriving/src/main/res/drawable/filter.xml b/wiglewifiwardriving/src/main/res/drawable/filter.xml new file mode 100644 index 000000000..ae5cd8b1c --- /dev/null +++ b/wiglewifiwardriving/src/main/res/drawable/filter.xml @@ -0,0 +1,8 @@ + + + diff --git a/wiglewifiwardriving/src/main/res/drawable/map.xml b/wiglewifiwardriving/src/main/res/drawable/map.xml new file mode 100644 index 000000000..ef1b58795 --- /dev/null +++ b/wiglewifiwardriving/src/main/res/drawable/map.xml @@ -0,0 +1,8 @@ + + + diff --git a/wiglewifiwardriving/src/main/res/drawable/no_scan.xml b/wiglewifiwardriving/src/main/res/drawable/no_scan.xml new file mode 100644 index 000000000..a67f93e58 --- /dev/null +++ b/wiglewifiwardriving/src/main/res/drawable/no_scan.xml @@ -0,0 +1,5 @@ + + + diff --git a/wiglewifiwardriving/src/main/res/drawable/rankings.xml b/wiglewifiwardriving/src/main/res/drawable/rankings.xml new file mode 100644 index 000000000..2f8ccd4d3 --- /dev/null +++ b/wiglewifiwardriving/src/main/res/drawable/rankings.xml @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/wiglewifiwardriving/src/main/res/drawable/search.xml b/wiglewifiwardriving/src/main/res/drawable/search.xml new file mode 100644 index 000000000..e1b82c767 --- /dev/null +++ b/wiglewifiwardriving/src/main/res/drawable/search.xml @@ -0,0 +1,8 @@ + + + diff --git a/wiglewifiwardriving/src/main/res/drawable/share.xml b/wiglewifiwardriving/src/main/res/drawable/share.xml new file mode 100644 index 000000000..8c96ccfd7 --- /dev/null +++ b/wiglewifiwardriving/src/main/res/drawable/share.xml @@ -0,0 +1,5 @@ + + + diff --git a/wiglewifiwardriving/src/main/res/drawable/sort.xml b/wiglewifiwardriving/src/main/res/drawable/sort.xml new file mode 100644 index 000000000..43dc84b66 --- /dev/null +++ b/wiglewifiwardriving/src/main/res/drawable/sort.xml @@ -0,0 +1,8 @@ + + + diff --git a/wiglewifiwardriving/src/main/res/drawable/user_star.xml b/wiglewifiwardriving/src/main/res/drawable/user_star.xml new file mode 100644 index 000000000..4087c9a38 --- /dev/null +++ b/wiglewifiwardriving/src/main/res/drawable/user_star.xml @@ -0,0 +1,5 @@ + + + diff --git a/wiglewifiwardriving/src/main/res/drawable/view.xml b/wiglewifiwardriving/src/main/res/drawable/view.xml new file mode 100644 index 000000000..7f6cbc4da --- /dev/null +++ b/wiglewifiwardriving/src/main/res/drawable/view.xml @@ -0,0 +1,12 @@ + + + + diff --git a/wiglewifiwardriving/src/main/res/drawable/w_logo.xml b/wiglewifiwardriving/src/main/res/drawable/w_logo.xml new file mode 100644 index 000000000..3a9c71d5a --- /dev/null +++ b/wiglewifiwardriving/src/main/res/drawable/w_logo.xml @@ -0,0 +1,12 @@ + + + + + diff --git a/wiglewifiwardriving/src/main/res/drawable/wrench.xml b/wiglewifiwardriving/src/main/res/drawable/wrench.xml new file mode 100644 index 000000000..d246f42c1 --- /dev/null +++ b/wiglewifiwardriving/src/main/res/drawable/wrench.xml @@ -0,0 +1,5 @@ + + + diff --git a/wiglewifiwardriving/src/main/res/layout/gpx_recycler_element.xml b/wiglewifiwardriving/src/main/res/layout/gpx_recycler_element.xml index 16b56547b..67f9b7077 100644 --- a/wiglewifiwardriving/src/main/res/layout/gpx_recycler_element.xml +++ b/wiglewifiwardriving/src/main/res/layout/gpx_recycler_element.xml @@ -22,7 +22,7 @@ tools:text="11/15/01 14:33 - 16:03 (867)"/> @@ -47,19 +47,19 @@ android:id="@+id/stats_group">