<?xml version="1.0" encoding="UTF-8"?>
<view xmlns="http://www.sonyericsson.com/sui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sonyericsson.com/sui x:\sui.xsd">
	<background colour="#000000" opacity="0.0"/>
	<visuals>	
		<visual id="video-control">
            <control-inst xsi:type="vpVideoPlaceHolderControl" >
                <background colour="#000000" opacity="0.0"/>
            </control-inst>            
		</visual>
		<!-- special invisible button for toggling transitions -->
		<visual id="invisible_toggle">
			<control-inst xsi:type="buttonType" id="101" >
				<layouts>
					<layout id="selectedState">
						<layout-mgr xsi:type="gridLayoutMgr" fixed-rows="1" fixed-columns="1" />
					</layout>
					<layout id="unselectedState">
						<layout-mgr xsi:type="gridLayoutMgr" fixed-rows="1" fixed-columns="1" />
					</layout>				
				</layouts>
			</control-inst >
		</visual>

        <visual id="VpRealPreRoll">
            <visual-inst xsi:type="imageVisualType">
                <data data-type="provider">CSplashDataProvider#VpRealPreRollIdentifier</data> 
            </visual-inst>
        </visual>
		    <visual id="video_info_bar" tag="title_bar">
            <visual-inst xsi:type="imageVisualType">
		<data data-type="imagedata" bmp="64" msk="65">\resource\Apps\MCVideoPlugin.mbm</data>
            </visual-inst>
        </visual>           
		<visual id="real_media_icon" tag="title_bar">
			<visual-inst xsi:type="imageVisualType">
				<data data-type="provider">video-title-provider#realmediaicon</data> 
			</visual-inst>
		</visual>	
		<visual id="video_title" tag="title_bar">
			<visual-inst xsi:type="textVisualType" size="20" h-align="locale" wrap="truncate"
				font="arial" colour="#FFFFFF">
				<data data-type="provider">video-title-provider#title</data>
				<style bold="false"/>
			</visual-inst>
		</visual>
		<visual id="video_nocodec" tag="title_bar">
			<visual-inst xsi:type="textVisualType" size="20" h-align="center" wrap="truncate"
				font="arial" colour="#FFFFFF">
				<data data-type="provider">nocodec-title-provider#nocodec</data>
				<style outline="#000000"/>
			</visual-inst>
		</visual>

        <visual id="NaviBarBackground" tag="navipane">
            <visual-inst xsi:type="imageVisualType" scale-mode="fit">
		<data data-type="imagedata" bmp="14" msk="15">\resource\Apps\MCVideoPlugin.mbm</data>
            </visual-inst>
        </visual>  
                
        <visual id="VPProgBar" tag="progress_bar">
            <include href="MCProgressBar\MCProgressBar_Control.xml"/>
        </visual>
            
        <visual id="VPTrackTotalLength_portrait" tag="progress_bar">
            <visual-inst xsi:type="textVisualType" size="18" colour="#FFFFFF" h-align="right">
                <data data-type="provider">CProgressBarDataProvider#TrackTotalLength</data> 
            </visual-inst>
        </visual>
        <visual id="VPTrackPosition_portrait" tag="progress_bar">
            <visual-inst xsi:type="textVisualType" size="18" colour="#FFFFFF" h-align="left">
                <data data-type="provider">CProgressBarDataProvider#TrackPosition</data> 
            </visual-inst>
        </visual>
                
        <visual id="VPTrackTotalLength_landscape" tag="progress_bar">
            <visual-inst xsi:type="textVisualType" size="18" colour="#FFFFFF">
                <data data-type="provider">CProgressBarDataProvider#TrackTotalLength</data> 
            </visual-inst>
        </visual>
        <visual id="VPTrackPosition_landscape" tag="progress_bar">
            <visual-inst xsi:type="textVisualType" size="18" colour="#FFFFFF">
                <data data-type="provider">CProgressBarDataProvider#TrackPosition</data> 
            </visual-inst>
        </visual>
                
        <visual id="VPPlayView_RewindButton" tag="navipane">
            <include href="MCVPRewindButton.xml"/>
        </visual>
        
        <visual id="VPPlayView_ForwardButton" tag="navipane">
            <include href="MCVPForwardButton.xml"/>
        </visual>

        <visual id="VPPlayView_PlayPauseButton" tag="navipane">
            <include href="MCVPPlayPauseButton.xml"/>
        </visual>

		<visual id="main_buttonbar" tag="extended_buttonbar">
			<include href="MCFExtendedButtonbar.xml"/>
		</visual>
	</visuals>
	<layouts>
		<layout id="playview_portraitlayout">
			<layout-mgr xsi:type="fixedLayoutMgr">
				<layout-item xsi:type="fixedLayoutItemType" x="0" y="0" width="360" height="640">
					<include href="vpplayview_layout_port.xml"/>
				</layout-item>
				<layout-item xsi:type="fixedLayoutItemType" x="324" y="10" width="18" height="18">
				    <visual-link visual-id="real_media_icon"/>
				</layout-item> 
				<layout-item xsi:type="fixedLayoutItemType" x="18" y="10" width="296" height="20">
				    <visual-link visual-id="video_title"/>
				</layout-item>
			</layout-mgr>
		</layout>

		<layout id="playview_landscapelayout">
			<layout-mgr xsi:type="fixedLayoutMgr">
				<layout-item xsi:type="fixedLayoutItemType" x="0" y="0" width="640" height="360">
					<include href="vpplayview_layout_land.xml"/>
				</layout-item>
				<layout-item xsi:type="fixedLayoutItemType" x="464" y="10" width="18" height="18">
				    <visual-link visual-id="real_media_icon"/>
				</layout-item>
				<layout-item xsi:type="fixedLayoutItemType" x="158" y="10" width="296" height="20">
				    <visual-link visual-id="video_title"/>
				</layout-item>				
			</layout-mgr>
		</layout>

		<!-- for NoCodec portrait -->
		<layout id="playview_portraitlayout_nocodec">
			<layout-mgr xsi:type="fixedLayoutMgr">
				<layout-item xsi:type="fixedLayoutItemType" x="0" y="0" width="360" height="640">
					<include href="vpplayview_layout_port.xml"/>
				</layout-item>
				<layout-item xsi:type="fixedLayoutItemType" x="324" y="10" width="18" height="18">
				    <visual-link visual-id="real_media_icon"/>
				</layout-item> 
				<layout-item xsi:type="fixedLayoutItemType" x="18" y="10" width="296" height="20">
				    <visual-link visual-id="video_title"/>
				</layout-item>
				<layout-item xsi:type="fixedLayoutItemType" x="28" y="48" width="304" height="24">
					<visual-link visual-id="video_nocodec"/>
				</layout-item>
			</layout-mgr>
		</layout>

		<!-- for NoCodec landscape -->
		<layout id="playview_landscapelayout_nocodec">
			<layout-mgr xsi:type="fixedLayoutMgr">
				<layout-item xsi:type="fixedLayoutItemType" x="0" y="0" width="640" height="360">
					<include href="vpplayview_layout_land.xml"/>
				</layout-item>
				<layout-item xsi:type="fixedLayoutItemType" x="464" y="10" width="18" height="18">
				    <visual-link visual-id="real_media_icon"/>
				</layout-item>
				<layout-item xsi:type="fixedLayoutItemType" x="158" y="10" width="296" height="20">
				    <visual-link visual-id="video_title"/>
				</layout-item>				
				<layout-item xsi:type="fixedLayoutItemType" x="168" y="48" width="304" height="24">
					<visual-link visual-id="video_nocodec"/>
				</layout-item>
			</layout-mgr>
		</layout>

		<layout id="playview_portraitlayout_fullscreen">
			<layout-mgr xsi:type="fixedLayoutMgr">
				<layout-item xsi:type="fixedLayoutItemType" x="0" y="40" width="360" height="406">
					<visual-link visual-id="video-control"/>
				</layout-item>
                <layout-item xsi:type="fixedLayoutItemType" x="105" y="240" width="150" height="75">
                    <visual-link visual-id="VpRealPreRoll"/>
                </layout-item>
			
				<!-- special invisible button for toggling transitions -->
				<layout-item xsi:type="fixedLayoutItemType" x="0" y="0" width="360" height="640">
					<visual-link visual-id="invisible_toggle"/>
				</layout-item>	
			</layout-mgr>
		</layout>
		
		<layout id="playview_landscapelayout_fullscreen">
			<layout-mgr xsi:type="fixedLayoutMgr">
				<layout-item xsi:type="fixedLayoutItemType" x="0" y="0" width="640" height="360">
					<visual-link visual-id="video-control"/>
				</layout-item>			
                <layout-item xsi:type="fixedLayoutItemType" x="245" y="117" width="150" height="75">
                    <visual-link visual-id="VpRealPreRoll"/>
                </layout-item>             		
			 <!-- special invisible button for toggling transitions -->
				<layout-item xsi:type="fixedLayoutItemType" x="0" y="0" width="640" height="360">
					<visual-link visual-id="invisible_toggle"/>
				</layout-item>   
			</layout-mgr>
		</layout>
	</layouts>
	<configurations>
		<configuration xsi:type="orientationConfigurationType" orientation="portrait" id="playview_portraitlayout"/>
		<configuration xsi:type="orientationConfigurationType" orientation="landscape" id="playview_landscapelayout"/>
	</configurations>
	
	<!-- <include href="playviewtransitions.xml"/> -->
	<include href="MCFPlayViewTransitions.xml"/>
</view>
