shortcuts.xml raw

   1  <shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
   2      <shortcut
   3          android:shortcutId="watch_face"
   4          android:enabled="true"
   5          android:icon="@mipmap/ic_shortcut"
   6          android:shortcutShortLabel="@string/pref_ao_watch_face"
   7          android:shortcutLongLabel="@string/pref_ao_watch_face"
   8          android:shortcutDisabledMessage="@string/shortcut_disabled">
   9          <intent
  10              android:action="android.intent.action.VIEW"
  11              android:targetPackage="io.github.domi04151309.alwayson"
  12              android:targetClass="io.github.domi04151309.alwayson.activities.LAFWatchFaceActivity" />
  13          <categories android:name="android.shortcut.conversation" />
  14      </shortcut>
  15      <shortcut
  16          android:shortcutId="background"
  17          android:enabled="true"
  18          android:icon="@mipmap/ic_shortcut"
  19          android:shortcutShortLabel="@string/pref_ao_background"
  20          android:shortcutLongLabel="@string/pref_ao_background"
  21          android:shortcutDisabledMessage="@string/shortcut_disabled">
  22          <intent
  23              android:action="android.intent.action.VIEW"
  24              android:targetPackage="io.github.domi04151309.alwayson"
  25              android:targetClass="io.github.domi04151309.alwayson.activities.LAFBackgroundActivity" />
  26          <categories android:name="android.shortcut.conversation" />
  27      </shortcut>
  28      <shortcut
  29          android:shortcutId="rules"
  30          android:enabled="true"
  31          android:icon="@mipmap/ic_shortcut"
  32          android:shortcutShortLabel="@string/pref_look_and_feel_rules"
  33          android:shortcutLongLabel="@string/pref_look_and_feel_rules"
  34          android:shortcutDisabledMessage="@string/shortcut_disabled">
  35          <intent
  36              android:action="android.intent.action.VIEW"
  37              android:targetPackage="io.github.domi04151309.alwayson"
  38              android:targetClass="io.github.domi04151309.alwayson.activities.LAFRulesActivity" />
  39          <categories android:name="android.shortcut.conversation" />
  40      </shortcut>
  41      <shortcut
  42          android:shortcutId="behavior"
  43          android:enabled="true"
  44          android:icon="@mipmap/ic_shortcut"
  45          android:shortcutShortLabel="@string/pref_ao_behavior"
  46          android:shortcutLongLabel="@string/pref_ao_behavior"
  47          android:shortcutDisabledMessage="@string/shortcut_disabled">
  48          <intent
  49              android:action="android.intent.action.VIEW"
  50              android:targetPackage="io.github.domi04151309.alwayson"
  51              android:targetClass="io.github.domi04151309.alwayson.activities.LAFBehaviorActivity" />
  52          <categories android:name="android.shortcut.conversation" />
  53      </shortcut>
  54  </shortcuts>