From d5346abf9213af274066db0f0cc49cf095020595 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 21 Dec 2018 10:07:27 +0300 Subject: add app launcher shortcuts, with associated icons --- org.fox.ttrss/src/main/AndroidManifest.xml | 3 ++ .../main/java/org/fox/ttrss/MasterActivity.java | 17 +++++++- .../main/res/drawable-hdpi/ic_shortcut_coffee.png | Bin 0 -> 2071 bytes .../res/drawable-hdpi/ic_shortcut_folder_open.png | Bin 0 -> 1908 bytes .../main/res/drawable-hdpi/ic_shortcut_star.png | Bin 0 -> 2497 bytes .../main/res/drawable-mdpi/ic_shortcut_coffee.png | Bin 0 -> 1399 bytes .../res/drawable-mdpi/ic_shortcut_folder_open.png | Bin 0 -> 1154 bytes .../main/res/drawable-mdpi/ic_shortcut_star.png | Bin 0 -> 1456 bytes .../main/res/drawable-xhdpi/ic_shortcut_coffee.png | Bin 0 -> 2741 bytes .../res/drawable-xhdpi/ic_shortcut_folder_open.png | Bin 0 -> 2400 bytes .../main/res/drawable-xhdpi/ic_shortcut_star.png | Bin 0 -> 3037 bytes .../res/drawable-xxhdpi/ic_shortcut_coffee.png | Bin 0 -> 4007 bytes .../drawable-xxhdpi/ic_shortcut_folder_open.png | Bin 0 -> 3902 bytes .../main/res/drawable-xxhdpi/ic_shortcut_star.png | Bin 0 -> 4945 bytes .../res/drawable-xxxhdpi/ic_shortcut_coffee.png | Bin 0 -> 5554 bytes .../drawable-xxxhdpi/ic_shortcut_folder_open.png | Bin 0 -> 5211 bytes .../main/res/drawable-xxxhdpi/ic_shortcut_star.png | Bin 0 -> 6346 bytes org.fox.ttrss/src/main/res/values/strings.xml | 1 + org.fox.ttrss/src/main/res/xml/shortcuts.xml | 43 +++++++++++++++++++++ 19 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 org.fox.ttrss/src/main/res/drawable-hdpi/ic_shortcut_coffee.png create mode 100644 org.fox.ttrss/src/main/res/drawable-hdpi/ic_shortcut_folder_open.png create mode 100644 org.fox.ttrss/src/main/res/drawable-hdpi/ic_shortcut_star.png create mode 100644 org.fox.ttrss/src/main/res/drawable-mdpi/ic_shortcut_coffee.png create mode 100644 org.fox.ttrss/src/main/res/drawable-mdpi/ic_shortcut_folder_open.png create mode 100644 org.fox.ttrss/src/main/res/drawable-mdpi/ic_shortcut_star.png create mode 100644 org.fox.ttrss/src/main/res/drawable-xhdpi/ic_shortcut_coffee.png create mode 100644 org.fox.ttrss/src/main/res/drawable-xhdpi/ic_shortcut_folder_open.png create mode 100644 org.fox.ttrss/src/main/res/drawable-xhdpi/ic_shortcut_star.png create mode 100644 org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_shortcut_coffee.png create mode 100644 org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_shortcut_folder_open.png create mode 100644 org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_shortcut_star.png create mode 100644 org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_shortcut_coffee.png create mode 100644 org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_shortcut_folder_open.png create mode 100644 org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_shortcut_star.png create mode 100644 org.fox.ttrss/src/main/res/xml/shortcuts.xml diff --git a/org.fox.ttrss/src/main/AndroidManifest.xml b/org.fox.ttrss/src/main/AndroidManifest.xml index 6deb6255..75dc436b 100755 --- a/org.fox.ttrss/src/main/AndroidManifest.xml +++ b/org.fox.ttrss/src/main/AndroidManifest.xml @@ -37,6 +37,9 @@ + + Title Sort articles Fresh articles + Starred articles All articles Enable FAB Show floating action button when reading diff --git a/org.fox.ttrss/src/main/res/xml/shortcuts.xml b/org.fox.ttrss/src/main/res/xml/shortcuts.xml new file mode 100644 index 00000000..3328b165 --- /dev/null +++ b/org.fox.ttrss/src/main/res/xml/shortcuts.xml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3