Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2009 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 
     17 <favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3">
     18     <!-- Far-left screen [0] -->
     19 
     20     <!-- Left screen [1] -->
     21     <appwidget
     22         launcher:packageName="com.android.settings"
     23         launcher:className="com.android.settings.widget.SettingsAppWidgetProvider"
     24         launcher:screen="1"
     25         launcher:x="0"
     26         launcher:y="3"
     27         launcher:spanX="4"
     28         launcher:spanY="1" />
     29 
     30     <!-- Middle screen [2] -->
     31     <appwidget
     32         launcher:packageName="com.android.deskclock"
     33         launcher:className="com.android.alarmclock.AnalogAppWidgetProvider"
     34         launcher:screen="2"
     35         launcher:x="1"
     36         launcher:y="0"
     37         launcher:spanX="2"
     38         launcher:spanY="2" />
     39     <favorite
     40         launcher:packageName="com.android.camera"
     41         launcher:className="com.android.camera.Camera"
     42         launcher:screen="2"
     43         launcher:x="0"
     44         launcher:y="3" />
     45 
     46     <!-- Right screen [3] -->
     47     <favorite
     48         launcher:packageName="com.android.gallery3d"
     49         launcher:className="com.android.gallery3d.app.Gallery"
     50         launcher:screen="3"
     51         launcher:x="1"
     52         launcher:y="3" />
     53     <favorite
     54         launcher:packageName="com.android.settings"
     55         launcher:className="com.android.settings.Settings"
     56         launcher:screen="3"
     57         launcher:x="2"
     58         launcher:y="3" />
     59 
     60     <!-- Far-right screen [4] -->
     61 
     62     <!-- Hotseat (We use the screen as the position of the item in the hotseat) -->
     63     <!-- Dialer, Contacts, [All Apps], Messaging, Browser -->
     64     <resolve
     65         launcher:container="-101"
     66         launcher:screen="0"
     67         launcher:x="0"
     68         launcher:y="0" >
     69         <favorite launcher:uri="#Intent;action=android.intent.action.DIAL;end" />
     70         <favorite launcher:uri="tel:123" />
     71         <favorite launcher:uri="#Intent;action=android.intent.action.CALL_BUTTON;end" />
     72 
     73         <favorite
     74             launcher:packageName="com.android.dialer"
     75             launcher:className="com.android.dialer.DialtactsActivity" />
     76     </resolve>
     77 
     78     <favorite
     79         launcher:packageName="com.android.contacts"
     80         launcher:className="com.android.contacts.activities.PeopleActivity"
     81         launcher:container="-101"
     82         launcher:screen="1"
     83         launcher:x="1"
     84         launcher:y="0" />
     85 
     86     <resolve
     87         launcher:container="-101"
     88         launcher:screen="3"
     89         launcher:x="3"
     90         launcher:y="0" >
     91         <favorite
     92             launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_MESSAGING;end" />
     93         <favorite launcher:uri="sms:" />
     94         <favorite launcher:uri="smsto:" />
     95         <favorite launcher:uri="mms:" />
     96         <favorite launcher:uri="mmsto:" />
     97 
     98         <favorite
     99             launcher:packageName="com.android.mms"
    100             launcher:className="com.android.mms.ui.ConversationList" />
    101     </resolve>
    102     <resolve
    103         launcher:container="-101"
    104         launcher:screen="4"
    105         launcher:x="4"
    106         launcher:y="0" >
    107         <favorite
    108             launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_BROWSER;end" />
    109         <favorite launcher:uri="http://www.example.com/" />
    110 
    111         <favorite
    112             launcher:packageName="com.android.browser"
    113             launcher:className="com.android.browser.BrowserActivity" />
    114     </resolve>
    115 
    116 </favorites>
    117