mpviewplugins/mpmediawallviewplugin/resources/mediawall.docml
branchRCL_3
changeset 25 14979e23cb5e
equal deleted inserted replaced
24:26a1709b9fec 25:14979e23cb5e
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <hbdocument version="0.9">
       
     3 
       
     4     <widget name="container" type="HbWidget">
       
     5         
       
     6         <widget name="mediawalContainer" type="HbWidget"/>
       
     7         
       
     8         <!-- for some reason we cannot hide the hbtoolbutton, suing a container to be able to hide -->
       
     9         <widget name="playPauseButtonContainer" type="HbWidget">
       
    10             <widget name="playPauseButton" type="HbToolButton">
       
    11                 <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
       
    12                 <sizehint height="var(hb-param-touch-area-gene-primary-small)" type="FIXED" width="var(hb-param-touch-area-gene-primary-medium)"/>
       
    13             </widget>
       
    14         </widget>
       
    15         
       
    16         <widget name="navigationButton" type="HbToolButton">
       
    17             <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
       
    18             <sizehint height="var(hb-param-touch-area-gene-primary-small)" type="FIXED" width="var(hb-param-touch-area-gene-primary-medium)"/>
       
    19         </widget>
       
    20         
       
    21         <layout type="anchor" >
       
    22             <anchoritem dst="playPauseButtonContainer" dstEdge="LEFT" spacing="0.0" src="" srcEdge="LEFT"/>
       
    23             <anchoritem dst="playPauseButtonContainer" dstEdge="TOP" spacing="0.0" src="" srcEdge="TOP"/>
       
    24             <anchoritem dst="navigationButton" dstEdge="RIGHT" spacing="0.0" src="" srcEdge="RIGHT"/>
       
    25             <anchoritem dst="navigationButton" dstEdge="TOP" spacing="0.0" src="" srcEdge="TOP"/>
       
    26             <anchoritem dst="mediawalContainer" dstEdge="LEFT" spacing="0.0" src="" srcEdge="LEFT"/>
       
    27             <anchoritem dst="mediawalContainer" dstEdge="TOP" spacing="0.0" src="" srcEdge="TOP"/>
       
    28             <anchoritem dst="mediawalContainer" dstEdge="RIGHT" spacing="0.0" src="" srcEdge="RIGHT"/>
       
    29             <anchoritem dst="mediawalContainer" dstEdge="BOTTOM" spacing="0.0" src="" srcEdge="BOTTOM"/>
       
    30         </layout>
       
    31         
       
    32     </widget>
       
    33 
       
    34     <section name="empty">
       
    35         <widget name="mediawalContainer">
       
    36             <widget name="noMusic" type="HbLabel">
       
    37                 <string name="plainText" locid="txt_mus_info_no_music"/>
       
    38                 <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
       
    39                 <fontspec name="fontSpec" role="Primary"/>
       
    40             </widget>
       
    41 
       
    42             <layout type="linear" orientation="Vertical" >
       
    43                 <contentsmargins bottom="var(hb-param-margin-view-bottom)" left="var(hb-param-margin-view-left)" right="var(hb-param-margin-view-right)" top="var(hb-param-margin-view-top)"/>
       
    44                 <stretchitem stretchfactor="1"/>
       
    45                 <linearitem itemname="noMusic" spacing="0.0"/>
       
    46                 <stretchitem stretchfactor="1"/>
       
    47             </layout>
       
    48         </widget>
       
    49     </section>
       
    50 
       
    51     <section name="mediaWall">
       
    52         <widget name="mediawalContainer">
       
    53             <!-- dont change the media wall widget name it is used on custom css-->
       
    54             <widget name="MPmediaWallWidget" type="HgMediawall">
       
    55                 <sizepolicy horizontalPolicy="Ignored" verticalPolicy="Ignored"/>
       
    56             </widget>
       
    57             <layout type="linear" orientation="Vertical" >
       
    58                 <contentsmargins bottom="0" left="0" right="0" top="0"/>
       
    59                 <linearitem itemname="MPmediaWallWidget" spacing="0.0"/>
       
    60             </layout>
       
    61         </widget>
       
    62     </section>
       
    63     
       
    64 </hbdocument>