<?xml version="1.0" encoding="utf-8" ?>
<Layout>
    
    <Widget x="0" y="0">
    
        <Button name="back_main" x="0" y="15">
            <Image x="0" y="0" image="button_toolbar_2.png"/>
            <Image x="-2" y="-6" image="back.png"/>
            <Click cmd="layout" param="back">
                <Param value="crossfade"/>
            </Click>
            
             <AnimController autoPlay="1">
                <ActionChain>
                    <EfxColor duration="0.0" to="00FFFFFF"/>
                    <EfxWait delay="0.10"/>
                    <ActionGroup>
                        <EfxMove from_x="-100" to_x="5"  mode="ftx" duration="0.1"/>
                        <EfxColor duration="0.0" to="FFFFFFFF"/>
                    </ActionGroup>
                </ActionChain>
            </AnimController>

            <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>
        
        <DoodleUniverseController x="0" y="151">
        <Button name="universe" x="0" y="0" show_if="$config.social_net_show_doodle_universe = 1">
            <Image x="0" y="0" width="136" height="136" image="../main_menu/go_mobile.png"/>
            
            <Text name="text_universe" x="0" y="94" width="136" height="40" font="small" text="MAINMENU_SCR_UNIVERSE_BTN" align="C" color="64000000"/>
            <Text name="text_universe" x="0" y="92" width="136" height="40" font="small" text="MAINMENU_SCR_UNIVERSE_BTN" align="C" />

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

            <AnimController autoPlay="1">
                <ActionChain>
                    <EfxVisible visible="0"/>
                    <EfxWait delay="0.65"/>
                    <ActionGroup>
                        <EfxScaleXY duration="0.5" from_x="0.3" from_y="0.3" to_x="1" to_y="1" modifier="bounce" />
                        <EfxVisible visible="1"/>
                    </ActionGroup>
                </ActionChain>
            </AnimController>
            
            <Properties>
                <Property key="sfx_btn_hover">button_hover</Property>
            </Properties>
        </Button>
        </DoodleUniverseController>
        
        <Button name="shopmoney" x="0" y="559" create_if="$device.hasInAppSupport == true">
            <Image x="0" y="0" image="button_toolbar_2.png"/>
            <Image name="button" x="0" y="0" image="/toolbar/shop_money.png"/>
            <Click cmd="layout" param="ShopMoney">
                <Param value="crossfade"/>
            </Click>
             <AnimController autoPlay="1">
                <ActionChain>
                    <EfxColor duration="0.0" to="00FFFFFF"/>
                    <EfxWait delay="0.15"/>
                    <ActionGroup>
                        <EfxMove from_x="-100" to_x="5"  mode="ftx" duration="0.1"/>
                        <EfxColor duration="0.0" to="FFFFFFFF"/>
                    </ActionGroup>
                </ActionChain>
            </AnimController>

            <Properties>
                <Property key="sfx_btn_hover">button_hover</Property>
            </Properties>
            
            <SelectorController>
                <Action type="0" btn="14" cmd="press"/>
                <Container class="GPOnceContainer"/>
                <Item path=".." scale="1 1" alias="btn_x" offset="-12 10"/>
            </SelectorController>
        </Button>
        
    </Widget>
</Layout>
