<?xml version="1.0" encoding="utf-8" ?>
<Layout>
    <Image name="bkg" x="0" y="0" image="bkg_free.jpg" />

    <Button name="back" x="0" y="0" scale="0.8" image="/toolbar/button_toolbar_2.png">
        <Image name="button" x="0" y="0" scale="0.8" image="/toolbar/back.png"/>
        <Click cmd="layout" param="MainMenu">
            <Param value="crossfade"/>
        </Click>

        <AnimController autoPlay="1">
            <ActionChain>
                <EfxColor duration="0.0" to="00FFFFFF"/>
                <EfxWait delay="1"/>
                <ActionGroup>
                    <EfxMove from_x="-100" to_x="0" mode="ftx" duration="0.1"/>
                    <EfxColor duration="1" to="FFFFFFFF"/>
                </ActionGroup>
            </ActionChain>
        </AnimController>    
    </Button>
    
    <Text name="text1" x="580" y="30" width="320" height="20" font="author" text="GAME_OVER_DEMO_TEXT1" align="C" color="FFfec326"/>
    <Text name="text2" x="620" y="85" width="270" height="40" font="author" text="GAME_OVER_DEMO_TEXT2" align="C" color="FFf8863c"/>
    <Text name="text3" x="590" y="190" width="350" height="20" font="author" text="GAME_OVER_DEMO_TEXT3" align="C" color="FFFFFFFF"/>
    <Text name="text4" x="680" y="245" width="200" height="35" font="author" text="GAME_OVER_DEMO_TEXT4" align="C" color="FFFFFFFF"/>
    <Text name="text5" x="680" y="355" width="200" height="35" font="author" text="GAME_OVER_DEMO_TEXT5" align="C" color="FFFFFFFF"/>
    <Text name="text6" x="680" y="465" width="200" height="35" font="author" text="GAME_OVER_DEMO_TEXT6" align="C" color="FFFFFFFF"/>

    <!-- free - update -->
    <Button name="free_update" x="800" y="540" image="/main_menu/unlock_button.png" create_if="$device.getGameType == free">
        <Event id="click_to_upgrade"/>
        <Click cmd="url" param="ddLink"/>
        <Text x="10" y="120" width="150" height="100" font="author" color="FFeaac11" text="UNLOCK_BTN" align="C"/>
    </Button>
    
    <!-- free - restore>
    
    <Button name="free_restore"  x="665" y="560" image="/main_menu/restore_button.png" create_if="$device.getGameType == free">
        <Text x="-20" y="80" width="150" height="100" font="author" color="FFeaac11" text="TRIAL_SCREEN_RESTORE_DESC" align="C"/>
        <Click cmd="restore_inapps"/>
    </Button -->
    
    <!-- lite - purchase -->
    
    <Button name="lite_purchase" x="800" y="540" image="/main_menu/update_button.png" create_if="$device.getGameType = lite * $device.hasFullMarketLink = true">
        <Click cmd="url" param="ddLink"/>
        <Text x="10" y="120" width="150" height="100" font="author" color="FFeaac11" text="TRIAL_SCREEN_UNLOCK_BTN" align="C"/>
    </Button>
    
    <!-- trial - purchase -->

    <Button name="trial_purchase" x="800" y="540" image="/main_menu/update_button.png" create_if="$device.getGameType = trial * $device.hasFullMarketLink = true">
        <Click cmd="url" param="ddLink"/>
        <Text x="10" y="120" width="150" height="100" font="author" color="FFeaac11" text="TRIAL_SCREEN_UNLOCK_BTN" align="C"/>
    </Button>
    
    <AnimController autoPlay="1">
        <ActionChain>    
            <EfxSendEvent event="event_gameover_free_didappear"/>
        </ActionChain>
    </AnimController>
</Layout>    
