You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.6 KiB
39 lines
1.6 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<shortcuts xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<shortcut
|
|
android:shortcutId="bookRead"
|
|
android:enabled="true"
|
|
android:icon="@drawable/icon_read_book"
|
|
android:shortcutShortLabel="@string/last_read"
|
|
android:shortcutLongLabel="@string/last_read"
|
|
android:shortcutDisabledMessage="@string/last_read"
|
|
tools:ignore="UnusedAttribute">
|
|
|
|
<intent
|
|
android:action="android.intent.action.VIEW"
|
|
android:targetPackage="${applicationId}"
|
|
android:targetClass="io.legado.app.ui.main.MainActivity" />
|
|
<intent
|
|
android:action="android.intent.action.VIEW"
|
|
android:targetPackage="${applicationId}"
|
|
android:targetClass="io.legado.app.ui.book.read.ReadBookActivity" />
|
|
<categories android:name="android.shortcut.conversation" />
|
|
</shortcut>
|
|
|
|
<shortcut
|
|
android:shortcutId="bookshelf"
|
|
android:enabled="true"
|
|
android:icon="@drawable/icon_read_book"
|
|
android:shortcutShortLabel="@string/bookshelf"
|
|
android:shortcutLongLabel="@string/bookshelf"
|
|
android:shortcutDisabledMessage="@string/bookshelf"
|
|
tools:ignore="UnusedAttribute">
|
|
|
|
<intent
|
|
android:action="android.intent.action.VIEW"
|
|
android:targetPackage="${applicationId}"
|
|
android:targetClass="io.legado.app.ui.main.MainActivity" />
|
|
<categories android:name="android.shortcut.conversation" />
|
|
</shortcut>
|
|
</shortcuts>
|
|
|