Document the Story of Your Social Life with 8tory

The different forms of social media are growing every day. It’s hard to imagine a day … more

Make Calling Your Loved Ones Easier and Cheaper this Diwali

Diwali, or Deepawali as some Indians call it, is the pride and joy of Indian … more

Big Android BBQ 5.0 Recap – XDA TV

This fifth annual Big Android BBQ has come and gone. The speakers have spoke, the sponsors have … more

Microsoft to Counter “OK Google” with Bing Torque

When Microsoft is making apps for Android, users should be aware that something … more
Post Reply

[GUIDE] Change DateView format (Now with carrier name)

OP mariozawa

15th May 2014, 08:45 AM   |  #1  
mariozawa's Avatar
OP Recognized Themer
Flag Malolos, Bulacan
Thanks Meter: 790
 
378 posts
Join Date:Joined: Jul 2012
Donate to Me
More
What is this?
Just a DateView mod

What is DateView?
DateView is the date in our statusbar that shows when we expand our statusbar Many of us removing DateView in our statusbar maybe because it is annoying so lets make it cool

How to use
Download the attached DateView smali files.
Extract it and move to SystemUI/smali/com/android/systemui/statusbar (or just simply replace the DateView smalis)

To change the DateView format find
Code:
const-string v4, "E"
And change the "E" to any Java date format
(Not available for Carrier X DateView.smali)

To change the DateView to Carrier Name just download and extract Carrier X DateView.smali

Screenshot by @mohawk97
He use

Code:
const-string v4, "M"


To display the time use this


Code:
const-string v4, "h:mm a"
For more Date formats go here
http://www.tutorialspoint.com/java/java_date_time.htm

This is the screenshot for Carrier X DateView



Credits
PotatoInc
Our friends from Lenox Evolution
You baby
Attached Thumbnails
Click image for larger version

Name:	10336590_506181316154952_2316060771644851069_n.jpg
Views:	1480
Size:	10.3 KB
ID:	2744689   Click image for larger version

Name:	10370592_506295436143540_1678846224_n.jpg
Views:	689
Size:	8.4 KB
ID:	2746831  
Attached Files
File Type: zip DateViewSmali.zip - [Click for QR Code] (2.1 KB, 30 views)
File Type: zip DateView X Carrier.zip - [Click for QR Code] (2.2 KB, 16 views)
Last edited by mariozawa; 16th May 2014 at 12:59 PM.
The Following 5 Users Say Thank You to mariozawa For This Useful Post: [ View ]
15th May 2014, 08:47 AM   |  #2  
Member
Flag Perak
Thanks Meter: 51
 
60 posts
Join Date:Joined: Mar 2014
More
Quote:
Originally Posted by mariozawa

What is this?
Just a DateView mod

What is DateView?
DateView is the date in our statusbar that shows when we expand our statusbar Many of us removing DateView in our statusbar maybe because it is annoying so lets make it cool

How to use
Download the attached DateView smali files.
Extract it and move to SystemUI/smali/com/android/systemui/statusbar (or just simply replace the DateView smalis)

To change the DateView format find
Code:
const-string v4, "E"
And change the "E" to any Java date format

Screenshot by @mohawk97
He use

Code:
const-string v4, "M"


To display the time use this




Code:
const-string v4, "h:mm a"
For more Date formats go here
http://www.tutorialspoint.com/java/java_date_time.htm


Credits
PotatoInc
Our friends from Lenox Evolution
You baby




Reserve
15th May 2014, 11:31 AM   |  #3  
Himan Boro's Avatar
Senior Member
Flag Guwahati
Thanks Meter: 63
 
497 posts
Join Date:Joined: Jul 2013
More
How to remove date ??
15th May 2014, 11:45 AM   |  #4  
marcussmith2626's Avatar
Recognized Contributor
Flag London
Thanks Meter: 2,437
 
4,533 posts
Join Date:Joined: Jul 2012
Quote:
Originally Posted by Himan Boro

How to remove date ??

I presume by deleting the line that starts

Code:
<com.android.systemui.statusbar.DateView
from status_bar.xml
15th May 2014, 03:11 PM   |  #5  
Senior Member
Flag Kiev
Thanks Meter: 24
 
178 posts
Join Date:Joined: Oct 2013
More
I use Potato Clock Mods for this
16th May 2014, 07:56 AM   |  #6  
HellBoy.007's Avatar
Senior Member
Thanks Meter: 58
 
142 posts
Join Date:Joined: Sep 2013
More
Quote:
Originally Posted by the_vanya1

I use Potato Clock Mods for this

Potato Clock Mod and this is different.

The first lets you change how the clock is displayed in the status bar. The second allows you to change how the date appears when the status bar is expanded. Most developers remove the date altogether though.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Galaxy Y GT-S5360 General by ThreadRank