Wednesday, August 31, 2016

[Themes] Locksreen - Unlock for HWT

for hwt -> unlock/layout-hdpi/layout_default.xml

Code:

<?xml version="1.0" encoding="utf-8"?>

<layout frameRate="30" version="3.0" screenwidth="1080">

       
        <image x="370" y="298" w="78" h="112" src="'number_'+system.time.hour1+'.png'"/>

       
<image x="448" y="298" w="78" h="112" src="'number_'+system.time.hour2+'.png'"/>

       
<image x="526" y="298" w="40" h="112" src="colon.png"/>


        <image x="566" y="298" w="78" h="112" src="'number_'+system.time.min1+'.png'"/>


        <image x="644" y="298" w="78" h="112" src="'number_'+system.time.min2+'.png'"/>
       
       
<text x="10" y="427" w="1080" h="80" align="center" size="16" color="#FFffffff" src="system.date"/>

       
<text x="735" y="358" w="800" h="80" visible="system.time.showampm" align="left" size="12" color="#ffffff" src="system.time.ampm"/>
 
 
        <text x="493" y="635" w="1080" h="66" align="left" size="10" color="#ffffff" src="system.message.count" visible="system.message.count gt 0"/>
    <text x="600" y="635" w="1080" h="66" align="left" size="10" color="#ffffff" src="system.call.count" visible="system.call.count gt 0"/>

        <image x="450" y="650" w="100" h="100" src="message.png" visible="system.message.count gt 0"/> 

        <image x="560" y="650" w="100" h="100" src="call.png" visible="system.call.count gt 0"/>

           
        <text x="10" y="900" w="1080" h="75" align="center" size="16" color="#ffffff" src="system.charge.text" visible="system.charge.show"/>

        <text x="10" y="487" w="1080" h="75" align="center" size="16" color="#ffffff" src="system.ownerinfo.text" visible="system.ownerinfo.show"/> 
       
                <text x="10" y="1447" w="1080" h="100" align="center" size="12" color="#80ffffff" src="system.unlocktip"/>
               
               
        <emergency h="120" w="382" y="1800" x="700" />
       
        <!--normal unlock-->         
          <unlocker name="unlocker1" visible="true">
            <StartPoint x="150" y="1150" w="200" h="200">
            </StartPoint>

            <EndPoint x="0" y="1350" w="1080" h="634">
                  <Path x="0" y="200"/>
            <Intent type="calllog"/> 
            </EndPoint>
           
        </unlocker>
       
            <unlocker name="unlocker2" visible="true">
            <StartPoint x="420" y="1150" w="200" h="200">
            </StartPoint>

            <EndPoint x="0" y="1350" w="1080" h="634">
                  <Path x="0" y="200"/>
          <Intent type="message"/> 
            </EndPoint>
           
        </unlocker>
       
            <unlocker name="unlocker3" visible="true">
            <StartPoint x="696" y="1150" w="200" h="200">
            </StartPoint>

            <EndPoint x="0" y="1350" w="1080" h="634">
                  <Path x="0" y="200"/>
                  <Intent type="camera"/>   
            </EndPoint>
           
        </unlocker>
       
          <unlocker name="unlocker4" visible="true">
            <StartPoint x="469" y="1439" w="200" h="150">
            </StartPoint>

            <EndPoint x="0" y="1600" w="1080" h="600">
                  <Path x="0" y="200"/>
                  <Intent type="default"/>   
            </EndPoint>
           
        </unlocker>
 
        <image x="469" y="1439+system.unlocker4_moveY" w="143" h="139" src="arrow.png">
                <animationset interval="800"  condition="system.press">
                <animation type="alpha" interpolator="linear" duration="1000" fromAlpha="0" toAlpha="1"/>
                </animationset>
        </image>
        <image x="173" y="1113+system.unlocker1_moveY" w="200" h="200" src="call.png" />
        <image x="437" y="1113+system.unlocker2_moveY" w="200" h="200" src="message.png" />
        <image x="709" y="1108+system.unlocker3_moveY" w="200" h="200" src="camera.png" />


</layout>

Attachment 3860453 Attachment 3860454

Search additional options, for example, which ROM (ro.confg.hw_systemversion)?

Attachment 3860458

Attached Thumbnails
Click image for larger version Name: IMG_20160831_125359.jpg Views: N/A Size: 81.0 KB ID: 3860453   Click image for larger version Name: IMG_20160831_130048.jpg Views: N/A Size: 42.6 KB ID: 3860454   Click image for larger version Name: IMG_20160831_125359_r.jpg Views: N/A Size: 81.0 KB ID: 3860458  


from xda-developers http://ift.tt/2ceeif7
via IFTTT

No comments:

Post a Comment