<?xml version="1.0" encoding="utf-8" ?>
<Layout x="0" y="0" width="1024" height="768" animate="EfxPopup">
    <Image name="white" x="0" y="0" width="1024" height="1024"  image="white"/>
    <Image name="bkg" x="0" y="-15" image="bkg_landscape"/>
    <Image name="logo" x="235" y="5" image="logo"/>

    <Widget>
        <Button name="area_update_button" x="0" y="0" width="1024" height="768" >
            <Properties>
                <Property key="sfx_btn_hover">button_hover</Property>
            </Properties>
            <Click cmd="url" param="full_market_link"/>
            <Event id="click_to_upgrade"/>
        </Button>

        <Image name="icon" x="60" y="618" width="130" height="130" image="icon_DD.png"  create_if="($device.getPlatform @ IPHONE) | ($device.getPlatform @ IPAD)" />
        <Image name="icon" x="60" y="618" width="130" height="130" image="icon_DD_Q.png"  create_if="($device.getPlatform !@ IPHONE) * ($device.getPlatform !@ IPAD)" />

        <Image x="208" y="611" name="stars" image="stars1" />

        <Text name="reviews" x="214" y="628" width="220" height="60" font="medium" align="W"  color="FF000000" text="75000+" />
        <Image x="372" y="542" name="full" image="full_version_text" />

        <Widget name="btns" x="56" y="588" scale="0.4">
            <Button name="btn" x="17" y="73" image="ad_button_ios.png" create_if="($device.getPlatform @ IPHONE) | ($device.getPlatform @ IPAD)">
                <AnimController autoPlay="0" handler="shake_1">
                    <ActionChain>
                        <EfxScaleXY duration="0.5" from_x="1.0" from_y="1.0" to_x="0.9" to_y="0.9" modifier="bounce"/>
                        <EfxScaleXY duration="0.2" from_x="0.9" from_y="0.9" to_x="1.0" to_y="1.0"/>
                        <EfxSendCmd handler="shake_2" cmd="play"/>
                    </ActionChain>
                </AnimController>

                <AnimController autoPlay="0" handler="shake_2">
                    <ActionChain>
                        <EfxWait delay="3.0"/>
                        <EfxSendCmd handler="shake_1" cmd="play"/>
                    </ActionChain>
                </AnimController>
            </Button>

            <Button name="btn" x="17" y="60" image="ad_button_android.png" create_if="$device.getPlatform @ ANDROID">
                <AnimController autoPlay="0" handler="shake_1">
                    <ActionChain>
                        <EfxScaleXY duration="0.5" from_x="1.0" from_y="1.0" to_x="0.9" to_y="0.9" modifier="bounce"/>
                        <EfxScaleXY duration="0.2" from_x="0.9" from_y="0.9" to_x="1.0" to_y="1.0"/>
                        <EfxSendCmd handler="shake_2" cmd="play"/>
                    </ActionChain>
                </AnimController>

                <AnimController autoPlay="0" handler="shake_2">
                    <ActionChain>
                        <EfxWait delay="3.0"/>
                        <EfxSendCmd handler="shake_1" cmd="play"/>
                    </ActionChain>
                </AnimController>
            </Button>

            <Button name="btn" x="20" y="88" image="ad_button_win8.png" create_if="$device.getPlatform @ WIN8">
                <AnimController autoPlay="0" handler="shake_1">
                    <ActionChain>
                        <EfxScaleXY duration="0.5" from_x="1.0" from_y="1.0" to_x="0.9" to_y="0.9" modifier="bounce"/>
                        <EfxScaleXY duration="0.2" from_x="0.9" from_y="0.9" to_x="1.0" to_y="1.0"/>
                        <EfxSendCmd handler="shake_2" cmd="play"/>
                    </ActionChain>
                </AnimController>

                <AnimController autoPlay="0" handler="shake_2">
                    <ActionChain>
                        <EfxWait delay="3.0"/>
                        <EfxSendCmd handler="shake_1" cmd="play"/>
                    </ActionChain>
                </AnimController>
            </Button>

            <Button name="btn" x="17" y="92" image="ad_button_wp8.png" create_if="$device.getPlatform @ WP8">
                <AnimController autoPlay="0" handler="shake_1">
                    <ActionChain>
                        <EfxScaleXY duration="0.5" from_x="1.0" from_y="1.0" to_x="0.9" to_y="0.9" modifier="bounce"/>
                        <EfxScaleXY duration="0.2" from_x="0.9" from_y="0.9" to_x="1.0" to_y="1.0"/>
                        <EfxSendCmd handler="shake_2" cmd="play"/>
                    </ActionChain>
                </AnimController>

                <AnimController autoPlay="0" handler="shake_2">
                    <ActionChain>
                        <EfxWait delay="3.0"/>
                        <EfxSendCmd handler="shake_1" cmd="play"/>
                    </ActionChain>
                </AnimController>
            </Button>

            <Button name="btn" x="39" y="103" image="green_btn.png" create_if="($device.getPlatform !@ IPHONE) * ($device.getPlatform !@ IPAD) * ($device.getPlatform !@ WIN8) * ($device.getPlatform !@ WP8) * ($device.getPlatform !@ ANDROID)">
                <Text name="text" x="110" y="37" width="200" height="48" scale="1.8" font="medium" align="C" text="MESSAGEBOX_DOWNLOAD" color="FF000000" />
                <Text name="text" x="109" y="36" width="200" height="48" scale="1.8" font="medium" align="C" text="MESSAGEBOX_DOWNLOAD" color="FFFFFFFF" />

                <AnimController autoPlay="0" handler="shake_1">
                    <ActionChain>
                        <EfxScaleXY duration="0.5" from_x="1.0" from_y="1.0" to_x="0.9" to_y="0.9" modifier="bounce"/>
                        <EfxScaleXY duration="0.2" from_x="0.9" from_y="0.9" to_x="1.0" to_y="1.0"/>
                        <EfxSendCmd handler="shake_2" cmd="play"/>
                    </ActionChain>
                </AnimController>

                <AnimController autoPlay="0" handler="shake_2">
                    <ActionChain>
                        <EfxWait delay="3.0"/>
                        <EfxSendCmd handler="shake_1" cmd="play"/>
                    </ActionChain>
                </AnimController>
            </Button>
        </Widget>

        <Button name="update_button" x="535" y="615" >
            <Image x="0" y="0" image="green_btn" />
            <Text name="text" x="15" y="38" width="400" height="48" scale="1.5" font="medium" align="C" text="TRIAL_BTN" color="FFFFFFFF" />
            <Properties>
                <Property key="sfx_btn_hover">button_hover</Property>
            </Properties>
            <Click cmd="url" param="full_market_link"/>
            <Event id="click_to_upgrade"/>
        </Button>

        <AnimController autoPlay="1">
            <ActionGroup>
                <EfxPlaySound sound="freeversion_unlock_screen_transition"/>
                <EfxSendCmd cmd="music_set_pl" param="Main"/>
            </ActionGroup>
        </AnimController>

        <Button name="back" x="930" y="0" image="/message_box/ad_close.png">
            <Click cmd="layout" param="MainMenu">
                <Param value="crossfade"/>
            </Click>
        </Button>
    </Widget>

    <AnimController autoPlay="1">
        <ActionChain>
            <EfxSendEvent event="event_gameover_free_didappear"/>
        </ActionChain>
    </AnimController>
</Layout>