-
Notifications
You must be signed in to change notification settings - Fork 1
/
shortcuts.xml
50 lines (46 loc) · 2.25 KB
/
shortcuts.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0" encoding="utf-8"?>
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
<shortcut
android:shortcutId="compose"
android:enabled="true"
android:icon="@drawable/compose_icon"
android:shortcutShortLabel="@string/compose_shortcut_short_label"
android:shortcutLongLabel="@string/compose_shortcut_long_label"
android:shortcutDisabledMessage="@string/compose_disabled_message">
<intent
android:action="android.intent.action.VIEW"
android:targetPackage="com.arindam.android.training"
android:targetClass="com.arindam.kotlin.shortcuts.NewActivity"/>
<!-- 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. -->
<categories android:name="android.shortcut.conversation"/>
</shortcut>
<shortcut
android:shortcutId="daynight"
android:enabled="true"
android:icon="@drawable/daynight_icon"
android:shortcutShortLabel="@string/daynight_shortcut_short_label"
android:shortcutLongLabel="@string/daynight_shortcut_long_label"
android:shortcutDisabledMessage="@string/daynight_disabled_message">
<intent
android:action="android.intent.action.VIEW"
android:targetPackage="com.arindam.android.training"
android:targetClass="com.arindam.kotlin.daynight.DayNightActivity"/>
<categories android:name="android.shortcut.conversation"/>
</shortcut>
<shortcut
android:shortcutId="coil"
android:enabled="true"
android:icon="@drawable/coil_icon"
android:shortcutShortLabel="@string/coil_shortcut_short_label"
android:shortcutLongLabel="@string/coil_shortcut_long_label"
android:shortcutDisabledMessage="@string/coil_disabled_message">
<intent
android:action="android.intent.action.VIEW"
android:targetPackage="com.arindam.android.training"
android:targetClass="com.arindam.kotlin.coil.CoilActivity"/>
<categories android:name="android.shortcut.conversation"/>
</shortcut>
<!-- Specify more shortcuts here. -->
</shortcuts>