Wednesday, February 26, 2014

Guide: Changing Png , left and centering the clock

By Zion Near on Monday, October 14, 2013 at 7:36pm
  • Introduction
    This guide show where to find in the codes in xml to change the png or color you want to change and centering the clock. Im sorry if you dont understand this guide, if it helps you then im glad :)


===================================================

  • CHANGING PNG

  • this ss shows statusbar with number
http://prntscr.com/1f4hl0

http://prntscr.com/1f4ibt


  •  XML guide
  zzz1 = 1
  zzz3 = 3
  zzz4 = 4
  zzz5 = 5
  zzz6 = 6
  zzz7 = 7

  • zzz1 is located in status_bar_tracking.xml

ss:   http://prntscr.com/1f4kgs

you can use png to use as background by changing android:background="@drawable/name_of_png" then add the png in SystemUI.apk\res\drawable-ldpi or change by using color codes ex. android:background="#ff000000"
  • zzz3 , zzz4 and zzz5 is located in status_bar_expanded.xml 

ss:    http://prntscr.com/1f4lmj

you can use png to use as background by changing android:background="@drawable/name_of_png" then add the png in SystemUI.apk\res\drawable-ldpi or change by using color codes ex. android:background="#ff000000"

  • zzz6 and zzz7 is located in status_bar.xml

ss:     http://prntscr.com/1f4mbz

ss:    http://prntscr.com/1f4mmj


you can use png to use as background by changing android:background="@drawable/name_of_png" then add the png in SystemUI.apk\res\drawable-ldpi or change by using color codes ex. android:background="#ff000000"
==========================================


  • CENTER CLOCK
first open status_bar.xml using notepad++ and look for this line

ss:  http://prntscr.com/1fhhp4


delete the whole line

then find this line

 xmlns:android="http://schemas.android.com/apk/res/android">

then paste this line

link: https://dl.dropboxusercontent.com/u/95707632/aw.txt

so it should look like this (the one with the red mark at top)

ss: http://prntscr.com/1fhj2f

to adjust the font size of the clock, edit the number in this line

android:textSize="15.5sp"

NOTE: After centering clock you need to change the background of the media scanning to avoid overlapping with the clock

 Open status_bar.xml and find the line zzz7

ss: http://prntscr.com/1f4mmj

edit android:background="blah blah" to android:background="#ff000000" this hex code will make the bg black or you can make your own bg by making it android:background="@drawable/name_of_png" then add the png in SystemUI.apk\res\drawable-ldpi

  • LEFT CLOCK
download the link below then copy the line inside

LINK: https://dl.dropboxusercontent.com/u/95707632/line.txt

then paste it under

    LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent" 

it should look like this

SS: https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-frc3/1461806_747218531961063_226757366_n.jpg

Credits: Sir COn Fariña, Zion Near and XDA 

No comments:

Post a Comment