Android launcher cannot be displayed in the menu drawer

Source: Internet
Author: User

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

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.