<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- DUI AUTO GENERATED XML VERSION 2.0.0 -->
<!-- UNITY FILE NAME: StadiumsSelect -->

<config>
<eval phase="begin" expression="#langService = T(zinc.service.Locator).fetch(null,T(zinc.service.localization.ILocalizationService))"/>
<eval phase="begin" expression="#False_Value = false"/>
<eval phase="begin" expression="#True_Value = true"/>
<eval phase="begin" expression="#context_width = context.width"/>
<eval phase="begin" expression="#context_height = context.height"/>

<element bind-id="_popupContainer" bind-type="zinc.ui.element.Container" begin-name="_popupContainer" color="${~Constants.COLOR_WHITE}" begin-version="${~Version.UGUI}" sizeX="784" sizeY="598" posX="-392" posY="-300" minY="0.5" maxY="0.5" minX="0.5" maxX="0.5">
    <element bind-id="_frameContainer" bind-type="zinc.ui.element.Container" begin-name="_frameContainer" color="${~Constants.COLOR_WHITE}" begin-version="${~Version.UGUI}" minY="0" maxY="1" minX="0" maxX="1" anchorLeft="0" anchorRight="0" anchorTop="0" anchorBottom="0"/>
    <element bind-id="_stadiumCategoryTouchList" bind-type="madden.ui.element.list.TouchList" begin-name="_stadiumCategoryTouchList" color="${~Constants.COLOR_WHITE}" maskContent="${#True_Value}" begin-version="${~Version.UGUI}" sizeX="546" sizeY="64" posX="224" posY="432" minY="0" maxY="0" minX="0" maxX="0" orientation="${~Orientation.HORIZONTAL}"/>
    <eval phase="after" expression="#_stadiumCategoryTouchList.defaultType=T(madden.ui.element.stadium.SubstadiumIcon)"/>
    <eval phase="after" expression="#_stadiumCategoryTouchList.padding=new zinc.ui.layout.LayoutPadding(0, 0, 0, 0)"/>
    <eval phase="after" expression="#_stadiumCategoryTouchList.addLayoutStep(new zinc.ui.layout.step.SetPropertiesOnItems( T(zinc.utils.MapUtil).toObject({ 'width': 64, 'height':64 }), 1))"/>
    <eval phase="after" expression="#_stadiumCategoryTouchList.addLayoutStep(new zinc.ui.layout.step.PositionItemsInLine(8,#_stadiumCategoryTouchList.width-#_stadiumCategoryTouchList.padding.left-#_stadiumCategoryTouchList.padding.right))"/>
    <eval phase="after" expression="#_stadiumCategoryTouchList.addLayoutStep(new zinc.ui.layout.step.CalculateLayoutSize())"/>
    <eval phase="after" expression="#_stadiumCategoryTouchList.addLayoutStep(new zinc.ui.layout.step.CalculateWindowPercent(true))"/>
    <eval phase="after" expression="#_stadiumCategoryTouchList.addLayoutStep(new zinc.ui.layout.step.CalculateScrollPercent())"/>
    <eval phase="after" expression="#_stadiumCategoryTouchList.addLayoutStep(new zinc.ui.layout.step.PositionMountByScroll())"/>
    <eval phase="after" expression="#_stadiumCategoryTouchList.addLayoutStep(new zinc.ui.layout.step.OptimizeItemsByDistance(Constants.PADDING_LARGE))"/>
    <element bind-id="_infoButton" bind-type="madden.ui.element.button.RectangleButton" begin-name="_infoButton" color="${~Constants.COLOR_WHITE}" visible="${#False_Value}" begin-version="${~Version.UGUI}" sizeX="68" sizeY="64" posX="736" posY="464" originX="0.5" originY="0.5" minY="0" maxY="0" minX="0" maxX="0" icon="icon_ICN_INFO" iconWidth="50" iconHeight="50" iconScale="1" iconColor="${~Constants.COLOR_WHITE}" neutralAsset="common_EMPTY" pointedAsset="common_EMPTY" pressedAsset="common_EMPTY" selectedAsset="common_EMPTY" disabledAsset="common_EMPTY" label="" labelPadding="0" buttonStyle="0"/>
    <element bind-id="_weatherSelectTitle" bind-type="zinc.ui.element.SlicedImage" begin-name="_weatherSelectTitle" color="${~Constants.COLOR_WHITE}" begin-version="${~Version.UGUI}" sizeX="546" sizeY="32" posX="-168" posY="-214" alpha="0.06" minY="1" maxY="1" minX="0.5" maxX="0.5" begin-image="common_TILE_WHITEFC" sliceLeft="4" sliceBottom="4" sliceRight="4" sliceTop="4"/>
    <element bind-id="_titleLabel" bind-type="zinc.ui.element.Label" begin-name="_titleLabel" color="${~Constants.PRIMARY_COLOR}" begin-version="${~Version.UGUI}" sizeY="32" posY="85" minY="0.5" maxY="0.5" minX="0" maxX="1" anchorLeft="232" anchorRight="22" fontSize="14" textAlignV="${~Alignment.CENTER}" textAlignH="${~Alignment.CENTER}" resizeType="${~ResizeType.COMPRESS}" fontFace="CruyffSansNormal, Medium" text="${#langService.getText('HomeStadium_select_Weather')}"/>
    <element bind-id="_imageStadiums" bind-type="zinc.ui.element.Container" begin-name="_imageStadiums" color="${~Constants.COLOR_WHITE}" begin-version="${~Version.UGUI}" sizeX="546" sizeY="288" posX="224" posY="80" minY="0" maxY="0" minX="0" maxX="0">
        <element bind-id="_maskStadiumImageLarge" bind-type="zinc.ui.element.Element" begin-name="_maskStadiumImageLarge" color="${~Constants.COLOR_WHITE}" maskContent="${#True_Value}" begin-version="${~Version.UGUI}" sizeX="546" sizeY="288" posX="0" posY="0" minY="0" maxY="0" minX="0" maxX="0">
            <element bind-id="_stadiumImageCurr" bind-type="zinc.ui.element.Image" begin-name="_stadiumImageCurr" color="${~Constants.COLOR_WHITE}" begin-version="${~Version.UGUI}" sizeX="626" sizeY="288" posX="-40" posY="0" minY="0" maxY="0" minX="0" maxX="0" begin-image="common_TILE_WHITE"/>
            <element bind-id="_stadiumImageNext" bind-type="zinc.ui.element.Image" begin-name="_stadiumImageNext" color="${~Constants.COLOR_WHITE}" begin-version="${~Version.UGUI}" sizeX="626" sizeY="288" posX="-40" posY="0" minY="0" maxY="0" minX="0" maxX="0" begin-image="common_TILE_WHITE"/>
        </element>
        <element bind-id="_bgSlicedImage" bind-type="zinc.ui.element.SlicedImage" begin-name="_bgSlicedImage" color="${~Constants.COLOR_BUTTON_TERTIARY}" begin-version="${~Version.UGUI}" alpha="0" minY="0" maxY="1" minX="0" maxX="1" anchorLeft="0" anchorRight="0" anchorTop="0" anchorBottom="0" begin-image="common_SELECT_OUTLINE" sliceLeft="4" sliceBottom="8" sliceRight="4" sliceTop="4"/>
        <element bind-id="_lockBottomContainer" bind-type="zinc.ui.element.Container" begin-name="_lockBottomContainer" color="${~Constants.COLOR_WHITE}" begin-version="${~Version.UGUI}" sizeX="546" sizeY="32" posX="-273" posY="-32" minY="1" maxY="1" minX="0.5" maxX="0.5">
            <element bind-id="_statusBottomBg" bind-type="zinc.ui.element.SlicedImage" begin-name="_statusBottomBg" color="${~Constants.COLOR_PANEL_COMMON}" begin-version="${~Version.UGUI}" sizeX="546" sizeY="32" posX="-273" posY="-32" alpha="0.8" minY="1" maxY="1" minX="0.5" maxX="0.5" begin-image="common_TILE_WHITE" sliceLeft="2" sliceBottom="2" sliceRight="2" sliceTop="2"/>
            <element bind-id="_stadiumUnlockLabel" bind-type="zinc.ui.element.Label" begin-name="_stadiumUnlockLabel" color="${~Constants.PRIMARY_COLOR}" begin-version="${~Version.UGUI}" sizeY="32" posY="-32" minY="1" maxY="1" minX="0" maxX="1" anchorLeft="280" anchorRight="8" fontSize="14" textAlignV="${~Alignment.CENTER}" textAlignH="${~Alignment.RIGHT}" resizeType="${~ResizeType.COMPRESS}" fontFace="CruyffSansNormal, Medium" text="${#langService.getText('New Text')}"/>
            <element bind-id="_stadiumStatusNameLabel" bind-type="zinc.ui.element.Label" begin-name="_stadiumStatusNameLabel" color="${~Constants.PRIMARY_COLOR}" begin-version="${~Version.UGUI}" sizeY="32" posY="-32" minY="1" maxY="1" minX="0" maxX="1" anchorLeft="44" anchorRight="266" fontSize="14" textAlignV="${~Alignment.CENTER}" textAlignH="${~Alignment.LEFT}" resizeType="${~ResizeType.COMPRESS}" fontFace="CruyffSansNormal, Medium" text="${#langService.getText('New Text')}"/>
            <element bind-id="_smallWeatherIcon" bind-type="zinc.ui.element.Image" begin-name="_smallWeatherIcon" color="${~Constants.COLOR_WHITE}" begin-version="${~Version.UGUI}" sizeX="32" sizeY="32" posX="8" posY="-16" minY="0.5" maxY="0.5" minX="0" maxX="0" begin-image="common_TILE_WHITE"/>
        </element>
        <element bind-id="_lockContainer" bind-type="zinc.ui.element.Container" begin-name="_lockContainer" color="${~Constants.COLOR_WHITE}" begin-version="${~Version.UGUI}" minY="0" maxY="1" minX="0" maxX="1" anchorLeft="0" anchorRight="0" anchorTop="0" anchorBottom="0">
            <element bind-id="_lockMaskSlicedImage" bind-type="zinc.ui.element.SlicedImage" begin-name="_lockMaskSlicedImage" color="${~Constants.COLOR_BUTTON_TERTIARY}" begin-version="${~Version.UGUI}" alpha="0.8" minY="0" maxY="1" minX="0" maxX="1" anchorLeft="0" anchorRight="0" anchorTop="0" anchorBottom="0" begin-image="common_TILE_WHITE" sliceLeft="2" sliceBottom="2" sliceRight="2" sliceTop="2"/>
            <element bind-id="_labelWeatherTouchList" bind-type="madden.ui.element.list.TouchList" begin-name="_labelWeatherTouchList" color="${~Constants.COLOR_WHITE}" maskContent="${#True_Value}" begin-version="${~Version.UGUI}" sizeX="480" sizeY="237.4" posX="16" posY="12" minY="0" maxY="0" minX="0" maxX="0" orientation="${~Orientation.VERTICAL}"/>
            <eval phase="after" expression="#_labelWeatherTouchList.defaultType=T(madden.ui.element.stadium.WeatherUnlockLabel)"/>
            <eval phase="after" expression="#_labelWeatherTouchList.padding=new zinc.ui.layout.LayoutPadding(0, 0, 0, 0)"/>
            <eval phase="after" expression="#_labelWeatherTouchList.addLayoutStep(new zinc.ui.layout.step.SetPropertiesOnItems( T(zinc.utils.MapUtil).toObject({ 'width': 480, 'height':44 }), 1))"/>
            <eval phase="after" expression="#_labelWeatherTouchList.addLayoutStep(new zinc.ui.layout.step.PositionItemsInLine(8,#_labelWeatherTouchList.width-#_labelWeatherTouchList.padding.left-#_labelWeatherTouchList.padding.right))"/>
            <eval phase="after" expression="#_labelWeatherTouchList.addLayoutStep(new zinc.ui.layout.step.CalculateLayoutSize())"/>
            <eval phase="after" expression="#_labelWeatherTouchList.addLayoutStep(new zinc.ui.layout.step.CalculateWindowPercent(true))"/>
            <eval phase="after" expression="#_labelWeatherTouchList.addLayoutStep(new zinc.ui.layout.step.CalculateScrollPercent())"/>
            <eval phase="after" expression="#_labelWeatherTouchList.addLayoutStep(new zinc.ui.layout.step.PositionMountByScroll())"/>
            <eval phase="after" expression="#_labelWeatherTouchList.addLayoutStep(new zinc.ui.layout.step.OptimizeItemsByDistance(Constants.PADDING_LARGE))"/>
            <element bind-id="_closeButton" bind-type="madden.ui.element.button.RectangleButton" begin-name="_closeButton" color="${~Constants.COLOR_WHITE}" begin-version="${~Version.UGUI}" sizeX="48" sizeY="48" posX="514" posY="32" originX="0.5" originY="0.5" minY="0" maxY="0" minX="0" maxX="0" icon="icon_ICONCLOSE" iconWidth="48" iconHeight="48" iconScale="1" iconColor="${~Constants.COLOR_WHITE}" neutralAsset="common_EMPTY" pointedAsset="common_EMPTY" pressedAsset="common_EMPTY" selectedAsset="common_EMPTY" disabledAsset="common_EMPTY" label="" labelPadding="0" buttonStyle="0"/>
        </element>
    </element>
    <element bind-id="_stadiumsTouchListBg" bind-type="zinc.ui.element.SlicedImage" begin-name="_stadiumsTouchListBg" color="0x7F7F87" begin-version="${~Version.UGUI}" sizeX="208" sizeY="470" posX="0" posY="64" alpha="0.1" minY="0" maxY="0" minX="0" maxX="0" begin-image="common_TILE_WHITE" sliceLeft="2" sliceBottom="2" sliceRight="2" sliceTop="2"/>
    <element bind-id="_stadiumsTouchList" bind-type="madden.ui.element.list.TouchList" begin-name="_stadiumsTouchList" color="${~Constants.COLOR_WHITE}" maskContent="${#True_Value}" begin-version="${~Version.UGUI}" sizeX="208" sizeY="446" posX="0" posY="80" minY="0" maxY="0" minX="0" maxX="0" orientation="${~Orientation.VERTICAL}"/>
    <eval phase="after" expression="#_stadiumsTouchList.defaultType=T(madden.ui.element.stadium.HomeStadiumTile)"/>
    <eval phase="after" expression="#_stadiumsTouchList.padding=new zinc.ui.layout.LayoutPadding(0, 16, 0, 16)"/>
    <eval phase="after" expression="#_stadiumsTouchList.addLayoutStep(new zinc.ui.layout.step.SetPropertiesOnItems( T(zinc.utils.MapUtil).toObject({ 'width': 176, 'height':96 }), 1))"/>
    <eval phase="after" expression="#_stadiumsTouchList.addLayoutStep(new zinc.ui.layout.step.PositionItemsInLine(8,#_stadiumsTouchList.width-#_stadiumsTouchList.padding.left-#_stadiumsTouchList.padding.right))"/>
    <eval phase="after" expression="#_stadiumsTouchList.addLayoutStep(new zinc.ui.layout.step.CalculateLayoutSize())"/>
    <eval phase="after" expression="#_stadiumsTouchList.addLayoutStep(new zinc.ui.layout.step.CalculateWindowPercent(true))"/>
    <eval phase="after" expression="#_stadiumsTouchList.addLayoutStep(new zinc.ui.layout.step.CalculateScrollPercent())"/>
    <eval phase="after" expression="#_stadiumsTouchList.addLayoutStep(new zinc.ui.layout.step.PositionMountByScroll())"/>
    <eval phase="after" expression="#_stadiumsTouchList.addLayoutStep(new zinc.ui.layout.step.OptimizeItemsByDistance(Constants.PADDING_LARGE))"/>
    <element bind-id="_footerCenter" bind-type="zinc.ui.element.Container" begin-name="_footerCenter" color="${~Constants.COLOR_WHITE}" begin-version="${~Version.UGUI}" sizeY="64" posY="-64" minY="1" maxY="1" minX="0" maxX="1" anchorLeft="0" anchorRight="0">
        <element bind-id="_footerSlicedImage" bind-type="zinc.ui.element.SlicedImage" begin-name="_footerSlicedImage" color="0x2B2C2A" begin-version="${~Version.UGUI}" minY="0" maxY="1" minX="0" maxX="1" anchorLeft="1" anchorRight="1" anchorTop="0" anchorBottom="1" begin-image="common_TILE_WHITE" sliceLeft="2" sliceBottom="2" sliceRight="2" sliceTop="2"/>
        <element bind-id="_finishButton" bind-type="madden.ui.element.button.RectangleButton" begin-name="_finishButton" color="${~Constants.COLOR_WHITE}" begin-version="${~Version.UGUI}" minY="0" maxY="1" minX="0" maxX="1" anchorLeft="8" anchorRight="8" anchorTop="8" anchorBottom="8" neutralAsset="darkbutton_BTN_BG_SMALL" pointedAsset="darkbutton_BTN_BG_SMALL_POINTED" pressedAsset="darkbutton_BTN_BG_SMALL_PRESSED" selectedAsset="darkbutton_BTN_BG_SMALL_SELECTED" disabledAsset="darkbutton_NEUTRAL_DISABLED" label="${#langService.getText('HomeStadium_set')}" labelPadding="0" buttonStyle="0"/>
    </element>
</element>


<anim type="script" bind-id="_imageStadiumsLoop">
  <animBake value='{
    "posX":[-80,0,-80],
    "posY":0
    }' frames="[25850,27250]" number="3" duration="53100" target="#_stadiumImageNext"/>
  <animBake value='{
    "posX":[-80,0,-80],
    "posY":0
    }' frames="[25850,27250]" number="3" duration="53100" target="#_stadiumImageCurr"/>
</anim>

<anim type="script" bind-id="_imageStadiumsInOut">
  <animBake value='{
    "alpha":[1,0]
    }' frames="[917]" number="2" duration="917" target="#_stadiumImageCurr"/>
  <animBake value='{
    "alpha":[0,1]
    }' frames="[917]" number="2" duration="917" target="#_stadiumImageNext"/>
</anim>


<eval phase="after" expression="#_imageStadiumsLoop.loop()" /> 
</config>
