Skip to content

Instantly share code, notes, and snippets.

@vinodbaste
Created April 3, 2022 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vinodbaste/d25198e3ec7051393143b264f7a68b71 to your computer and use it in GitHub Desktop.
Save vinodbaste/d25198e3ec7051393143b264f7a68b71 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:targetApi="25">
<shortcut
android:shortcutId="explore"
android:enabled="true"
android:icon="@drawable/ic_explore"
android:shortcutShortLabel="@string/explore"
android:shortcutLongLabel="@string/explore"
android:shortcutDisabledMessage="@string/explore">
<intent
android:action="android.intent.action.VIEW"
android:targetPackage="com.kl.appshortcut"
android:targetClass="com.kl.appshortcut.MainActivity">
<!-- <extra
android:name="key"
android:value="value"/>-->
<!-- If your shortcut is associated with multiple intents, include them
here. The last intent in the list determines what the user sees when
they launch this shortcut. -->
</intent>
<categories android:name="android.shortcut.conversation" />
</shortcut>
<shortcut
android:shortcutId="maskup"
android:enabled="true"
android:icon="@drawable/ic_masks"
android:shortcutShortLabel="@string/maskup"
android:shortcutLongLabel="@string/maskup"
android:shortcutDisabledMessage= "@string/maskup">
<intent
android:action="android.intent.action.VIEW"
android:targetPackage="com.kl.appshortcut"
android:targetClass="com.kl.appshortcut.MainActivity2">
</intent>
<categories android:name="android.shortcut.conversation" />
</shortcut>
<shortcut
android:shortcutId="store"
android:enabled="true"
android:icon="@drawable/ic_store"
android:shortcutShortLabel="@string/store"
android:shortcutLongLabel="@string/store"
android:shortcutDisabledMessage="@string/store">
<intent
android:action="android.intent.action.VIEW"
android:targetPackage="com.kl.appshortcut"
android:targetClass="com.kl.appshortcut.MainActivity3">
</intent>
<categories android:name="android.shortcut.conversation" />
</shortcut>
</shortcuts>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment