launcher的屏数修改
来源:互联网 发布:识字软件下载 编辑:程序博客网 时间:2024/06/06 16:26
对横屏修改:launcher\res\layout-land\launcher.xml
对竖屏修改:launcher\res\layout-port\launcher.xml
修改下列代码
以下代码包含几次就是几屏了,例如10屏
<include android:id="@+id/cell1" layout="@layout/workspace_screen" />
<include android:id="@+id/cell2" layout="@layout/workspace_screen" />
<include android:id="@+id/cell3" layout="@layout/workspace_screen" />
<include android:id="@+id/cell4" layout="@layout/workspace_screen" />
<include android:id="@+id/cell5" layout="@layout/workspace_screen" />
<include android:id="@+id/cell6" layout="@layout/workspace_screen" />
<include android:id="@+id/cell7" layout="@layout/workspace_screen" />
<include android:id="@+id/cell8" layout="@layout/workspace_screen" />
<include android:id="@+id/cell9" layout="@layout/workspace_screen" />
<include android:id="@+id/cell10" layout="@layout/workspace_screen" />
对竖屏修改:launcher\res\layout-port\launcher.xml
修改下列代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!-- The workspace contains 5 screens of cells -->
<
com.android.launcher2.Workspace
android:id
=
"@+id/workspace"
android:layout_width
=
"match_parent"
android:layout_height
=
"match_parent"
android:scrollbars
=
"horizontal"
android:fadeScrollbars
=
"true"
launcher:defaultScreen
=
"2"
>
<
include
android:id
=
"@+id/cell1"
layout
=
"@layout/workspace_screen"
/>
<
include
android:id
=
"@+id/cell2"
layout
=
"@layout/workspace_screen"
/>
<
include
android:id
=
"@+id/cell3"
layout
=
"@layout/workspace_screen"
/>
<
include
android:id
=
"@+id/cell4"
layout
=
"@layout/workspace_screen"
/>
<
include
android:id
=
"@+id/cell5"
layout
=
"@layout/workspace_screen"
/>
</
com.android.launcher2.Workspace
>
以下代码包含几次就是几屏了,例如10屏
<include android:id="@+id/cell1" layout="@layout/workspace_screen" />
<include android:id="@+id/cell2" layout="@layout/workspace_screen" />
<include android:id="@+id/cell3" layout="@layout/workspace_screen" />
<include android:id="@+id/cell4" layout="@layout/workspace_screen" />
<include android:id="@+id/cell5" layout="@layout/workspace_screen" />
<include android:id="@+id/cell6" layout="@layout/workspace_screen" />
<include android:id="@+id/cell7" layout="@layout/workspace_screen" />
<include android:id="@+id/cell8" layout="@layout/workspace_screen" />
<include android:id="@+id/cell9" layout="@layout/workspace_screen" />
<include android:id="@+id/cell10" layout="@layout/workspace_screen" />
- launcher的屏数修改
- launcher的屏数修改
- launcher修改--修改launcher的屏幕数
- launcher修改--修改launcher的屏幕数
- Android源码之Launcher修改---修改Launcher的主屏幕的屏幕数
- android 1.6 launcher研究之修改worksapce上的屏数
- Launcher的修改
- Launcher的修改
- 将原生的Launcher修改成类似MiUI的Launcher
- 修改Launcher
- Launcher修改
- 修改Launcher应用程序列表的背景
- launcher界面下google文件夹的修改
- android launcher的修改与制作
- launcher修改--launcher架构解析
- launcher修改--launcher架构解析
- launcher修改--launcher架构解析
- launcher修改--launcher架构解析
- Android 学习笔记一
- serverlet笔记,留着慢慢看!
- fedora14安装后进入不了win7的问题
- zoj 1045
- 嵌入式培训——嵌入式学习步骤及建议
- launcher的屏数修改
- 说出Servlet的生命周期,并说出Servlet和CGI的区别
- 基于jquery的表单验证插件,有兴趣请来指点一二
- linux下QT环境搭建
- Android 学习需要的知识
- 冒泡算法 鸡尾酒算法 插入排序
- [转]Ultra Fractal教程系列22——如何使用图层05——关于融合模式的学习
- 【动画部大史记—事件篇——演讲比赛——未来】
- 在Telerik for silverlight控件radtreeview中如何选中先后、兄弟、父母节点