锁屏代码全部来源于本人下载收费主题学习得来,请大家尊重劳动成果,全程代码是用PS打开主题预览图在再用x,y,w,h定位所得
代码如下
<?xml version="1.0" encoding="utf-8"?>
<layout frameRate="30" version="3.0" screenwidth="1080">
<!--小时十位-->
<image x="300" y="540" w="100" h="160" src="´number_´+system.time.hour1+´.png´"/>
<!--小时个位-->
<image x="400" y="535" w="100" h="160" src="´number_´+system.time.hour2+´.png´"/>
<!--时间点-->
<image x="500" y="535" w="46" h="160" src="colon.png"/>
<!--分钟十位-->
<image x="546" y="525" w="100" h="160" src="´number_´+system.time.min1+´.png´"/>
<!--分钟个位-->
<image x="646" y="520" w="100" h="160" src="´number_´+system.time.min2+´.png´"/>
<!--上午,下午位置与颜色-->
<text x="750" y="610" w="180" h="75" visible="system.time.showampm" align="left" size="16" color="#FF5e4f13" src="system.time.ampm"/>
<!--日期位置-->
<text x="0" y="800" w="1080" h="80" align="center" size="16" color="#FF231d06" src="system.date"/>
<!--文字显示-->
<emergency x="0" y="150" w="1080" h="94"/>
<!--充电文字显示位置与颜色-->
<text x="0" y="1550" w="1080" h="70" align="center" size="14" color="#231d06" src="system.charge.text" visible="system.charge.show and system.music_visible eq 0"/>
<!--个性签名位置与颜色-->
<text x="0" y="1550" w="1080" h="60" align="center" size="14" color="#FF231d06" src="system.ownerinfo.text" ellipsize="marquee" visible="!system.charge.show and system.ownerinfo.show"/>
<!--锁屏字位置与颜色-->
<text x="0" y="1780" w="1080" h="60" align="center" size="14" color="#231d06" src="system.unlocktip"/>
<!--信息与来电位置与颜色-->
<text x="0" y="960" w="1080" h="80" align="center" size="16" color="#faed59" src="system.message.text" visible="system.message.count gt 0"/>
<text x="0" y="1050" w="1080" h="80" align="center" size="16" color="#faed59" src="system.call.text" visible="system.call.count gt 0"/>
</layout>
在主题目录unlock\layout-hdpi下修改
附上文件地址:http://pan.baidu.com/s/1jHUuxGq密码q262
请大家多少支持!授人予鱼,不如授人予渔
我还有很多教程和工具,保证让你们的制作简单起来,请多多关注!
好了不多说了,研究动态锁屏去了(ps:哭晕在代码中{:8_223:})
|