LP Sense UI is a very good Android launcher with a high imitation of HTC Sense.
Recently, I downloaded the Chinese version on a website and liked it after installation. However, it is found that it is displayed in the drawer box compared to helauncher. After clicking the button, the page is displayed. However, you can press the Home key on your mobile phone. So I want to remove it from the menu drawer.
I checked some information and found some clues in androidmanifest. xml after decompiling with apktool:
<Application Android: Label = "LP Sense UI" Android: icon = "@ drawable/icon" Android: Name = "launcherapplication" Android: Process = "android. process. acore "> <br/> <activity Android: theme =" @ style/theme "Android: Name =" com. allomod. lpsense. launcher "Android: cleartaskonlaunch =" true "Android: statenotneeded =" true "Android: launchmode =" singletask "Android: windowsoftinputmode = "adjustpan"> <br/> <intent-filter> <br/> <Action Android: Name = "android. intent. action. main "/> <br/> <category Android: Name =" android. intent. category. launcher "/> <br/> <category Android: Name =" android. intent. category. home "/> <br/> <category Android: Name =" android. intent. category. default "/> <br/> <category Android: Name =" android. intent. category. monkey "/> <br/> </intent-filter> <br/> </activity> <br/> <! --... ---> <Br/> </Application>
Compared with the file of the same name in helauncher, we found that there is one more sentence:
<Category Android: Name = "android. Intent. Category. launcher"/>
So I removed it, re-compiled it using apktool, and installed it with a signature. It was removed from the menu drawer. Haha
Important:
If you set the LP Sense UI as the default desktop, you need to clear the default value before re-installation to prevent unexpected events. The method is:
Set-> application-> Manage application-> LP Sense UI-> clear default settings
Others:
The background of the LP Sense UI menu drawer has always been black. I originally wanted to change it to the background of Android native Launcher:
Android: Background = "@ com. Android. Launcher: drawable: pattern_carbon_fiber_dark"
However, it seems that Android: shareduserid = "android. uid. Shared" is not easy to use because the mobile phone is often rooted.
Modify the color only when it is changed to a single background color.
Res/Layout-land/all_resource_grid.xml
Res/Layout-Port/all_resource_grid.xml
Res/Layout-land/application_boxed.xml
Res/Layout-Port/application_boxed.xml
Add
<Com. allomod. lpsense. allcategory gridview Android: Background = "#525252"/> <br/> <com. allomod. lpsense. appview Android: Background = "#525252"/>
Note:
Reference: http://zengxx1989.iteye.com/blog/522434