Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,812,812 Members 49,122 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
mariozawa
Old
(Last edited by mariozawa; 16th May 2014 at 12:59 PM.)
#1  
mariozawa's Avatar
Recognized Themer - OP
Thanks Meter 781
Posts: 376
Join Date: Jul 2012
Location: Malolos, Bulacan

 
DONATE TO ME
Default [GUIDE] Change DateView format (Now with carrier name)

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:	1418
Size:	10.3 KB
ID:	2744689   Click image for larger version

Name:	10370592_506295436143540_1678846224_n.jpg
Views:	626
Size:	8.4 KB
ID:	2746831  
Attached Files
File Type: zip DateViewSmali.zip - [Click for QR Code] (2.1 KB, 27 views)
File Type: zip DateView X Carrier.zip - [Click for QR Code] (2.2 KB, 15 views)
The Following 5 Users Say Thank You to mariozawa For This Useful Post: [ Click to Expand ]
 
mohawk97
Old
#2  
Member
Thanks Meter 50
Posts: 60
Join Date: Mar 2014
Location: Perak
Quote:
Originally Posted by mariozawa View Post
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
 
Himan Boro
Old
#3  
Himan Boro's Avatar
Senior Member
Thanks Meter 62
Posts: 494
Join Date: Jul 2013
Location: Guwahati
How to remove date ??
 
marcussmith2626
Old
#4  
marcussmith2626's Avatar
Recognized Contributor
Thanks Meter 2,405
Posts: 4,447
Join Date: Jul 2012
Location: London
Quote:
Originally Posted by Himan Boro View Post
How to remove date ??
I presume by deleting the line that starts

Code:
<com.android.systemui.statusbar.DateView
from status_bar.xml

My Work And Threads For Galaxy Y GT-S5360


My PM is not a Question & Answer thread - Dont treat it as such!
 
the_vanya1
Old
#5  
Senior Member
Thanks Meter 19
Posts: 143
Join Date: Oct 2013
Location: Kiev
I use Potato Clock Mods for this
 
HellBoy.007
Old
#6  
HellBoy.007's Avatar
Senior Member
Thanks Meter 58
Posts: 142
Join Date: Sep 2013
Quote:
Originally Posted by the_vanya1 View Post
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.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Sony PS4 Remote Play Ported to All Android Devices

Im pretty sure that every informed gamer out there perked their ears up when Sony came out … more

Change Your Samsung Galaxy S2’s Dialer Background in Real Time

As with anything, if youve looked at something long enough, things can … more

Increase Your Multitasking Workflow with C-Floating Windows

Technology has put life on the fast track. Lazy, relaxed days have turned into … more

Compile Your Own Kernel From Source with Comprehensive Tutorial

One glance at any developer section of any device forum on XDA and youll find … more