Clock on the center.
For this we need: (deodexed firmware).
1. Install all by
instructionsfrom uv
sk0t.
2. In ApkTools we copy from the firmware you are editing framework-res, lge-res, LGSystemUI.
3. We need to install a framework for our firmware so that you can disassemble all the system apk
(This operation must be done once for each firmware). Dragging the framework-res.apk lge-res and LGSystemUI files to the apktool-if.cmd file.
4. Now we need a folder LGSystemUI / res / layout. We are looking for a status_bar (.xml) file in it.
Open with the text editor npp.6.5.2.Installer (does not leave after editing any garbage) and after
We insert
<LinearLayout android: gravity = "center" android: orientation = "horizontal" android: layout_width = "fill_parent" android: layout_height = "fill_parent">
<com.android.systemui.statusbar.policy.Clock android: textAppearance = "@ style / TextAppearance.StatusBar.Clock" android: gravity = "center" android: id = "@ id / clock" android: paddingLeft = "0.0dip" android: layout_width = "wrap_content" android: layout_height = "fill_parent" android: singleLine = "true" />
</ LinearLayout>
5. Row
<
/ LinearLayout>
<com.android.systemui.statusbar.policy.Clock android: textAppearance = "@ style / TextAppearance.StatusBar.Clock" android: textSize = "17.0dip" android: textColor = "# ffffffff" android: gravity = "center_vertical" android: id = "@ id / clock" android: layout_width = "wrap_content" android: layout_height = "fill_parent" android: layout_marginRight = "4.0dip" android: singleLine = "true" android: shadowColor = "# ff000000" android: shadowDx = " 0.0 "android: shadowDy =" 0.0 "android: shadowRadius =" 2.0 "lge: textStroke =" @ bool / config_systemui_stroke_effect_text "lge: textStrokeWidth =" 0.5dip "lge: textStrokeColor =" # b2000000 "
xmlns: lge = "http://schemas.android.com/apk/res/com.android.systemui" />
</ LinearLayout>
We do
6. The color is set by android: textColor = "# ffffffff" (insert after android: paddingLeft = "0.0dip").
ffffffff-color code. Color codeshere.7. Size android: textSize = "17.0dip" (insert after paddingLeft = "0.0dip)
8. When changing colors and sizes, it is better to register android: textSize = "17.0dip" android: textColor = "# ffffffff".
We collect (use the latest beta with the already assembled and ready apk after the build), if you use without creating the finished file, then we do everything according to the instructions of the uv. sk0t.
If the odex firmware, then deodex and disassemble by
thisinstructions.
If something is not clear or not, correct it.
Here are the skins with a battery with percentages and transferred hours (stock + root, without mods).
Post has been editedevgenij-ya - 21.02.14, 00:37