phonebookui/pbkcommonui/resources/contacts_ev.docml
changeset 28 3fad710701f2
child 33 e1c7b0febd15
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/phonebookui/pbkcommonui/resources/contacts_ev.docml	Tue May 11 12:31:28 2010 +0100
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<hbdocument version="0.9">
+    <object name="cnt:adddetail_popup" type="HbAction">
+        <string locid="txt_phob_menu_add_1" name="text" value="Add detail"/>
+    </object>
+    
+    <object name="cnt:adddetail_options" type="HbAction">
+        <string locid="txt_phob_opt_add_detail" name="text" value="Add detail"/>
+    </object>
+    
+    <object name="cnt:editdetail" type="HbAction">
+        <string locid="txt_common_menu_edit" name="text" value="Edit"/>
+    </object>
+    
+    <object name="cnt:discard" type="HbAction">
+        <string locid="txt_phob_opt_discard_changes" name="text" value="Discard changes"/>
+    </object>
+    
+    <object name="cnt:savecontact" type="HbAction">
+        <string locid="txt_phob_opt_save_contact_card" name="text" value="Save contact card"/>
+    </object>
+    
+    <object name="cnt:deletedetail" type="HbAction">
+        <string locid="txt_phob_menu_delete_1" name="text" value="Delete detail"/>
+    </object>
+    
+    <object name="cnt:deletecontact" type="HbAction">
+        <string locid="txt_common_menu_delete_contact" name="text" value="Delete contact"/>
+    </object>
+    
+    <widget name="view" type="HbView">
+        <widget name="content" role="HbView:widget" type="HbWidget">
+        	 <widget name="groupBox" type="HbGroupBox">
+            	<string locid="txt_phob_subtitle_edit_1_details" name="heading" value="Edit details"/>
+                <bool name="collapsable" value="FALSE"/>
+            </widget>
+            
+            <widget name="editViewHeading" type="CntEditViewHeadingItem"/>
+            
+            <widget name="listView" type="HbListView">
+                <sizehint height="1.0un" type="PREFERRED" width="1.0un"/>
+                <sizepolicy horizontalPolicy="MinimumExpanding" horizontalStretch="0" verticalPolicy="MinimumExpanding" verticalStretch="0"/>
+                <string name="scrollingStyle" value="PanOrFlick"/>
+                <string name="clampingStyle" value="BounceBackClamping"/>
+            </widget>
+           
+            <widget name="editViewImage" type="CntImageLabel">
+                <bool name="visible" value="FALSE"/>
+                <contentsmargins bottom="2.0un" left="2.0un" right="2.0un" top="2.0un"/>
+                <string name="alignment" value="AlignCenter"/>
+                <string name="aspectRatioMode" value="KeepAspectRatio"/>
+                <sizehint height="30.5un" type="FIXED" width="30.5un"/>
+                <icon iconName="qtg_large_avatar" name="icon"/>
+                <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
+            </widget>
+        </widget>
+       <widget name="viewMenu" role="HbView:menu" type="HbMenu">
+            <ref object="cnt:adddetail_options" role="HbMenu:addAction"/>
+            <ref object="cnt:discard" role="HbMenu:addAction"/>
+            <ref object="cnt:savecontact" role="HbMenu:addAction"/>
+            <ref object="cnt:deletecontact" role="HbMenu:addAction"/>
+       </widget>
+       <string locid="txt_phob_title_contacts" name="title" value="Contacts"/>
+    </widget>
+        <section name="portrait">
+        <widget name="content" role="HbView:widget" type="HbWidget">
+            <widget name="editViewImage" type="CntImageLabel">
+                <bool name="visible" value="FALSE"/>
+            </widget>
+            <layout orientation="Vertical" spacing="0un" type="linear">
+                <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
+                <linearitem itemname="groupBox"/>
+                <linearitem itemname="editViewHeading"/>
+                <linearitem itemname="listView"/>
+            </layout>
+        </widget>
+    </section>
+    <section name="landscape">
+        <widget name="content" role="HbView:widget" type="HbWidget">
+            <widget name="editViewImage" type="CntImageLabel">
+                <bool name="visible" value="TRUE"/>
+            </widget>
+            <layout type="anchor">
+            	<anchoritem src="groupBox" srcEdge="LEFT" spacing="0.0un" dst="" dstEdge="LEFT"/>
+            	<anchoritem src="groupBox" srcEdge="RIGHT" spacing="0.0un" dst="" dstEdge="RIGHT"/>
+            	<anchoritem src="groupBox" srcEdge="TOP" spacing="0.0un" dst="" dstEdge="TOP"/>
+                <anchoritem src="editViewImage" srcEdge="LEFT" spacing="0.0un" dst="" dstEdge="LEFT"/>
+                <anchoritem src="editViewImage" srcEdge="TOP" spacing="0.0un" dst="groupBox" dstEdge="BOTTOM"/>
+                <anchoritem src="editViewImage" srcEdge="RIGHT" spacing="0.0un" dst="editViewHeading" dstEdge="LEFT"/>
+                <anchoritem src="editViewHeading" srcEdge="TOP" spacing="0.0un" dst="groupBox" dstEdge="BOTTOM"/>
+                <anchoritem src="editViewHeading" srcEdge="BOTTOM" spacing="0.0un" dst="listView" dstEdge="TOP"/>
+                <anchoritem src="editViewHeading" srcEdge="RIGHT" spacing="0.0un" dst="" dstEdge="RIGHT"/>
+                <anchoritem src="listView" srcEdge="LEFT" dst="editViewHeading" dstEdge="LEFT"/>
+                <anchoritem src="listView" srcEdge="RIGHT" dst="editViewHeading" dstEdge="RIGHT"/>
+                <anchoritem src="listView" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM"/>
+            </layout>
+        </widget>
+    </section>
+    <metadata activeUIState="portrait" display="QHD portrait" unit="un">
+        <uistate name="Common ui state" sections="#common"/>
+        <uistate name="portrait" sections="#common portrait"/>
+        <uistate name="landscape" sections="#common landscape"/>
+    </metadata>
+</hbdocument>