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
Post Reply

MIUI V5 Lockscreen Problem: 12hour time format

OP aimriddler

21st August 2014, 11:10 AM   |  #1  
OP Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Aug 2014
I want to as about MIUI V5 Lockscreen code..

I want to display time at lockscreen, but the number will be taken from picture .png, not the normal font number

Code:
<Group name="time" x="225" y="#screen_height-864">
			<Image x="0" y="0" h="92" src="hour/time.png" srcid="(#hour24-(#hour24)%10)/10"/>
			<Image x="60" y="0" h="92" src="hour/time.png" srcid="(#hour24)%10"/>
			<Image x="100" y="0" h="94" src="minute/time_dot.png"/>
			<Image x="140" y="0" h="94" src="minute/time.png" srcid="(#minute-(#minute)%10)/10"/>
			<Image x="200" y="0" h="94" src="minute/time.png" srcid="(#minute)%10"/>	
	
    </Group>
The origanal code use #24hour..when I want to change to #hour12, there is a problem..
if 12 noon or midnight it shown 00, not 12

anyone know how to fix?
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes