Android4.0.3 Launcher源码研究 1

来源:互联网 发布:网络金融理财管理 编辑:程序博客网 时间:2024/05/17 15:02
  1. <DragLayer>  
  2.     <WorkSpace>  
  3.         <CellLayout>  
  4.         <CellLayout>  
  5.         <CellLayout>  
  6.         <CellLayout>  
  7.         <CellLayout>  
  8.     < /WorkSpace>  
  9.     <include layout="@layout/hotseat" android:id="@+id/hotseat"/>  
  10.     <include android:id="@+id/qsb_bar" layout="@layout/qsb_bar" />  
  11.     <include layout="@layout/apps_customize_pane"  android:id="@+id/apps_customize_pane" />  
  12.     <include layout="@layout/workspace_cling"  android:id="@+id/workspace_cling"/>  
  13.     <include layout="@layout/folder_cling" android:id="@+id/folder_cling"/>  
  14. </ DragLayer > 





 <activity
            android:name="com.android.lizardmia_launcher2.Launcher"
            android:launchMode="singleTask"
            android:clearTaskOnLaunch="true"
            android:stateNotNeeded="true"
            android:theme="@style/Theme"
            android:windowSoftInputMode="adjustPan"
            android:screenOrientation="nosensor">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.HOME" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.MONKEY"/>
            </intent-filter>
        </activity>





  <activity
            android:name="com.android.lizardmia_launcher2.WallpaperChooser"
            style="@style/Theme.WallpaperPicker"
            android:label="@string/pick_wallpaper"
            android:icon="@drawable/ic_launcher_wallpaper"
            android:finishOnCloseSystemDialogs="true"
            android:process=":wallpaper_chooser">
            <intent-filter>
                <action android:name="android.intent.action.SET_WALLPAPER" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <meta-data android:name="android.wallpaper.preview"
                android:resource="@xml/wallpaper_picker_preview" />
        </activity>





<activity android:name="com.android.lizardmia_launcher2.RocketLauncher"
            android:label="@string/dream_name"
            android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.DREAM" />
            </intent-filter>
        </activity>




 <receiver
            android:name="com.android.lizardmia_launcher2.InstallShortcutReceiver"
            android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
            <intent-filter>
                <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
            </intent-filter>
        </receiver>

        <!-- Intent received used to uninstall shortcuts from other applications -->
        <receiver
            android:name="com.android.lizardmia_launcher2.UninstallShortcutReceiver"
            android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
            <intent-filter>
                <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
            </intent-filter>
        </receiver>





<provider
            android:name="com.android.lizardmia_launcher2.LauncherProvider"
            android:authorities="com.android.launcher2.lizardmia_settings"
            android:writePermission="com.android.launcher.permission.WRITE_SETTINGS"
            android:readPermission="com.android.launcher.permission.READ_SETTINGS" />

原创粉丝点击