October 22, 2014, 05:40:23 PM

Author Topic: How to make center clock in statusbar  (Read 6921 times)

Keval

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Receive: 389
  • Posts: 833
  • Stay Invincible :P
    • View Profile
How to make center clock in statusbar
« on: April 09, 2013, 11:50:57 PM »
CENTER CLOCK IN STATUS BAR

REQUIREMENTS :-

APKTOOL (DOWNLOAD FROM HERE)
COMMON KNOWLEDGE REGARDING APKTOOL (HERE IS TUTORIAL)
NOTEPAD ++ (DOWNLOAD FROM HERE)
AND MOST IMPORTANT LITTLE BIT MIND :p


NOW COPY UR SYSTEMUI.APK TO THE APKTOOL FOLDER WHICH U NEED TO EDIT...
(RIGHT CLICK ON IMAGE AND CLICK VIEW IMAGE IF U CANT SEE IT CLEARLY)
-->NOW CLICK SHIFT + LEFT CLICK ANYWHERE ON UR WINDOW AND CLICK ON OPEN COMMAND WINDOW HERE:-

-->NOW DECOMPILE UR SYSTEMUI.APK (EX- apktool d SystemUI.apk)



-->NOW open ur decompiled folder...and go to res/layout/

--> open status_bar.xml using notepad++



--> now u'll see something like this (SS is taken from stock systemui.apk of micromax a57)

--> now find this type of line which stats from this <com.android.systemui.statusbar.Clock ******
--> delete that line..


--> now add this line at top (before <linear layout> code and after xmlns:android="http://schemas.android.com/apk/res/android">)  :-
 <com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textColor="#ff33b5e5" android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />



u can modify color in above line which represnt color of clock text..i've used nevy blue...
-->Now save it

Recompile it...and push it to ur system :) u'll get center clock :)



N if this file apk will not work...replace meta-inf folder and android-menifist.xml from ur original apk to ur new apk...

But i suggest u to remove Network icon and no signal icon from status bar to prevent overlaping...and i prefer 140 lcd density :)



Hit thank u button for ME if u like this post :D





« Last Edit: April 09, 2013, 11:53:18 PM by keval_dk »

Sasa Kovacic

  • Hero Member
  • *****
  • Thank You
  • -Receive: 206
  • Posts: 642
    • View Profile
Re: How to make center clock in statusbar
« Reply #1 on: April 09, 2013, 11:59:47 PM »
good tutorial thx bro  ;D
(Y)

Keval

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Receive: 389
  • Posts: 833
  • Stay Invincible :P
    • View Profile
Re: How to make center clock in statusbar
« Reply #2 on: April 10, 2013, 12:14:40 AM »
good tutorial thx bro  ;D
(Y)

thnxx and wlcm :P :)

Sukaran Golani

  • Full Member
  • ***
  • Thank You
  • -Receive: 120
  • Posts: 167
  • Developer
    • View Profile
Re: How to make center clock in statusbar
« Reply #3 on: April 10, 2013, 12:17:21 AM »
Good tutorial for newbies keep it up  ;D

Keval

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Receive: 389
  • Posts: 833
  • Stay Invincible :P
    • View Profile
Re: How to make center clock in statusbar
« Reply #4 on: April 10, 2013, 12:21:40 AM »
Good tutorial for newbies keep it up  ;D

Thnxx :)

Dhinesh Kumar

  • Sr. Member
  • ****
  • Thank You
  • -Receive: 195
  • Posts: 310
    • View Profile
    • DDWORLDS
Re: How to make center clock in statusbar
« Reply #5 on: April 11, 2013, 06:15:43 AM »
Nice tutorial i will try

Keval

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Receive: 389
  • Posts: 833
  • Stay Invincible :P
    • View Profile
Re: How to make center clock in statusbar
« Reply #6 on: April 11, 2013, 01:15:29 PM »
Nice tutorial i will try

thnxx..n must change dpi to 140 coz its very suitable to center clock..
or u'll get overlap problem

Dhinesh Kumar

  • Sr. Member
  • ****
  • Thank You
  • -Receive: 195
  • Posts: 310
    • View Profile
    • DDWORLDS
