1.概述
在10.0的系统产品开发中,在最近项目需求的需要,hotseat效果要仿ios一样不需要全屏的效果 居中显示就行了,所以就要看hotseat的具体布局显示了
效果图如下:
2.仿ios的hotseat效果修改hotseat样式的核心类
packages/apps/Launcher3/res/layout/launcher.xml
/packages/apps/Launcher3/src/com/android/launcher3/Launcher.java
3.仿ios的hotseat效果修改hotseat样式的核心功能分析和实现
在Launcher3中主页面的布局是在laucher.xml中,所以
接下来先看hotseat布局 在laucher.xml中
3.1laucher.xml相关源码分析
<com.android.launcher3.LauncherRootView