1.打开packages/apps/Launcher3/res/xml/default_workspace_6x5.xml文件 2.將文件中的內容注释 注:注释使用<!-- --> diff --git a/packages/apps/Launcher3/res/xml/default_workspace_6x5.xml b/packages/apps/Launcher3/res/xml/default_workspace_6x5.xml index b078cfd7f8..6ab24498e7 100644 --- a/packages/apps/Launcher3/res/xml/default_workspace_6x5.xml +++ b/packages/apps/Launcher3/res/xml/default_workspace_6x5.xml @@ -18,6 +18,7 @@ <!-- Hotseat (We use the screen as the position of the item in the hotseat) --> <!-- Mail Calendar Gallery Store Internet Camera --> +<!-- <resolve launcher:container="-101" launcher:screen="0" @@ -62,8 +63,9 @@ launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_BROWSER;end" /> <favorite launcher:uri="http://www.example.com/" /> </resolve> - +--> <!-- Resolve camera intent if GoogleCamera is not available e.g. on emulator --> +<!-- <resolve launcher:container="-101" launcher:screen="5" @@ -72,5 +74,5 @@ <favorite launcher:uri="#Intent;action=android.media.action.STILL_IMAGE_CAMERA;end" /> <favorite launcher:uri="#Intent;action=android.intent.action.CAMERA_BUTTON;end" /> </resolve> - +--> </favorites> 3.重新编译源码,烧写查看效果 |
|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )
GMT+8, 2024-11-22 17:41
Powered by Discuz! X3.4
© 2001-2013 Comsenz Inc.