Launcher- workspace 的layout
Launcher- workspace 的每个屏幕的layout是什么呢?
是CellLayout.
为什么是CellLayout,在哪里表明了的呢?
在launcher.xml:
<com.android.launcher.Workspace android:id="@+id/workspace" android:layout_width="fill_parent" android:layout_height="fill_parent" launcher:defaultScreen="1">
<include android:id="@+id/cell1" layout="@layout/workspace_screen" />
<include android:id="@+id/cell2" layout="@layout/workspace_screen" />
</com.android.launcher.Workspace>
layout/workspace_screen里: <com.android.launcher.CellLayout 上来就是这个了。