Re: How to make center clock in statusbar
« Reply #7 on: April 12, 2013, 07:45:06 PM »
Nice tutorial i will try

thnxx..n must change dpi to 140 coz its very suitable to center clock..
or u'll get overlap problem

Is it looks good only if we have 140dpi ...ok i will try this too

Keval

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Receive: 389
  • Posts: 833
  • Stay Invincible :P
    • View Profile
Re: How to make center clock in statusbar
« Reply #8 on: April 12, 2013, 09:26:45 PM »
Nice tutorial i will try

thnxx..n must change dpi to 140 coz its very suitable to center clock..
or u'll get overlap problem

Is it looks good only if we have 140dpi ...ok i will try this too

not compulsory :)

Dhinesh Kumar

  • Sr. Member
  • ****
  • Thank You
  • -Receive: 195
  • Posts: 310
    • View Profile
    • DDWORLDS
Re: How to make center clock in statusbar
« Reply #9 on: April 12, 2013, 09:32:59 PM »
Nice tutorial i will try

thnxx..n must change dpi to 140 coz its very suitable to center clock..
or u'll get overlap problem

Is it looks good only if we have 140dpi ...ok i will try this too

not compulsory :)

Oh ! If we removed G and 3g symbols still it will overlap on 160dpi ??

Keval

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Receive: 389
  • Posts: 833
  • Stay Invincible :P
    • View Profile
Re: How to make center clock in statusbar
« Reply #10 on: April 12, 2013, 10:35:53 PM »
Nice tutorial i will try

thnxx..n must change dpi to 140 coz its very suitable to center clock..
or u'll get overlap problem

Is it looks good only if we have 140dpi ...ok i will try this too

not compulsory :)

Oh ! If we removed G and 3g symbols still it will overlap on 160dpi ??
no overlap at normal status..bt if hv blutooth on,wifi,alarm...den it'll overlap in 160dpi...
btw mostly u can see center clock in hdpi devices..n i hv also checked in some mdpi devices..dey changed thier dpi to fit everything :P

Dhinesh Kumar

  • Sr. Member
  • ****
  • Thank You
  • -Receive: 195
  • Posts: 310
    • View Profile
    • DDWORLDS
Re: How to make center clock in statusbar
« Reply #11 on: April 13, 2013, 10:20:40 AM »
Nice tutorial i will try

thnxx..n must change dpi to 140 coz its very suitable to center clock..
or u'll get overlap problem

Is it looks good only if we have 140dpi ...ok i will try this too

not compulsory :)

Oh ! If we removed G and 3g symbols still it will overlap on 160dpi ??
no overlap at normal status..bt if hv blutooth on,wifi,alarm...den it'll overlap in 160dpi...
btw mostly u can see center clock in hdpi devices..n i hv also checked in some mdpi devices..dey changed thier dpi to fit everything :P

Thank you.... :)

abhinav.s3a

  • Full Member
  • ***
  • Thank You
  • -Receive: 113
  • Posts: 242
  • I am the one.... :)
    • View Profile
    • ::Load It Down::
Re: How to make center clock in statusbar
« Reply #12 on: April 14, 2013, 09:12:59 AM »
 ;D gud guide bro...its nice to try
Abhi Nav
ROM: GingerNightROM v1.0
TOG_MOD_By_Abhi
First to port toggles for A56/A57
First to add Swipe2Remove Notifications

Keval

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Receive: 389
  • Posts: 833
  • Stay Invincible :P
    • View Profile
Re: How to make center clock in statusbar
« Reply #13 on: April 14, 2013, 11:21:49 AM »
;D gud guide bro...its nice to try

thnxx ;)

prashant

  • Newbie
  • *
  • Thank You
  • -Receive: 12
  • Posts: 23
    • View Profile
Re: How to make center clock in statusbar
« Reply #14 on: April 15, 2013, 11:17:29 PM »
gud tuto. keep it up..

 


This forum is provided by DroidBeans.com - your source for satisfying your craving for Android news, reviews, apps, and games.