<?xml version="1.0" encoding="utf-8" ?>
<Layout>
    <Image name="bkg" x="0" y="0" image="/interface/bkg_4_3_book.jpg"/>
    <Image name="planet_slots" x="195" y="636" image="/interface/planet_slots.png"/>

    <GPSharedActions>
        <Action type="0" btn="12" cmd="press"/>
    </GPSharedActions>

    <GPToolbarController>
        <Action type="0" btn="2" cmd="left"/>
        <Action type="0" btn="3" cmd="right"/>
        <Action type="0" btn="12" cmd="press"/>

        <Container class="GPButtonsContainer"/>

        <Item path="../*/back" scale="1 1" cID="def_circle"/>
        <Item path="../*/universe" scale="1 1" cID="def_circle"/>
    </GPToolbarController>

    <SelectorController>
        <Action type="1" axis="0" use_val="1" val="-0.75" cmd="left"/>
        <Action type="1" axis="0" use_val="1" val="0.75" cmd="right"/>
        <Action type="1" axis="1" use_val="1" val="-0.75" cmd="up"/>
        <Action type="1" axis="1" use_val="1" val="0.75" cmd="down"/>
        <Action type="0" btn="12" cmd="press"/>

        <Container class="GPGridContainer"/>

        <Item path="../right/review_please" scale="1 1"/>
        <Item path="../right/feedback_please" scale="1 1"/>
    </SelectorController>

    <Button name="back" x="202" y="643">
        <Image x="2" y="-1" image="/toolbar/button_toolbar_2.png"/>
        <Image x="0" y="0" image="/toolbar/back.png"/>
        <Click cmd="layout" param="back">
            <Param value="crossfade"/>
        </Click>

        <AnimController autoPlay="1">
            <ActionChain>
                <EfxColor duration="0" to="00FFFFFF" />
                <EfxWait delay="0.3"/>
                <ActionGroup>
                    <EfxScaleXY duration="0.3" from_x="0.3" from_y="0.3" to_x="1" to_y="1" modifier="bounce" />
                    <EfxColor duration="0.3" from="00FFFFFF" to="FFFFFFFF" />
                </ActionGroup>
            </ActionChain>
        </AnimController>

        <SelectorController>
            <Action type="0" btn="13" cmd="press"/>
            <Container class="GPOnceContainer"/>
            <Item path=".." scale="1 1" alias="btn_b" offset="-12 10"/>
        </SelectorController>
    </Button>

    <DoodleUniverseController x="458" y="643">
        <Button name="universe" x="0" y="0" show_if="$config.social_net_show_doodle_universe = 1">

            <Image x="0" y="0" width="109" height="109" image="../main_menu/go_mobile.png"/>

            <Text name="text_universe" x="15" y="72" width="80" height="40" font="small" text="MAINMENU_SCR_UNIVERSE_BTN" align="C"  color="64000000"/>
            <Text name="text_universe" x="15" y="70" width="80" height="40" font="small" text="MAINMENU_SCR_UNIVERSE_BTN" align="C"  />

            <Click cmd="layout" param="Universe">
                <Param value="crossfade"/>
            </Click>

            <AnimController autoPlay="1">
                <ActionChain>
                    <EfxColor duration="0" to="00FFFFFF" />
                    <EfxWait delay="0.9"/>
                    <ActionGroup>
                        <EfxScaleXY duration="0.5" from_x="0.3" from_y="0.3" to_x="1" to_y="1" modifier="bounce" />
                        <EfxColor duration="0.5" from="00FFFFFF" to="FFFFFFFF" />
                    </ActionGroup>
                </ActionChain>
            </AnimController>

            <Properties>
                <Property key="sfx_btn_hover">button_hover</Property>
            </Properties>
        </Button>
    </DoodleUniverseController>

    <Button name="advertising" x="583" y="643" create_if="$config.ad_enabled == 1 * $config.ad_button_enabled == 1" show_if="$device.hasNeededAdsAvail == true">
        <Image x="0" y="0" image="/toolbar/button_toolbar_2.png"/>
        <Image x="-1" y="2" width="109" height="109" image="/toolbar/advertisement.png"/>

        <AnimController autoPlay="1">
            <ActionChain>
                <EfxColor duration="0" to="00FFFFFF" />
                <EfxWait delay="1.2"/>
                <ActionGroup>
                    <EfxPlaySound sound="tool_bar_btn_appear"/>
                    <EfxScaleXY duration="0.5" from_x="0.3" from_y="0.3" to_x="1" to_y="1" modifier="bounce" />
                    <EfxColor duration="0.5" from="00FFFFFF" to="FFFFFFFF" />
                </ActionGroup>
            </ActionChain>
        </AnimController>

        <Properties>
            <Property key="sfx_btn_hover">button_hover</Property>
        </Properties>
        <Event id="event_ad_action"/>
    </Button>

    <Widget name="field" x="15" y="732" width="500" height="500"/>

    <Widget name="stage" x="15" y="73" >
        <Image name="flash" x="-55" y="-60" image="splash.png"/>
    </Widget>

    <Widget name="right" x="513" y="82">

        <Image name="non_anim_paper" x="50" y="20" image="review_teaser.png"/>

        <AnimController autoPlay="1">
            <ActionChain>
                <EfxColor duration="0.0" to="00FFFFFF"/>
                <EfxWait delay="0.4"/>
                <ActionGroup>
                    <EfxColor duration="0.3" from="00FFFFFF" to="FFFFFFFF"/>
                </ActionGroup>
            </ActionChain>
        </AnimController>

        <Button name="review_please" x="30" y="250" create_if="$device.getStore !@ tricolor">
            <Image x="0" y="0" image="/interface/button_big_orange.png" scale="0.8"/>
            <Click cmd="url" param="review" />
            <Text name="review_text" x="42" y="19" width="145" height="20" font="font" align="C" color="FFFFFFFF" text="MAINMENU_SCR_REVIEW_BTN"/>

            <AnimController autoPlay="1">
                <ActionChain>
                    <EfxColor duration="0.0" to="00FFFFFF"/>
                    <EfxWait  delay="0.4" />
                    <ActionGroup>
                        <EfxColor duration="0.1" from="00FFFFFF" to="FFFFFFFF" modifier="bounce" />
                    </ActionGroup>
                </ActionChain>
            </AnimController>
        </Button>

        <Button name="feedback_please" x="230" y="250" visible="1" create_if="$device.getStore !@ tricolor">
            <Image x="0" y="0" image="/interface/button_big_orange.png" scale="0.8"/>
            <Text name="feedback_text" x="32" y="19" width="175" height="20" font="font" align="C" color="FFFFFFFF" text="MAINMENU_SCR_FEEDBACK_BTN"/>

            <AnimController autoPlay="1">
                <ActionChain>
                    <EfxColor duration="0.0" to="00FFFFFF"/>
                    <EfxWait  delay="0.4" />
                    <ActionGroup>
                        <EfxColor duration="0.1" from="00FFFFFF" to="FFFFFFFF" modifier="bounce" />
                    </ActionGroup>
                </ActionChain>
            </AnimController>

        </Button>

    </Widget>

    <aTutorialArrow text="HELP_SCR_TAP" x="570" y="596" width="60" height="24" font="font" align="E" dir="N" arrow="/interface/arrow_u.png" color="FF2D109A" speed="3"/>

    <Widget name="game_banners" x="532" y="442" >

        <Button name="dg_banner" x="0" y="1">
            <Click cmd="add_message" param="game_id">
                <Param value="uni_game1"/>
            </Click>
            <Click cmd="layout" param="UniverseGameLayout"/>
            <Image name="doodle_god" x="0" y="0" image="/featured/banner_god_small.png" />
            <aText name="dg_text" x="313" y="50" font="author" align="C" color="FFFFFFFF" text="aaaaa ddd fff"/>

            <AnimController autoPlay="1">
                <ActionChain>
                    <EfxColor duration="0.0" to="00FFFFFF"/>
                    <EfxWait  delay="0.6" />
                    <ActionGroup>
                        <EfxScaleXY duration="0.3" from_x="0.5" from_y="0.5" to_x="1" to_y="1"/>
                        <EfxColor duration="0.3" from="00FFFFFF" to="FFFFFFFF"/>
                    </ActionGroup>
                </ActionChain>
            </AnimController>
        </Button>

        <Button name="df_banner" x="220" y="0">
            <Click cmd="add_message" param="game_id">
                <Param value="uni_game2"/>
            </Click>
            <Click cmd="layout" param="UniverseGameLayout"/>
            <Image name="doodle_farm" x="0" y="0" image="/featured/banner_farm_small.png" />
            <aText name="df_text" x="313" y="50" font="author" align="C" color="FFFFFFFF" text="aaaaa ddd fff"/>

            <AnimController autoPlay="1">
                <ActionChain>
                    <EfxColor duration="0.0" to="00FFFFFF"/>
                    <EfxWait  delay="0.6" />
                    <ActionGroup>
                        <EfxScaleXY duration="0.3" from_x="0.5" from_y="0.5" to_x="1" to_y="1"/>
                        <EfxColor duration="0.3" from="00FFFFFF" to="FFFFFFFF"/>
                    </ActionGroup>
                </ActionChain>
            </AnimController>

        </Button>

    </Widget>

    <Widget name="status_bar" x="0" y="12" xml="/status_bar/credits_status_bar.xml"/>
    <AnimController autoPlay="1">
        <ActionChain>
            <EfxPlaySound sound="credits_screen_transistion"/>
        </ActionChain>
    </AnimController>
    <!-- <Text name="product_id" x="520" y="570" width="465" height="20" font="small" align="C" color="80FFFFFF" text="MAINMENU_SCR_FEEDBACK_BTN"/> -->
    <ProductID x="510" y="565" create_if="$device.getStore !@ tricolor">
        <Text name="value" x="0" y="0" width="480" height="20" font="small" align="C" color="80FFFFFF" text="" lineHeight="20"/>
    </ProductID>
</Layout>
