summaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/shortcuts.xml
blob: 6ae07c4b9ec78f751a8ac62465902eb0913e4367 (plain)
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
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0" encoding="utf-8"?>
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
    <shortcut
        android:enabled="true"
        android:icon="@drawable/ic_playlist_shortcut"
        android:shortcutId="queue"
        android:shortcutShortLabel="@string/queue_label">
        <intent
            android:action="android.intent.action.VIEW"
            android:targetClass="de.danoeh.antennapod.activity.MainActivity"
            android:targetPackage="de.danoeh.antennapod">
            <extra
                android:name="fragment_tag"
                android:value="QueueFragment" />
        </intent>
    </shortcut>

    <shortcut
        android:enabled="true"
        android:icon="@drawable/ic_feed_shortcut"
        android:shortcutId="episodes"
        android:shortcutShortLabel="@string/episodes_label">
        <intent
            android:action="android.intent.action.VIEW"
            android:targetClass="de.danoeh.antennapod.activity.MainActivity"
            android:targetPackage="de.danoeh.antennapod">
            <extra
                android:name="fragment_tag"
                android:value="EpisodesFragment" />
        </intent>
    </shortcut>

    <shortcut
        android:enabled="true"
        android:icon="@drawable/ic_folder_shortcut"
        android:shortcutId="subscriptions"
        android:shortcutShortLabel="@string/subscriptions_label">
        <intent
            android:action="android.intent.action.VIEW"
            android:targetClass="de.danoeh.antennapod.activity.MainActivity"
            android:targetPackage="de.danoeh.antennapod">
            <extra
                android:name="fragment_tag"
                android:value="SubscriptionFragment" />
        </intent>
    </shortcut>

    <shortcut
        android:enabled="true"
        android:icon="@drawable/ic_refresh_shortcut"
        android:shortcutId="refresh"
        android:shortcutShortLabel="@string/refresh_label">
        <intent
            android:action="android.intent.action.VIEW"
            android:targetClass="de.danoeh.antennapod.activity.MainActivity"
            android:targetPackage="de.danoeh.antennapod">
            <extra
                android:name="refresh_on_start"
                android:value="true" />
        </intent>
    </shortcut>
</shortcuts>