phonebookui/pbkcommonui/resources/contacts_if.docml
changeset 31 2a11b5b00470
child 33 e1c7b0febd15
child 37 fd64c38c277d
equal deleted inserted replaced
27:de1630741fbe 31:2a11b5b00470
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <hbdocument version="0.9">
       
     3     <object name="cnt:removeimage" type="HbAction">
       
     4         <string locid="txt_phob_menu_remove_image" name="text"/>
       
     5     </object>
       
     6     <widget name="view" type="HbView">
       
     7         <widget name="content" role="HbView:widget" type="HbWidget">
       
     8             <widget name="cnt_groupBox" type="HbGroupBox">
       
     9                 <string name="heading" locid="txt_phob_subtitle_change_image"/>
       
    10                 <bool name="collapsable" value="FALSE"/>
       
    11             </widget>
       
    12             <widget name="cnt_image_label" type="HbLabel">
       
    13                 <contentsmargins bottom="2.0un" left="2.0un" right="2.0un" top="2.0un"/>
       
    14                 <string name="alignment" value="AlignCenter"/>
       
    15                 <string name="aspectRatioMode" value="KeepAspectRatio"/>
       
    16                 <sizehint height="30.5un" type="FIXED" width="30.5un"/>
       
    17                 <icon iconName="qtg_large_add_contact_picture" name="icon"/>
       
    18                 <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
       
    19             </widget>
       
    20             <widget name="cnt_listview" type="HbListView">
       
    21                 <sizehint height="1.0un" type="PREFERRED" width="1.0un"/>
       
    22                 <sizepolicy horizontalPolicy="MinimumExpanding" horizontalStretch="0" verticalPolicy="MinimumExpanding" verticalStretch="0"/>
       
    23                 <string name="scrollingStyle" value="PanOrFlick"/>
       
    24                 <string name="clampingStyle" value="BounceBackClamping"/>
       
    25             </widget>
       
    26         </widget>
       
    27         <widget name="viewMenu" role="HbView:menu" type="HbMenu">
       
    28             <ref object="cnt:removeimage" role="HbMenu:addAction"/>
       
    29         </widget>
       
    30         <string locid="txt_phob_title_contacts" name="title" value="Contacts"/>
       
    31     </widget>
       
    32     <section name="portrait">
       
    33         <widget name="content" role="HbView:widget" type="HbWidget">
       
    34             <layout orientation="Vertical" type="linear" spacing="0.0un">
       
    35                 <contentsmargins bottom="0.0un" left="0.0un" right="0.0un" top="0.0un"/>
       
    36                 <linearitem itemname="cnt_groupBox" />
       
    37                 <linearitem itemname="cnt_image_label" alignment="AlignCenter"/>
       
    38                 <linearitem itemname="cnt_listview" />
       
    39             </layout>
       
    40         </widget>
       
    41     </section>
       
    42     <section name="landscape">
       
    43         <widget name="content" role="HbView:widget" type="HbWidget">
       
    44             <layout type="anchor">
       
    45                 <anchoritem src="cnt_groupBox" srcEdge="LEFT" spacing="0.0un" dst="" dstEdge="LEFT"/>
       
    46                 <anchoritem src="cnt_groupBox" srcEdge="TOP" spacing="0.0un" dst="" dstEdge="TOP"/>
       
    47                 <anchoritem src="cnt_groupBox" srcEdge="RIGHT" spacing="0.0un" dst="" dstEdge="RIGHT"/>
       
    48                 <anchoritem src="cnt_image_label" srcEdge="LEFT" spacing="0.0un" dst="" dstEdge="LEFT"/>
       
    49                 <anchoritem src="cnt_image_label" srcEdge="TOP" spacing="0.0un" dst="cnt_groupBox" dstEdge="BOTTOM"/>
       
    50                 <anchoritem src="cnt_image_label" srcEdge="RIGHT" spacing="0.0un" dst="cnt_listview" dstEdge="LEFT"/>
       
    51                 <anchoritem src="cnt_listview" srcEdge="TOP" spacing="0.0un" dst="cnt_groupBox" dstEdge="BOTTOM"/>
       
    52                 <anchoritem src="cnt_listview" srcEdge="RIGHT" spacing="0.0un" dst="" dstEdge="RIGHT"/>
       
    53                 <anchoritem src="cnt_listview" srcEdge="BOTTOM" spacing="0.0un" dst="" dstEdge="BOTTOM"/>
       
    54             </layout>
       
    55         </widget>
       
    56     </section>
       
    57     <metadata activeUIState="portrait" display="QHD portrait" unit="un">
       
    58         <uistate name="Common ui state" sections="#common"/>
       
    59         <uistate name="portrait" sections="#common portrait"/>
       
    60         <uistate name="landscape" sections="#common landscape"/>
       
    61     </metadata>
       
    62 </hbdocument>