videoplayback/hbvideoplaybackview/resources/hbvideoplaybackview.docml
changeset 37 4eb2df7f7cbe
parent 36 8aed59de29f9
child 38 ff53afa8ad05
--- a/videoplayback/hbvideoplaybackview/resources/hbvideoplaybackview.docml	Fri Apr 16 18:13:14 2010 +0300
+++ b/videoplayback/hbvideoplaybackview/resources/hbvideoplaybackview.docml	Fri Apr 30 09:52:11 2010 +0300
@@ -130,117 +130,12 @@
                     <anchoritem dst="progressSlider" dstEdge="RIGHT" spacing="0" src="" srcEdge="RIGHT"/>
                 </layout>
             </widget>
-            <widget name="buttonBarLayout" type="HbWidget">
-                <widget name="aspectRatioAndAttachButtonLayout" type="HbWidget">
-                    <widget name="attachButton" type="HbPushButton">
-                        <icon iconName="qtg_mono_attach" name="icon"/>
-                        <sizehint height="50" type="PREFERRED" width="150"/>
-                        <sizehint height="50" type="MINIMUM" width="120"/>
-                        <bool name="visible" value="FALSE"/>
-                        <string name="state" value="normal"/>
-                    </widget>
-                    <widget name="aspectRatioButtons" type="HbWidget">
-                        <widget name="naturalButton" type="HbPushButton">
-                            <icon iconName="qtg_mono_aspect_ratio_natural" name="icon"/>
-                            <sizehint height="50" type="PREFERRED" width="150"/>
-                            <sizehint height="50" type="MINIMUM" width="120"/>
-                            <bool name="visible" value="FALSE"/>
-                            <string name="state" value="normal"/>
-                        </widget>
-                        <widget name="stretchButton" type="HbPushButton">
-                            <icon iconName="qtg_mono_aspect_ratio_stretched" name="icon"/>
-                            <real name="z" value="1"/>
-                            <sizehint height="50" type="PREFERRED" width="150"/>
-                            <sizehint height="50" type="MINIMUM" width="120"/>
-                            <bool name="visible" value="FALSE"/>
-                            <string name="state" value="normal"/>
-                        </widget>
-                        <widget name="zoomButton" type="HbPushButton">
-                            <icon iconName="qtg_mono_aspect_ratio_zoom" name="icon"/>
-                            <real name="z" value="2"/>
-                            <sizehint height="50" type="PREFERRED" width="150"/>
-                            <sizehint height="50" type="MINIMUM" width="120"/>
-                            <string name="state" value="normal"/>
-                        </widget>
-                        <real name="z" value="0"/>
-                        <sizehint height="50" type="PREFERRED" width="150"/>
-                        <sizehint height="50" type="MINIMUM" width="120"/>
-                        <layout type="stacked">
-                            <stackitem itemname="naturalButton"/>
-                            <stackitem itemname="stretchButton"/>
-                            <stackitem itemname="zoomButton"/>
-                        </layout>
-                    </widget>
-                    <real name="z" value="0"/>
-                    <sizehint height="50" type="PREFERRED" width="150"/>
-                    <sizehint height="50" type="MINIMUM" width="120"/>
-                    <layout type="stacked">
-                        <stackitem itemname="aspectRatioButtons"/>
-                        <stackitem itemname="attachButton"/>
-                    </layout>
-                </widget>
-                <widget name="rwButton" type="HbPushButton">
-                    <icon iconName="qtg_mono_previous" name="icon"/>
-                    <sizehint height="50" type="PREFERRED" width="150"/>
-                    <sizehint height="50" type="MINIMUM" width="120"/>
-                    <string name="state" value="normal"/>
-                </widget>
-                <widget name="playPauseButtons" type="HbWidget">
-                    <widget name="playButton" type="HbPushButton">
-                        <icon iconName="qtg_mono_play" name="icon"/>
-                        <real name="z" value="1"/>
-                        <sizehint height="50" type="PREFERRED" width="150"/>
-                        <sizehint height="50" type="MINIMUM" width="120"/>
-                        <bool name="visible" value="FALSE"/>
-                        <string name="state" value="normal"/>
-                    </widget>
-                    <widget name="pauseButton" type="HbPushButton">
-                        <icon iconName="qtg_mono_pause" name="icon"/>
-                        <sizehint height="50" type="PREFERRED" width="150"/>
-                        <sizehint height="50" type="MINIMUM" width="120"/>
-                        <string name="state" value="normal"/>
-                    </widget>
-                    <real name="z" value="0"/>
-                    <sizehint height="150" type="PREFERRED" width="150"/>
-                    <sizehint height="52" type="MINIMUM" width="120"/>
-                    <layout type="stacked">
-                        <stackitem itemname="playButton"/>
-                        <stackitem itemname="pauseButton"/>
-                    </layout>
-                </widget>
-                <widget name="ffButton" type="HbPushButton">
-                    <icon iconName="qtg_mono_next" name="icon"/>
-                    <real name="z" value="7"/>
-                    <sizehint height="50" type="PREFERRED" width="150"/>
-                    <sizehint height="50" type="MINIMUM" width="120"/>
-                    <string name="state" value="normal"/>
-                </widget>
-                <widget name="detailsButton" type="HbPushButton">
-                    <icon iconName="qtg_mono_info" name="icon"/>
-                    <sizehint height="50" type="PREFERRED" width="150"/>
-                    <sizehint height="50" type="MINIMUM" width="120"/>
-                    <string name="state" value="normal"/>
-                </widget>
-                <real name="z" value="1"/>
-                <sizehint height="50" type="PREFERRED" width="640"/>
-                <sizehint height="50" type="MINIMUM" width="178"/>
-                <bool name="visible" value="TRUE"/>
-                <layout orientation="Horizontal" spacing="0px" type="linear">
-                    <contentsmargins bottom="0px" left="0px" right="0px" top="0px"/>
-                    <linearitem itemname="aspectRatioAndAttachButtonLayout"/>
-                    <linearitem itemname="rwButton"/>
-                    <linearitem itemname="playPauseButtons"/>
-                    <linearitem itemname="ffButton"/>
-                    <linearitem itemname="detailsButton"/>
-                </layout>
-            </widget>
             <real name="z" value="1"/>
             <sizehint height="160" type="PREFERRED" width="80"/>
             <bool name="visible" value="FALSE"/>
             <layout orientation="Vertical" spacing="0px" type="linear">
                 <contentsmargins bottom="0px" left="0px" right="0px" top="0px"/>
                 <linearitem itemname="progressBarLayout"/>
