定制化开发过程中,需要对launcher3 进行定制,客户要求去掉 hotseat 五个图标,就是需要去掉hotseat功能
实现思路:
-
去掉hotseat布局显示
2.DeviceProfile 里面去掉关于hotseat的高度和 间距
3.屏蔽加载HotSeat的相关功能
实现步骤
- 去掉hotseat布局显示
diff --git a/packages/apps/Launcher3/res/layout/launcher.xml b/packages/apps/Launcher3/res/layout/launcher.xml
old mode 100644
new mode 100755
index 7d3f09adbc..e6fcbd9201
--- a/packages/apps/Launcher3/res/layout/launcher.xml
+++ b/packages/apps/Launcher3/res/layout/launcher.xml
@@ -43,7 +43,8 @@
<!-- DO NOT CHANGE THE ID -->
<include
android:id=