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="manifest-shortcut-1" 19 android:enabled="true" 20 android:icon="@drawable/icon1" 21 android:shortcutShortLabel="@string/shortcut_short_text1" 22 android:shortcutLongLabel="@string/shortcut_long_text1" 23 android:shortcutDisabledMessage="@string/shortcut_disabled_message1" 24 > 25 <intent 26 android:action="android.intent.action.VIEW" 27 android:data="http://www.google.com/" 28 /> 29 <categories android:name="android.shortcut.conversation" /> 30 <categories android:name="android.shortcut.media" /> 31 </shortcut> 32 <shortcut 33 android:shortcutId="manifest-shortcut-2" 34 android:enabled="true" 35 android:icon="@drawable/icon2" 36 android:shortcutShortLabel="@string/shortcut_short_text2" 37 android:shortcutLongLabel="@string/shortcut_long_text2" 38 android:shortcutDisabledMessage="@string/shortcut_disabled_message2" 39 > 40 <intent 41 android:action="android.intent.action.DIAL" 42 android:data="tel:555" 43 /> 44 <categories android:name="android.shortcut.conversation" /> 45 </shortcut> 46 </shortcuts> 47