taskswitcherapp/tsdevicedialogplugin/resource/layout.docml
changeset 60 30f14686fb04
parent 51 4785f57bf3d4
equal deleted inserted replaced
55:03646e8da489 60:30f14686fb04
     1 <?xml version="1.0" encoding="UTF-8"?>
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <hbdocument version="0.10">
     2 <hbdocument version="0.10">
     3     <widget name="tsdevicedialog" type="TsDeviceDialog">
     3     <widget name="tsdevicedialog" type="HbDialog">
     4         <widget name="heading" role="HbDialog:headingWidget" type="HbLabel">
     4         <widget name="heading" role="HbDialog:headingWidget" type="HbLabel">
     5             <string name="alignment" value="AlignVCenter|AlignHCenter" />
     5             <string name="alignment" value="AlignVCenter|AlignHCenter" />
     6             <string locid="txt_tsw_title_task_switcher" name="plainText" value="Task switcher" />
     6             <string locid="txt_tsw_title_task_switcher" name="plainText" value="Task switcher" />
     7         </widget>
     7         </widget>
     8         <widget name="taskgrid" role="HbDialog:contentWidget" type="TsTasksGrid">
     8         <widget name="taskgrid" role="HbDialog:contentWidget" type="TsTasksGrid">
     9             <string name="scrollDirections" value="Horizontal"/>
     9             <widget name="item" role="HbAbstractView:prototype" type="TsTasksGridItem"/>
    10             <integer name="rowCount" value="1"/>
       
    11             <integer name="columnCount" value="2"/>
       
    12             <bool name="longPressEnabled" value="FALSE"/>
    10             <bool name="longPressEnabled" value="FALSE"/>
       
    11             <enums name="horizontalScrollBarPolicy" value="ScrollBarAlwaysOff"/>
    13         </widget>            
    12         </widget>            
    14         <bool name="backgroundFaded" value="TRUE"/>
    13         <bool name="backgroundFaded" value="TRUE"/>
    15         <string name="dismissPolicy" value="TapOutside"/>
    14         <string name="dismissPolicy" value="TapOutside"/>
    16         <integer name="timeout" value="0"/>
    15         <integer name="timeout" value="0"/>
    17         <sizepolicy horizontalPolicy="Preferred" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
    16         <sizepolicy horizontalPolicy="Preferred" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
    18         <sizehint type="PREFERRED" width="320.0px" height="320.0px"/>
       
    19     </widget>
    17     </widget>
    20     <section name="portrait">
    18     <section name="portrait">
    21         <widget name="tsdevicedialog">
    19         <widget name="tsdevicedialog">
    22             <sizehint type="PREFERRED" width="320.0px" height="320.0px"/>
    20             <sizehint type="PREFERRED" width="48un" height="40un"/>
    23         </widget>
    21         </widget>
    24         <widget name="taskgrid">
    22         <widget name="taskgrid">
    25             <string name="scrollDirections" value="Horizontal"/>
    23             <string name="scrollDirections" value="Horizontal"/>
    26             <integer name="rowCount" value="1"/>
    24             <integer name="rowCount" value="1"/>
    27             <integer name="columnCount" value="2"/>
    25             <integer name="columnCount" value="2"/>
    28         </widget>
    26         </widget>
    29     </section>
    27     </section>
    30     <section name="landscape">
    28     <section name="landscape">
    31         <widget name="tsdevicedialog">
    29         <widget name="tsdevicedialog">
    32             <sizehint type="PREFERRED" width="500.0px" height="320.0px"/>
    30             <sizehint type="PREFERRED" width="60un" height="40un"/>
    33         </widget>
    31         </widget>
    34         <widget name="taskgrid">
    32         <widget name="taskgrid">
    35             <string name="scrollDirections" value="Horizontal"/>
    33             <string name="scrollDirections" value="Horizontal"/>
    36             <integer name="rowCount" value="2"/>
    34             <integer name="rowCount" value="2"/>
    37             <integer name="columnCount" value="1"/>
    35             <integer name="columnCount" value="1"/>