apps-android-commons/app/src/main/res/xml/shortcuts.xml
Madhur Gupta 584fa2c778
Fixes #814 Added App Shortcuts (#3381)
* Fixes #814 Added App Shortcuts

* removed Review app shortcut

* Added Adaptive icons
2020-02-25 15:05:00 -07:00

45 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<shortcut
android:enabled="true"
android:icon="@mipmap/ic_explore"
android:shortcutId="Explore"
android:shortcutLongLabel="@string/title_app_shortcut_explore"
android:shortcutShortLabel="@string/title_app_shortcut_explore"
tools:targetApi="n_mr1">
<intent
android:action="android.intent.action.VIEW"
android:targetClass="fr.free.nrw.commons.explore.categories.ExploreActivity"
android:targetPackage="fr.free.nrw.commons.beta" />
</shortcut>
<shortcut
android:enabled="true"
android:icon="@mipmap/ic_filled_star"
android:shortcutId="Bookmark"
android:shortcutLongLabel="@string/title_app_shortcut_bookmark"
android:shortcutShortLabel="@string/title_app_shortcut_bookmark"
tools:targetApi="n_mr1">
<intent
android:action="android.intent.action.VIEW"
android:targetClass="fr.free.nrw.commons.bookmarks.BookmarksActivity"
android:targetPackage="fr.free.nrw.commons.beta" />
</shortcut>
<shortcut
android:enabled="true"
android:icon="@mipmap/ic_settings_black"
android:shortcutId="Setting"
android:shortcutLongLabel="@string/title_app_shortcut_setting"
android:shortcutShortLabel="@string/title_app_shortcut_setting"
tools:targetApi="n_mr1">
<intent
android:action="android.intent.action.VIEW"
android:targetClass="fr.free.nrw.commons.settings.SettingsActivity"
android:targetPackage="fr.free.nrw.commons.beta" />
</shortcut>
</shortcuts>