phonebookui/pbkcommonui/resources/contacts_mc.docml
changeset 28 3fad710701f2
child 33 e1c7b0febd15
equal deleted inserted replaced
27:de1630741fbe 28:3fad710701f2
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <hbdocument version="0.9">
       
     3     <widget name="view" type="HbView">
       
     4         <widget name="content" role="HbView:widget" type="HbWidget">
       
     5             <widget name="groupBox" type="HbGroupBox">
       
     6                 <string name="heading" locid="txt_phob_subtitle_my_card"/>
       
     7                 <bool name="collapsable" value="FALSE"/>
       
     8             </widget>
       
     9             <widget name="cnt_label_text" type="HbLabel">
       
    10                 <enums name="textWrapping" value="TextWordWrap"/>
       
    11                 <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
       
    12                 <contentsmargins bottom="var(hb-param-margin-gene-bottom)" left="var(hb-param-margin-gene-left)" right="var(hb-param-margin-gene-right)" top="0.0un"/>
       
    13                 <enums name="elideMode" value="ElideNone"/>
       
    14                 <string name="plainText" locid="txt_phob_info_create_own_card_to_share_it_with_fri"/>
       
    15                 <fontspec name="fontSpec" role="Primary"/>
       
    16             </widget>
       
    17             <widget name="cnt_button_new" type="HbPushButton">
       
    18                 <string name="text" locid="txt_phob_button_create_new"/>
       
    19             </widget>
       
    20             <widget name="cnt_button_choose" type="HbPushButton">
       
    21                 <string name="text" locid="txt_phob_button_choose_from_my_contacts"/>
       
    22             </widget>
       
    23         </widget>
       
    24         <string locid="txt_phob_title_contacts" name="title" value="Contacts"/>
       
    25     </widget>
       
    26     <section name="portrait">
       
    27         <widget name="content" role="HbView:widget" type="HbWidget">
       
    28             <layout type="anchor">
       
    29                 <anchoritem src="groupBox" srcEdge="LEFT" spacing="0.0un" dst="" dstEdge="LEFT"/>
       
    30                 <anchoritem src="groupBox" srcEdge="TOP" spacing="0.0un" dst="" dstEdge="TOP"/>
       
    31                 <anchoritem src="groupBox" srcEdge="RIGHT" spacing="0.0un" dst="" dstEdge="RIGHT"/>
       
    32                 <anchoritem src="cnt_label_text" srcEdge="LEFT" spacing="0.0un" dst="" dstEdge="LEFT"/>
       
    33                 <anchoritem src="cnt_label_text" srcEdge="TOP" spacing="-6.0un" dst="groupBox" dstEdge="BOTTOM"/>
       
    34                 <anchoritem src="cnt_label_text" srcEdge="RIGHT" spacing="0.0un" dst="" dstEdge="RIGHT"/>
       
    35                 <anchoritem src="cnt_button_choose" srcEdge="LEFT" spacing="-var(hb-param-margin-gene-left)" dst="" dstEdge="LEFT"/>
       
    36                 <anchoritem src="cnt_button_choose" srcEdge="TOP" spacing="-var(hb-param-margin-gene-top)" dst="cnt_label_text" dstEdge="BOTTOM"/>
       
    37                 <anchoritem src="cnt_button_choose" srcEdge="RIGHT" spacing="var(hb-param-margin-gene-right)" dst="" dstEdge="RIGHT"/>
       
    38                 <anchoritem src="cnt_button_new" srcEdge="LEFT" spacing="-var(hb-param-margin-gene-left)" dst="" dstEdge="LEFT"/>
       
    39                 <anchoritem src="cnt_button_new" srcEdge="TOP" spacing="-var(hb-param-margin-gene-bottom)" dst="cnt_button_choose" dstEdge="BOTTOM"/>
       
    40                 <anchoritem src="cnt_button_new" srcEdge="RIGHT" spacing="var(hb-param-margin-gene-right)" dst="" dstEdge="RIGHT"/>
       
    41             </layout>
       
    42         </widget>
       
    43     </section>
       
    44     <section name="landscape">
       
    45         <widget name="content" role="HbView:widget" type="HbWidget">
       
    46             <layout type="anchor">
       
    47                 <anchoritem src="groupBox" srcEdge="LEFT" spacing="0.0un" dst="" dstEdge="LEFT"/>
       
    48                 <anchoritem src="groupBox" srcEdge="TOP" spacing="0.0un" dst="" dstEdge="TOP"/>
       
    49                 <anchoritem src="groupBox" srcEdge="RIGHT" spacing="0.0un" dst="" dstEdge="RIGHT"/>
       
    50                 <anchoritem src="cnt_label_text" srcEdge="LEFT" spacing="0.0un" dst="" dstEdge="LEFT"/>
       
    51                 <anchoritem src="cnt_label_text" srcEdge="TOP" spacing="-4.0un" dst="groupBox" dstEdge="BOTTOM"/>
       
    52                 <anchoritem src="cnt_label_text" srcEdge="RIGHT" spacing="0.0un" dst="" dstEdge="CENTERH"/>
       
    53                 <anchoritem src="cnt_button_choose" srcEdge="LEFT" spacing="-var(hb-param-margin-gene-left)" dst="" dstEdge="CENTERH"/>
       
    54                 <anchoritem src="cnt_button_choose" srcEdge="TOP" spacing="-4.0un" dst="groupBox" dstEdge="BOTTOM"/>
       
    55                 <anchoritem src="cnt_button_choose" srcEdge="RIGHT" spacing="var(hb-param-margin-gene-right)" dst="" dstEdge="RIGHT"/>
       
    56                 <anchoritem src="cnt_button_new" srcEdge="LEFT" spacing="-var(hb-param-margin-gene-left)" dst="" dstEdge="CENTERH"/>
       
    57                 <anchoritem src="cnt_button_new" srcEdge="TOP" spacing="-var(hb-param-margin-gene-top)" dst="cnt_button_choose" dstEdge="BOTTOM"/>
       
    58                 <anchoritem src="cnt_button_new" srcEdge="RIGHT" spacing="var(hb-param-margin-gene-right)" dst="" dstEdge="RIGHT"/>
       
    59             </layout>
       
    60         </widget>
       
    61     </section>
       
    62     <metadata activeUIState="portrait" display="QHD portrait" unit="un">
       
    63         <uistate name="Common ui state" sections="#common"/>
       
    64         <uistate name="portrait" sections="#common portrait"/>
       
    65         <uistate name="landscape" sections="#common landscape"/>
       
    66     </metadata>
       
    67 </hbdocument>