phonebookui/pbkcommonui/resources/contacts_ev.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     <object name="cnt:adddetail_popup" type="HbAction">
       
     4         <string locid="txt_phob_menu_add_1" name="text" value="Add detail"/>
       
     5     </object>
       
     6     
       
     7     <object name="cnt:adddetail_options" type="HbAction">
       
     8         <string locid="txt_phob_opt_add_detail" name="text" value="Add detail"/>
       
     9     </object>
       
    10     
       
    11     <object name="cnt:editdetail" type="HbAction">
       
    12         <string locid="txt_common_menu_edit" name="text" value="Edit"/>
       
    13     </object>
       
    14     
       
    15     <object name="cnt:discard" type="HbAction">
       
    16         <string locid="txt_phob_opt_discard_changes" name="text" value="Discard changes"/>
       
    17     </object>
       
    18     
       
    19     <object name="cnt:savecontact" type="HbAction">
       
    20         <string locid="txt_phob_opt_save_contact_card" name="text" value="Save contact card"/>
       
    21     </object>
       
    22     
       
    23     <object name="cnt:deletedetail" type="HbAction">
       
    24         <string locid="txt_phob_menu_delete_1" name="text" value="Delete detail"/>
       
    25     </object>
       
    26     
       
    27     <object name="cnt:deletecontact" type="HbAction">
       
    28         <string locid="txt_common_menu_delete_contact" name="text" value="Delete contact"/>
       
    29     </object>
       
    30     
       
    31     <widget name="view" type="HbView">
       
    32         <widget name="content" role="HbView:widget" type="HbWidget">
       
    33         	 <widget name="groupBox" type="HbGroupBox">
       
    34             	<string locid="txt_phob_subtitle_edit_1_details" name="heading" value="Edit details"/>
       
    35                 <bool name="collapsable" value="FALSE"/>
       
    36             </widget>
       
    37             
       
    38             <widget name="editViewHeading" type="CntEditViewHeadingItem"/>
       
    39             
       
    40             <widget name="listView" type="HbListView">
       
    41                 <sizehint height="1.0un" type="PREFERRED" width="1.0un"/>
       
    42                 <sizepolicy horizontalPolicy="MinimumExpanding" horizontalStretch="0" verticalPolicy="MinimumExpanding" verticalStretch="0"/>
       
    43                 <string name="scrollingStyle" value="PanOrFlick"/>
       
    44                 <string name="clampingStyle" value="BounceBackClamping"/>
       
    45             </widget>
       
    46            
       
    47             <widget name="editViewImage" type="CntImageLabel">
       
    48                 <bool name="visible" value="FALSE"/>
       
    49                 <contentsmargins bottom="2.0un" left="2.0un" right="2.0un" top="2.0un"/>
       
    50                 <string name="alignment" value="AlignCenter"/>
       
    51                 <string name="aspectRatioMode" value="KeepAspectRatio"/>
       
    52                 <sizehint height="30.5un" type="FIXED" width="30.5un"/>
       
    53                 <icon iconName="qtg_large_avatar" name="icon"/>
       
    54                 <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
       
    55             </widget>
       
    56         </widget>
       
    57        <widget name="viewMenu" role="HbView:menu" type="HbMenu">
       
    58             <ref object="cnt:adddetail_options" role="HbMenu:addAction"/>
       
    59             <ref object="cnt:discard" role="HbMenu:addAction"/>
       
    60             <ref object="cnt:savecontact" role="HbMenu:addAction"/>
       
    61             <ref object="cnt:deletecontact" role="HbMenu:addAction"/>
       
    62        </widget>
       
    63        <string locid="txt_phob_title_contacts" name="title" value="Contacts"/>
       
    64     </widget>
       
    65         <section name="portrait">
       
    66         <widget name="content" role="HbView:widget" type="HbWidget">
       
    67             <widget name="editViewImage" type="CntImageLabel">
       
    68                 <bool name="visible" value="FALSE"/>
       
    69             </widget>
       
    70             <layout orientation="Vertical" spacing="0un" type="linear">
       
    71                 <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
    72                 <linearitem itemname="groupBox"/>
       
    73                 <linearitem itemname="editViewHeading"/>
       
    74                 <linearitem itemname="listView"/>
       
    75             </layout>
       
    76         </widget>
       
    77     </section>
       
    78     <section name="landscape">
       
    79         <widget name="content" role="HbView:widget" type="HbWidget">
       
    80             <widget name="editViewImage" type="CntImageLabel">
       
    81                 <bool name="visible" value="TRUE"/>
       
    82             </widget>
       
    83             <layout type="anchor">
       
    84             	<anchoritem src="groupBox" srcEdge="LEFT" spacing="0.0un" dst="" dstEdge="LEFT"/>
       
    85             	<anchoritem src="groupBox" srcEdge="RIGHT" spacing="0.0un" dst="" dstEdge="RIGHT"/>
       
    86             	<anchoritem src="groupBox" srcEdge="TOP" spacing="0.0un" dst="" dstEdge="TOP"/>
       
    87                 <anchoritem src="editViewImage" srcEdge="LEFT" spacing="0.0un" dst="" dstEdge="LEFT"/>
       
    88                 <anchoritem src="editViewImage" srcEdge="TOP" spacing="0.0un" dst="groupBox" dstEdge="BOTTOM"/>
       
    89                 <anchoritem src="editViewImage" srcEdge="RIGHT" spacing="0.0un" dst="editViewHeading" dstEdge="LEFT"/>
       
    90                 <anchoritem src="editViewHeading" srcEdge="TOP" spacing="0.0un" dst="groupBox" dstEdge="BOTTOM"/>
       
    91                 <anchoritem src="editViewHeading" srcEdge="BOTTOM" spacing="0.0un" dst="listView" dstEdge="TOP"/>
       
    92                 <anchoritem src="editViewHeading" srcEdge="RIGHT" spacing="0.0un" dst="" dstEdge="RIGHT"/>
       
    93                 <anchoritem src="listView" srcEdge="LEFT" dst="editViewHeading" dstEdge="LEFT"/>
       
    94                 <anchoritem src="listView" srcEdge="RIGHT" dst="editViewHeading" dstEdge="RIGHT"/>
       
    95                 <anchoritem src="listView" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM"/>
       
    96             </layout>
       
    97         </widget>
       
    98     </section>
       
    99     <metadata activeUIState="portrait" display="QHD portrait" unit="un">
       
   100         <uistate name="Common ui state" sections="#common"/>
       
   101         <uistate name="portrait" sections="#common portrait"/>
       
   102         <uistate name="landscape" sections="#common landscape"/>
       
   103     </metadata>
       
   104 </hbdocument>