What is the method of Android preset desktop customization and power icon modification?
This article mainly introduces the Android preset desktop customization and electricity icon modification method is what the related knowledge, the content is detailed and easy to understand, the operation is simple and fast, has a certain reference value, I believe that everyone after reading this Android preset desktop customization and electricity icon modification method is what the article will have a harvest, let's take a look at it.
Currently, google is used on the desktop and Launche2 is used by default. The source code is located at: sdk/packages/apps/Launcher2.
Desktop shortcuts are modified in: sdk/packages/apps/Launcher2/res/xml/default_workspace.xml. As shown in the figure:
Where:
Launcher:screen= "1": which screen?
Launcher:x= "0"
Launcher:y= "3" >
Launcher:spanX= "4"
Launcher:spanY= "1" Widget occupies XUnip y
The Favorite item is a desktop shortcut, and the appwidget item is set to widget
The battery icon is located in / frameworks/base/core/res/res/drawable-mdpi/. If you want to change the icon that displays the power, you can simply replace it with an icon of the same name with the appropriate resolution.
The version change is as follows:
This is the end of the article on "what is the method of customizing the Android preset desktop and modifying the power icon?" Thank you for reading! I believe that everyone has a certain understanding of "what is the method of Android preset desktop customization and power icon modification". If you want to learn more, you are welcome to follow the industry information channel.