launcher的屏数修改
来源:互联网 发布:linux创建用户指定id 编辑:程序博客网 时间:2024/06/05 05:38
对横屏修改: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架构解析
- 人力资源管理师:未来十年里哪几个行业最有潜力
- MFC点点滴滴——列表框使用list control(总结1)
- 百度、新浪、Mixi、Apache社区赞助的开源key-value分布式存储系统
- PL/SQL
- ubuntu 和windows的不同让我很是纠结呀!!
- launcher的屏数修改
- Launcher定制
- web php 杂记
- 编译linux内核
- fatal error LNK1202错误问题解决方案
- DSP( TMS320CC6455)和Xilinx FPGA (spartan6 100T)
- 情结嵌入式
- Ubuntu 常见问题
- Linux下的Source Insight+Ubuntu 10.04使用Wine安装Source