Android去掉抽屉
来源:互联网 发布:淘宝七天无理由退货 编辑:程序博客网 时间:2024/05/15 13:03
Android 2.3.3
1:分别注释以下代码
tony@tony-desktop:~/win/pc1013/packages/apps/Launcher2/res/layout-land$ vim launcher.xml
tony@tony-desktop:~/win/pc1013/packages/apps/Launcher2/res/layout-port$ vim launcher.xml
<!--
<com.android.launcher2.HandleView
style="@style/HotseatButton"
android:id="@+id/all_apps_button"
android:layout_centerVertical="true"
android:layout_alignParentRight="true"
android:src="@drawable/all_apps_button"
launcher:direction="vertical"
/>
<ImageView
android:id="@+id/hotseat_left"
style="@style/HotseatButton.Left"
android:layout_below="@id/all_apps_button"
android:src="@drawable/hotseat_phone"
android:onClick="launchHotSeat"
/>
<ImageView
android:id="@+id/hotseat_right"
style="@style/HotseatButton.Right"
android:layout_above="@id/all_apps_button"
android:src="@drawable/hotseat_browser"
android:onClick="launchHotSeat"
/>
-->
2:注释以下代码
tony@tony-desktop:~/win/pc1013/packages/apps/Launcher2/src/com/android/launcher2$ vim Launcher.java
744 /*wgx
745 mHandleView = (HandleView) findViewById(R.id.all_apps_button);
746 mHandleView.setLauncher(this);
747 mHandleView.setOnClickListener(this);
748 mHandleView.setOnLongClickListener(this);
749
750 ImageView hotseatLeft = (ImageView) findViewById(R.id.hotseat_left);
751 hotseatLeft.setContentDescription(mHotseatLabels[0]);
752 hotseatLeft.setImageDrawable(mHotseatIcons[0]);
753 ImageView hotseatRight = (ImageView) findViewById(R.id.hotseat_right);
754 hotseatRight.setContentDescription(mHotseatLabels[1]);
755 hotseatRight.setImageDrawable(mHotseatIcons[1]);
756 */
1595 /*wgx
1596 case R.id.all_apps_button:
1597 if (!isAllAppsVisible()) {
1598 mWorkspace.performHapticFeedback(HapticFeedbackConstants.LONG_PR ESS,
1599 HapticFeedbackConstants.FLAG_IGNORE_VIEW_SETTING);
1600 showPreviews(v);
1601 }
1602 return true;
1603 */
- Android去掉抽屉
- Android 7.0 Launcher3 去掉应用抽屉
- Android 抽屉
- Android 抽屉
- Android 抽屉
- 实现Android 抽屉效果
- android 抽屉功能初试
- android 抽屉 效果
- android抽屉实现
- android下拉抽屉
- android 抽屉效果
- android抽屉实现
- android下拉抽屉
- Android抽屉实现
- android抽屉效果
- android--抽屉效果
- Android 抽屉效果Demo
- android抽屉效果
- 被拒绝,也是一种肯定
- 小心情
- Eclipse CDT配置c++标准库目录(Ubuntu 11.10)
- hdu 1211 RSA
- poj2331 ida*
- Android去掉抽屉
- b/s结构随着技术发展的变化
- android四个基本键
- 动态游标
- fstab文件详细解释
- 严蔚敏--数据结构(C语言版)学习笔记
- Dropbox的创业经历
- DataList初识及实现分页效果11.25
- 培训之路一