The XDA LG QPair Developer Challenge Voting Has Begun!

It seems like it was just yesterday that weannounced that we had paired up with LGto … more

Major Update for the Sony Smartwatch 2 Brings DND and More

With the wearables landscape now dominated by Android Wear and Pebble, its … more

How to Root Android Wear 5.0.1 Lollipop Devices – XDA TV

The Lollipop update for Android Wear devices has hit the market and people are … more

Android 5.0.2 and New Factory Images For Nexus 7 (Wi-Fi) Available

Android 5.0 is has been publicly available since early November, and the … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Thread Deleted

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

OP mariozawa

Prev Previous Post   Next Post Next
15th May 2014, 09:45 AM   |  #1  
mariozawa's Avatar
OP Recognized Themer
Flag Malolos, Bulacan
Thanks Meter: 806
 
381 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:	1685
Size:	10.3 KB
ID:	2744689   Click image for larger version

Name:	10370592_506295436143540_1678846224_n.jpg
Views:	891
Size:	8.4 KB
ID:	2746831  
Attached Files
File Type: zip DateViewSmali.zip - [Click for QR Code] (2.1 KB, 46 views)
File Type: zip DateView X Carrier.zip - [Click for QR Code] (2.2 KB, 23 views)
Last edited by mariozawa; 16th May 2014 at 01:59 PM.
The Following 5 Users Say Thank You to mariozawa For This Useful Post: [ View ]
Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes