删除android系统自带锁屏,导航栏、状态栏、搜索框

删除导航栏
frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java 
line 641 行 注释掉 // addNavigationBar();


删除状态栏
frameworks/base/core/res/res/values/dimens.xml
line 34
24dp
改为
0dp


删除系统搜索框
packages/apps/Launcher3/res/values/dimens.xml
line 74 
48dp
改为
0dp


删除谷歌搜索框
packages/apps/Launcher3/src/com/android/launcher3/Launcher.java
 
line 4055 
if (widgetId != -1) {
改为
if (widgetId != -1 && false) {


line 4069  注释掉
//mSearchDropTargetBar.addView(mQsb);


删除系统锁屏
frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java 
line 2519
 if (SystemProperties.getBoolean("ro.lockscreen.disable.default", false) == true) 
改为

 if (SystemProperties.getBoolean("ro.lockscreen.disable.default", true) == true) {


修改home键
把以下文件(下面全部文件)中的"android.intent.category.HOME"字符串
全部改为"com.vtech.innotab.HOME"


./development/samples/Home/AndroidManifest.xml
./development/apps/SdkSetup/AndroidManifest.xml
./frameworks/base/tools/aapt/Command.cpp
./frameworks/base/api/system-current.txt
./frameworks/base/api/current.txt
./frameworks/base/core/java/android/content/Intent.java
./packages/apps/Provision/AndroidManifest.xml
./packages/apps/Settings/AndroidManifest.xml
./packages/apps/Launcher2/AndroidManifest.xml
./packages/apps/Launcher3/AndroidManifest.xml
./packages/apps/Launcher3/AndroidManifest.xml
./prebuilts/sdk/api/1.xml
./prebuilts/sdk/api/2.xml
./prebuilts/sdk/api/4.xml
./prebuilts/sdk/api/6.xml
./prebuilts/sdk/api/7.xml
./prebuilts/sdk/api/8.xml
./prebuilts/sdk/api/9.xml
./prebuilts/sdk/api/10.xml
./prebuilts/sdk/api/11.xml
./prebuilts/sdk/api/12.xml
./prebuilts/sdk/api/13.xml
./prebuilts/sdk/api/23.txt
./prebuilts/sdk/system-api/23.txt

你可能感兴趣的:(android)