在Launcher界面添加快捷图标
在packages/apps/Launcher2/res/xml-sw720dp/default_workspace.xml
<favorite
launcher:packageName="com.android.gallery3d"
launcher:className="com.android.gallery3d.app.Gallery"
launcher:screen="2"
launcher:x="1"
launcher:y="3" />
获取应用的包名和主Activity类名,根据需求放置在相应的屏幕,坐标自己调
在packages/apps/Launcher2/res/xml-sw720dp/default_workspace.xml
<favorite
launcher:packageName="com.android.gallery3d"
launcher:className="com.android.gallery3d.app.Gallery"
launcher:screen="2"
launcher:x="1"
launcher:y="3" />
获取应用的包名和主Activity类名,根据需求放置在相应的屏幕,坐标自己调
本文介绍如何在Launcher2中为特定应用程序添加快捷图标,包括指定应用的包名、主Activity类名及图标在桌面上的位置。
738

被折叠的 条评论
为什么被折叠?