-                <linearitem itemname="buttonBarLayout"/>
             </layout>
         </widget>
         <size height="360" name="size" width="640"/>
@@ -253,13 +148,15 @@
             <anchoritem dst="title" dstEdge="LEFT" spacing="0" src="" srcEdge="LEFT"/>
             <anchoritem dst="title" dstEdge="RIGHT" spacing="0" src="" srcEdge="RIGHT"/>
             <anchoritem dst="title" dstEdge="TOP" spacing="62" src="" srcEdge="TOP"/>
+            <anchoritem dst="title" dstEdge="BOTTOM" spacing="100" src="" srcEdge="TOP"/>
             <anchoritem dst="fileDetailsLayout" dstEdge="LEFT" spacing="0" src="" srcEdge="CENTERH"/>
             <anchoritem dst="fileDetailsLayout" dstEdge="RIGHT" spacing="0" src="" srcEdge="RIGHT"/>
             <anchoritem dst="fileDetailsLayout" dstEdge="TOP" spacing="62" src="" srcEdge="TOP"/>
-            <anchoritem dst="fileDetailsLayout" dstEdge="BOTTOM" spacing="-100" src="" srcEdge="BOTTOM"/>
+            <anchoritem dst="fileDetailsLayout" dstEdge="BOTTOM" spacing="-110" src="" srcEdge="BOTTOM"/>
             <anchoritem dst="bitmapLayout" dstEdge="LEFT" spacing="0" src="" srcEdge="LEFT"/>
             <anchoritem dst="bitmapLayout" dstEdge="RIGHT" spacing="0" src="" srcEdge="CENTERH"/>
             <anchoritem dst="bitmapLayout" dstEdge="TOP" spacing="62" src="" srcEdge="TOP"/>
