From ae489aa6efd3dbc0a57aadd08b72c34dd9491e1e Mon Sep 17 00:00:00 2001 From: Johan von Forstner Date: Sat, 1 Jan 2022 15:43:20 +0100 Subject: [PATCH] add app shortcut for favorites view fixes #152 --- app/src/main/AndroidManifest.xml | 4 ++++ .../java/net/vonforst/evmap/MapsActivity.kt | 15 ++++++------ app/src/main/res/drawable/ic_shortcut_fav.xml | 9 +++++++ app/src/main/res/xml/shortcuts.xml | 24 +++++++++++++++++++ 4 files changed, 45 insertions(+), 7 deletions(-) create mode 100644 app/src/main/res/drawable/ic_shortcut_fav.xml create mode 100644 app/src/main/res/xml/shortcuts.xml diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 4258788a..12d14eb0 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -256,6 +256,10 @@ + + + + + + + + + + \ No newline at end of file