<Layout>
    <Image name="bkg" x="0" y="30" image="dialog_devil_big.png"/>
    
    <SelectorController>
        <Action type="1" axis="0" val="-0.5" use_val="1" cmd="left"/>
        <Action type="1" axis="0" val="0.5" use_val="1" cmd="right"/>
        <Action type="1" axis="1" val="-0.5" use_val="1" cmd="up"/>
        <Action type="1" axis="1" val="0.5" use_val="1" cmd="down"/>
        <Action type="0" btn="12" cmd="press"/>
        
        <Container class="GPGraphContainer"/>
        
        <Item path="../*/upload_button" scale="1 1" def="1" />
        <Item path="../*/upload_button_gray" scale="1 1" />
        <Item path="../*/download_button" scale="1 1" />
        <Item path="../*/download_button_gray" scale="1 1" />
        <Item path="../*/facebook_button" scale="1 1" />
    </SelectorController>
    
    <Button name="close_button" x="516" y="206">
        <Image x="0" y="0" image="close.png"/>
        
        <Properties>
            <Property key="sfx_btn_hover">button_hover</Property>
        </Properties>
        
        <SelectorController>
            <Action type="0" btn="13" cmd="press"/>
            <Container class="GPOnceContainer"/>
            <Item path=".." scale="1 1" alias="btn_b" offset="-12 10"/>
        </SelectorController>        
    </Button>
    
    <Image x="139" y="227" width="115" height="115" image="green_light.png" />
    <Image x="139" y="227" width="115" height="115" image="cloud_sync_icon.png" />
    
    <Text name="header_text" x="241" y="256" width="300" height="50" font="small" align="W" color="FFffffff" text="MESSAGEBOX_CLOUD_DESC" lineHeight="15"/>
    
    <Image x="164" y="340" image="icon_border.png" />
    <Image x="406" y="340" image="icon_border.png" />
    
    <Image x="152" y="340" image="pc_synchronization.png" create_if="$device.getDeviceType == PC" />
    <Image x="421" y="340" image="pc_synchronization.png" create_if="$device.getDeviceType == PC" />
    <Image x="285" y="300" image="facebook_synchronization_cloud.png"/>
    <Image x="152" y="340" image="tablet_synchronization.png" create_if="$device.getDeviceType != PC" />
    <Image x="421" y="340" image="tablet_synchronization.png" create_if="$device.getDeviceType != PC" />
    
    <Image x="272" y="343" image="arrow_green.png" />
    <Image x="395" y="345" image="arrow_orange.png" />
    
    <Image x="164" y="462" image="icon_border_03.png" width="200" height="75" />
    <CloudSyncProgressLabel name="current_progress" x="167" y="461">    
        <Text name="main_game" x="0" y="-5" width="180" height="36" font="small" align="C" text="0" color="FF000000" scale="0.8"/>
        <Text name="quests" x="0" y="15" width="180" height="36" font="small" align="C" text="0" color="FF000000" scale="0.8"/>
        <Text name="puzzles" x="0" y="35" width="180" height="36" font="small" align="C" text="0" color="FF000000" scale="0.8"/>
    </CloudSyncProgressLabel>

    <Image x="372" y="462" image="icon_border_03.png" width="200" height="75" />
    <CloudSyncProgressLabel name="cloud_progress" x="375" y="461">
        <Text name="main_game" x="0" y="-5" width="180" height="36" font="small" align="C" text="0" color="FF000000" scale="0.8"/>
        <Text name="quests" x="0" y="15" width="180" height="36" font="small" align="C" text="0" color="FF000000" scale="0.8"/>
        <Text name="puzzles" x="0" y="35" width="180" height="36" font="small" align="C" text="0" color="FF000000" scale="0.8"/>
    </CloudSyncProgressLabel>
    
    <Text name="upload_hint_text" x="163" y="585" width="180" height="50" font="small" align="N" text="MESSAGEBOX_CLOUD_UPLOAD_HINT" color="FFffffff" lineHeight="15"/>
    <Text name="download_hint_text" x="375" y="585" width="180" height="50" font="small" align="N" text="MESSAGEBOX_CLOUD_DOWNLOAD_HINT" color="FFffffff" lineHeight="15"/>
        
    <Image name="small_arrow" x="218" y="635" image="small_arrow.png" />
    
    <Text name="facebook_text" x="267" y="645" width="280" height="52" font="small" align="W" text="MESSAGEBOX_CLOUD_FACEBOOK" color="FFffffff" lineHeight="15"/>
</Layout>
