目前桌面使用google默認(rèn)使用Launche2,源代碼位置為:sdk/packages/apps/Launcher2,
桌面快捷方式在:sdk/packages/apps/Launcher2/res/xml/default_workspace.xml中修改。如圖:
其中:
launcher:screen="1"為:第幾屏;
launcher:x="0"
launcher:y="3" 為:x/y坐標(biāo);
launcher:spanX="4"
launcher:spanY="1" Widget占用x/y;
Favorite項(xiàng)為桌面快捷方式,appwidget項(xiàng)為widget設(shè)置;
電池圖標(biāo)位置位于/frameworks/base/core/res/res/drawable-mdpi/中,如果希望更換顯示電量的圖標(biāo),直接用相應(yīng)分辨率的同名圖標(biāo)替換即可。
版本更改如下代碼:
更多詳情點(diǎn)擊:http://chipspark.com/