homescreenapp/stateplugins/hsapplibrarystateplugin/resource/searchview.docml
changeset 71 1db7cc813a4e
child 81 7dd137878ff8
equal deleted inserted replaced
69:87476091b3f5 71:1db7cc813a4e
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <hbdocument version="1.1">
       
     3     <widget name="view" type="HbView">
       
     4         <widget name="container" role="HbView:widget" type="HbWidget">
       
     5             <widget name="label" type="HbGroupBox">
       
     6                 <bool name="marqueeHeading" value="TRUE"/>
       
     7                 <string name="heading" value="."/>
       
     8                 <fontspec name="fontSpec" role="Title" textheight="0"/>
       
     9             </widget>
       
    10             <widget name="emptyViewLabelContainer" type="HbWidget">
       
    11                 <widget name="emptyViewLabel" type="HbLabel">
       
    12                     <enums name="alignment" value="AlignHCenter"/>
       
    13                     <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Minimum"
       
    14                         verticalStretch="0"/>
       
    15                     <enums name="elideMode" value="ElideMiddle"/>
       
    16                     <bool name="visible" value="TRUE"/>
       
    17                     <string locid="txt_applib_formlabel_no_search_results" name="plainText"/>
       
    18                     <fontspec name="fontSpec" role="Title" textheight="4un"/>
       
    19                 </widget>
       
    20                 <layout orientation="Horizontal" spacing="0.0un" type="linear">
       
    21                     <stretchitem stretchfactor="1"/>
       
    22                     <linearitem itemname="emptyViewLabel"/>
       
    23                     <stretchitem stretchfactor="1"/>
       
    24                 </layout>
       
    25             </widget>
       
    26 			<widget name="listView" type="HbListView">
       
    27 				 <bool name="itemRecycling" value="TRUE"/>
       
    28 				 <enums name="horizontalScrollBarPolicy" value="ScrollBarAutoHide"/>
       
    29 				 <bool name="frictionEnabled" value="TRUE"/>
       
    30 			</widget>
       
    31             <widget name="searchPanel" type="HbSearchPanel"/>
       
    32         </widget>
       
    33         <string locid="txt_applib_title_applications" name="title"/>
       
    34     </widget>
       
    35 	
       
    36 	<section name="searchViewLabeledList">
       
    37 		<widget name="view" type="HbView">
       
    38 			<widget name="container" role="HbView:widget" type="HbWidget">
       
    39 				<widget name="label" type="HbGroupBox">
       
    40 					<bool name="visible" value="TRUE"/>
       
    41 				</widget>
       
    42 				<widget name="emptyViewLabelContainer" type="HbWidget">
       
    43 					<bool name="visible" value="FALSE"/>
       
    44 				</widget>
       
    45 				<widget name="listView" type="HbListView">
       
    46 					 <bool name="visible" value="TRUE"/>
       
    47 				</widget>
       
    48 				<layout orientation="Vertical" spacing="0.0un" type="linear">
       
    49 					<contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
    50 					<linearitem itemname="label"/>
       
    51 					<linearitem itemname="listView"/>
       
    52 					<linearitem itemname="searchPanel"/>
       
    53 				</layout>
       
    54 			</widget>
       
    55 			<string locid="txt_applib_title_applications" name="title"/>
       
    56 			<bool name="contentFullScreen" value="TRUE"/>
       
    57 		</widget>
       
    58     </section>
       
    59 
       
    60 	<section name="searchViewList">
       
    61 		<widget name="view" type="HbView">
       
    62 			<widget name="container" role="HbView:widget" type="HbWidget">
       
    63 				<widget name="label" type="HbGroupBox">
       
    64 					<bool name="visible" value="FALSE"/>
       
    65 				</widget>
       
    66 				<widget name="emptyViewLabelContainer" type="HbWidget">
       
    67 					<bool name="visible" value="FALSE"/>
       
    68 				</widget>
       
    69 				<widget name="listView" type="HbListView">
       
    70 					 <bool name="visible" value="TRUE"/>
       
    71 				 </widget>
       
    72 				<layout orientation="Vertical" spacing="0.0un" type="linear">
       
    73 					<contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
    74 					<linearitem itemname="listView"/>
       
    75 					<linearitem itemname="searchPanel"/>
       
    76 				</layout>
       
    77 			</widget>
       
    78 			<string locid="txt_applib_title_applications" name="title"/>
       
    79 			<bool name="contentFullScreen" value="TRUE"/>
       
    80 		</widget>
       
    81     </section>
       
    82 
       
    83 	<section name="searchViewLabeledEmpty">
       
    84 	    <widget name="view" type="HbView">
       
    85 			<widget name="container" role="HbView:widget" type="HbWidget">
       
    86 				<widget name="label" type="HbGroupBox">
       
    87 					 <bool name="visible" value="TRUE"/>
       
    88 				</widget>
       
    89 				<widget name="emptyViewLabelContainer" type="HbWidget">
       
    90 					<bool name="visible" value="TRUE"/>
       
    91 				</widget>
       
    92 				<widget name="listView" type="HbListView">
       
    93 					<bool name="visible" value="FALSE"/>
       
    94 				</widget>
       
    95 				<layout orientation="Vertical" spacing="0un" type="linear">
       
    96 					<contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
    97 					<linearitem itemname="label"/>
       
    98 					<stretchitem stretchfactor="1"/>
       
    99 					<linearitem itemname="emptyViewLabelContainer"/>
       
   100 					<stretchitem stretchfactor="5"/>
       
   101 					<linearitem itemname="searchPanel"/>
       
   102 				</layout>
       
   103 			</widget>
       
   104 			<string locid="txt_applib_title_applications" name="title"/>
       
   105 		</widget>
       
   106 	</section>
       
   107 	
       
   108 	<section name="searchViewEmpty">
       
   109 	    <widget name="view" type="HbView">
       
   110 			<widget name="container" role="HbView:widget" type="HbWidget">
       
   111 				<widget name="emptyViewLabelContainer" type="HbWidget">
       
   112 					<bool name="visible" value="TRUE"/>
       
   113 				</widget>
       
   114 				<widget name="label" type="HbGroupBox">
       
   115 					 <bool name="visible" value="FALSE"/>
       
   116 				</widget>
       
   117 				<widget name="listView" type="HbListView">
       
   118 					<bool name="visible" value="FALSE"/>
       
   119 				</widget>
       
   120 				<layout orientation="Vertical" spacing="0un" type="linear">
       
   121 					<contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
   122 					<stretchitem stretchfactor="1"/>
       
   123 					<linearitem itemname="emptyViewLabelContainer"/>
       
   124 					<stretchitem stretchfactor="5"/>
       
   125 					<linearitem itemname="searchPanel"/>
       
   126 				</layout>
       
   127 			</widget>
       
   128 			<string locid="txt_applib_title_applications" name="title"/>
       
   129 		</widget>
       
   130 	</section>
       
   131 	
       
   132     <metadata activeUIState="Common ui state" display="NHD-3.2-inch_portrait"
       
   133         unit="un">
       
   134         <uistate name="Common ui state" sections="#common"/>
       
   135     </metadata>
       
   136 </hbdocument>