summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/xml/shortcuts.xml
blob: d43bdfeb71956c5c53c073f96fec811afce468bb (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
<?xml version="1.0" encoding="utf-8"?>
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
    <shortcut
        android:shortcutId="SHORTCUT:OPEN_MARKED"
        android:enabled="true"
        android:icon="@drawable/ic_shortcut_star"
        android:shortcutShortLabel="@string/feed_starred_articles">
        <intent
            android:action="android.intent.action.VIEW"
            android:targetPackage="org.fox.ttrss"
            android:targetClass="org.fox.ttrss.MasterActivity">
            <extra android:name="shortcut_mode" android:value="true"/>
            <extra android:name="feed_id" android:value="-1"/>
        </intent>
    </shortcut>
    <shortcut
        android:shortcutId="SHORTCUT:OPEN_FRESH"
        android:enabled="true"
        android:icon="@drawable/ic_shortcut_fresh"
        android:shortcutShortLabel="@string/fresh_articles">
        <intent
            android:action="android.intent.action.VIEW"
            android:targetPackage="org.fox.ttrss"
            android:targetClass="org.fox.ttrss.MasterActivity">
                <extra android:name="shortcut_mode" android:value="true"/>
                <extra android:name="feed_id" android:value="-3"/>
        </intent>
    </shortcut>
    <shortcut
        android:shortcutId="SHORTCUT:OPEN_ALL_ARTICLES"
        android:enabled="true"
        android:icon="@drawable/ic_shortcut_folder_open"
        android:shortcutShortLabel="@string/feed_all_articles">
        <intent
            android:action="android.intent.action.VIEW"
            android:targetPackage="org.fox.ttrss"
            android:targetClass="org.fox.ttrss.MasterActivity">
            <extra android:name="shortcut_mode" android:value="true"/>
            <extra android:name="feed_id" android:value="-4"/>
        </intent>
    </shortcut>

</shortcuts>