1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2016 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16<shortcuts xmlns:android="http://schemas.android.com/apk/res/android" > 17 <shortcut 18 android:shortcutId="ms1" 19 android:enabled="true" 20 android:icon="@drawable/icon1" 21 android:shortcutShortLabel="@string/shortcut_title1" 22 android:shortcutLongLabel="@string/shortcut_text1" 23 android:shortcutDisabledMessage="@string/shortcut_disabled_message1" 24 > 25 <intent 26 android:action="action1" 27 android:data="http://a.b.c/" 28 > 29 </intent> 30 <categories android:name="android.shortcut.conversation" /> 31 <categories android:name="android.shortcut.media" /> 32 </shortcut> 33 <shortcut 34 android:shortcutId="ms2" 35 android:enabled="true" 36 android:icon="@drawable/icon2" 37 android:shortcutShortLabel="@string/shortcut_title2" 38 android:shortcutLongLabel="@string/shortcut_text2" 39 android:shortcutDisabledMessage="@string/shortcut_disabled_message2" 40 > 41 <intent 42 android:action="action2" 43 android:data="http://a.b.c/2" 44 > 45 </intent> 46 <categories android:name="android.shortcut.conversation" /> 47 </shortcut> 48 <shortcut 49 android:shortcutId="ms3" 50 android:enabled="true" 51 android:icon="@drawable/icon3" 52 android:shortcutShortLabel="@string/shortcut_title2" 53 > 54 <intent android:action="action3" /> 55 </shortcut> 56</shortcuts> 57