1.概述
在10.0的产品定制化开发过程中,需要对launcher3 进行定制,产品要求去掉 hotseat 五个图标,就是需要去掉hotseat功能
2.Launcher3 去掉hotseat功能的核心类
packages/apps/Launcher3/res/layout/launcher.xml
packages/apps/Launcher3/src/com/android/launcher3/DeviceProfile.java
packages/apps/Launcher3/src/com/android/launcher3/Workspace.java
3.Launcher3 去掉hotseat功能的核心功能分析和实现
实现思路:
- 去掉hotseat布局显示
2.DeviceProfile 里面去掉关于hotseat的高度和 间距
3.屏蔽加载HotSeat的相关功能
实现步骤
3.1 去掉hotseat布局显示
diff --git a/package