screensaver/snsrplugins/snsrbigclockscreensaverplugin/resource/snsrbigclockscreensaverdigital.docml
changeset 97 66b5fe3c07fd
equal deleted inserted replaced
95:32e56106abf2 97:66b5fe3c07fd
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <hbdocument version="0.9">
       
     3     <widget name="view" type="HbView">
       
     4         <widget name="mainContainer" role="HbView:widget" type="HbWidget">
       
     5             <sizehint height="var(hb-param-screen-height)" type="PREFERRED" width="var(hb-param-screen-width)"/>
       
     6             <contentsmargins bottom="var(hb-param-margin-gene-bottom)" left="var(hb-param-margin-gene-left)" right="var(hb-param-margin-gene-right)" top="var(hb-param-margin-gene-top)"/>
       
     7             <widget name="amPmLabel" type="SnsrLabel">
       
     8                 <sizehint type="MINIMUM" width="1.0un"/>
       
     9                 <sizehint height="var(hb-param-text-height-tiny)" type="PREFERRED"/>
       
    10                 <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
       
    11                 <real name="z" value="1"/>
       
    12                 <fontspec name="fontSpec" role="Primary" textheight="var(hb-param-text-height-tiny)"/>
       
    13                 <string name="alignment" value="AlignVCenter|AlignLeft"/>
       
    14              </widget>
       
    15             <widget name="timeLabel" type="SnsrLabel">
       
    16                 <sizehint type="MINIMUM" width="1.0un"/>
       
    17                 <sizehint height="12.7un" type="PREFERRED"/>
       
    18                 <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
       
    19                 <real name="z" value="2"/>
       
    20                 <fontspec name="fontSpec" role="Primary" textheight="12.7un"/>
       
    21                 <string name="alignment" value="AlignVCenter|AlignHCenter"/>
       
    22              </widget>
       
    23              <widget name="indicatorWidget" type="SnsrIndicatorWidget">
       
    24                 <sizehint type="MINIMUM" width="2.4un"/>
       
    25                 <sizehint height="2.4un" type="PREFERRED"/>
       
    26                 <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
       
    27                 <real name="z" value="3"/>
       
    28               </widget>
       
    29               <widget name="dateLabel" type="SnsrLabel">
       
    30                 <sizehint type="MINIMUM" width="1.0un"/>
       
    31                 <sizehint height="var(hb-param-text-height-tiny)" type="PREFERRED"/>
       
    32                 <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
       
    33                 <real name="z" value="4"/>
       
    34                 <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-tiny)"/>
       
    35                 <string name="alignment" value="AlignVCenter|AlignHCenter"/>
       
    36              </widget>
       
    37              <layout type="anchor">
       
    38                 <anchoritem dst="amPmLabel" dstEdge="BOTTOM" spacing="-0.5un" src="timeLabel" srcEdge="TOP"/>
       
    39                 <anchoritem dst="amPmLabel" dstEdge="LEFT" spacing="0" src="timeLabel" srcEdge="LEFT"/>
       
    40                 <anchoritem dst="timeLabel" dstEdge="TOP" spacing="26.5un" src="" srcEdge="TOP"/>
       
    41                 <anchoritem dst="timeLabel" dstEdge="CENTERH" spacing="0" src="" srcEdge="CENTERH"/>
       
    42                 <anchoritem dst="indicatorWidget" dstEdge="TOP" spacing="expr(var(hb-param-margin-gene-top)+var(hb-param-margin-gene-bottom))" src="timeLabel" srcEdge="BOTTOM"/>
       
    43                 <anchoritem dst="indicatorWidget" dstEdge="CENTERH" spacing="0" src="timeLabel" srcEdge="CENTERH"/>
       
    44                 <anchoritem dst="dateLabel" dstEdge="TOP" spacing="var(hb-param-margin-gene-bottom)" src="indicatorWidget" srcEdge="BOTTOM"/>
       
    45                 <anchoritem dst="dateLabel" dstEdge="CENTERH" spacing="0" src="timeLabel" srcEdge="CENTERH"/>
       
    46             </layout>
       
    47         </widget>
       
    48         <string name="title" value="View"/>
       
    49     </widget>
       
    50     <section name="landscape">
       
    51         <widget name="mainContainer" role="HbView:widget" type="HbWidget">
       
    52             <sizehint height="var(hb-param-screen-height)" type="PREFERRED" width="var(hb-param-screen-width)"/>
       
    53             <contentsmargins bottom="var(hb-param-margin-gene-bottom)" left="var(hb-param-margin-gene-left)" right="var(hb-param-margin-gene-right)" top="var(hb-param-margin-gene-top)"/>
       
    54             <layout type="anchor">
       
    55                 <anchoritem dst="amPmLabel" dstEdge="BOTTOM" spacing="-0.5un" src="timeLabel" srcEdge="TOP"/>
       
    56                 <anchoritem dst="amPmLabel" dstEdge="LEFT" spacing="0" src="timeLabel" srcEdge="LEFT"/>
       
    57                 <anchoritem dst="timeLabel" dstEdge="TOP" spacing="17.4un" src="" srcEdge="TOP"/>
       
    58                 <anchoritem dst="timeLabel" dstEdge="CENTERH" spacing="0" src="" srcEdge="CENTERH"/>
       
    59                 <anchoritem dst="indicatorWidget" dstEdge="TOP" spacing="expr(var(hb-param-margin-gene-top)+var(hb-param-margin-gene-bottom))" src="timeLabel" srcEdge="BOTTOM"/>
       
    60                 <anchoritem dst="indicatorWidget" dstEdge="CENTERH" spacing="0" src="timeLabel" srcEdge="CENTERH"/>
       
    61                 <anchoritem dst="dateLabel" dstEdge="TOP" spacing="var(hb-param-margin-gene-bottom)" src="indicatorWidget" srcEdge="BOTTOM"/>
       
    62                 <anchoritem dst="dateLabel" dstEdge="CENTERH" spacing="0" src="timeLabel" srcEdge="CENTERH"/>
       
    63             </layout>
       
    64         </widget>
       
    65     </section>
       
    66     <metadata activeUIState="Common ui state" display="NHD portrait" unit="un">
       
    67         <uistate name="Common ui state" sections="#common"/>
       
    68         <uistate name="landscape" sections="#common landscape"/>
       
    69     </metadata>
       
    70 </hbdocument>