Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
dependencies ▾

Modern-Apps.git / todo / src / main / res / xml / shortcuts.xml

shortcuts.xml25 lines · 1.0 KiBRaw
1<?xml version="1.0" encoding="utf-8"?>
2<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
3 <shortcut
4 android:enabled="true"
5 android:icon="@drawable/ic_shortcut_add"
6 android:shortcutId="new_task"
7 android:shortcutShortLabel="@string/shortcut_new_task">
8 <intent
9 android:action="com.vayunmathur.todo.action.QUICK_ADD"
10 android:targetClass="com.vayunmathur.todo.MainActivity"
11 android:targetPackage="com.vayunmathur.todo" />
12 </shortcut>
13 <shortcut
14 android:enabled="true"
15 android:icon="@drawable/ic_shortcut_today"
16 android:shortcutId="today"
17 android:shortcutShortLabel="@string/view_today">
18 <intent
19 android:action="android.intent.action.VIEW"
20 android:targetClass="com.vayunmathur.todo.MainActivity"
21 android:targetPackage="com.vayunmathur.todo">
22 <extra android:name="com.vayunmathur.todo.extra.VIEW" android:value="today" />
23 </intent>
24 </shortcut>
25</shortcuts>