+            <anchoritem dst="bitmapLayout" dstEdge="BOTTOM" spacing="-110" src="" srcEdge="BOTTOM"/>
             <anchoritem dst="detailsPlaybackWindow" dstEdge="TOP" spacing="0" src="title" srcEdge="BOTTOM"/>
             <anchoritem dst="detailsPlaybackWindow" dstEdge="LEFT" spacing="0" src="" srcEdge="LEFT"/>
             <anchoritem dst="detailsPlaybackWindow" dstEdge="RIGHT" spacing="0" src="" srcEdge="CENTERH"/>
@@ -268,12 +165,10 @@
             <anchoritem dst="transparentWindow" dstEdge="TOP" spacing="0" src="" srcEdge="TOP"/>
             <anchoritem dst="transparentWindow" dstEdge="RIGHT" spacing="0" src="" srcEdge="RIGHT"/>
             <anchoritem dst="transparentWindow" dstEdge="BOTTOM" spacing="0" src="" srcEdge="BOTTOM"/>
-            <anchoritem dst="title" dstEdge="BOTTOM" spacing="100" src="" srcEdge="TOP"/>
             <anchoritem dst="controlBarLayout" dstEdge="LEFT" spacing="0" src="" srcEdge="LEFT"/>
+            <anchoritem dst="controlBarLayout" dstEdge="TOP" spacing="-110" src="" srcEdge="BOTTOM"/>
             <anchoritem dst="controlBarLayout" dstEdge="RIGHT" spacing="0" src="" srcEdge="RIGHT"/>
-            <anchoritem dst="controlBarLayout" dstEdge="BOTTOM" spacing="0" src="" srcEdge="BOTTOM"/>
-            <anchoritem dst="bitmapLayout" dstEdge="BOTTOM" spacing="-100" src="" srcEdge="BOTTOM"/>
-            <anchoritem dst="controlBarLayout" dstEdge="TOP" spacing="-100" src="" srcEdge="BOTTOM"/>
+            <anchoritem dst="controlBarLayout" dstEdge="BOTTOM" spacing="-60" src="" srcEdge="BOTTOM"/>
         </layout>
     </widget>
     <section name="detailsView">
@@ -289,26 +184,13 @@
             <sizehint height="264" type="PREFERRED" width="320"/>
         </widget>
     </section>
-    <section name="audioOnlyViewWithLocalPlayback">
+    <section name="audioOnlyView">
         <widget name="content" type="HbWidget">
             <layout type="anchor">
                 <anchoritem dst="fileDetailsLayout" dstEdge="TOP" spacing="62" src="" srcEdge="TOP"/>
                 <anchoritem dst="fileDetailsLayout" dstEdge="LEFT" spacing="0" src="" srcEdge="CENTERH"/>
                 <anchoritem dst="fileDetailsLayout" dstEdge="RIGHT" spacing="0" src="" srcEdge="RIGHT"/>
-                <anchoritem dst="fileDetailsLayout" dstEdge="BOTTOM" spacing="-100" src="" srcEdge="BOTTOM"/>
-            </layout>
-        </widget>
-        <widget name="fileDetailsLayout" type="HbWidget">
-            <sizehint height="198" type="PREFERRED" width="320"/>
-        </widget>
-    </section>
-    <section name="audioOnlyViewWithNonLocalPlayback">
-        <widget name="content" type="HbWidget">
-            <layout type="anchor">
-                <anchoritem dst="fileDetailsLayout" dstEdge="TOP" spacing="62" src="" srcEdge="TOP"/>
-                <anchoritem dst="fileDetailsLayout" dstEdge="LEFT" spacing="0" src="" srcEdge="CENTERH"/>
-                <anchoritem dst="fileDetailsLayout" dstEdge="RIGHT" spacing="0" src="" srcEdge="RIGHT"/>
-                <anchoritem dst="fileDetailsLayout" dstEdge="BOTTOM" spacing="-100" src="" srcEdge="BOTTOM"/>
+                <anchoritem dst="fileDetailsLayout" dstEdge="BOTTOM" spacing="-110" src="" srcEdge="BOTTOM"/>
             </layout>
         </widget>
         <widget name="fileDetailsLayout" type="HbWidget">