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

<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="_rewardsCoverButton" bind-type="madden.ui.element.button.XmlRectangleButton" begin-name="_rewardsCoverButton" begin-useXmlBinding="${#True_Value}" color="${~Constants.COLOR_WHITE}" visible="${#False_Value}" begin-version="${~Version.UGUI}" minY="0" maxY="1" minX="0" maxX="1" anchorLeft="0" anchorRight="0" anchorTop="0" anchorBottom="0" fontColor="0x000000" disabledFontColor="0x000000">
    <element bind-id="_neutralImage" bind-type="zinc.ui.element.SlicedImage" begin-name="_neutralImage" color="${~Constants.COLOR_BLACK}" begin-version="${~Version.UGUI}" alpha="0.5" minY="0" maxY="1" minX="0" maxX="1" anchorLeft="0" anchorRight="0" anchorTop="0" anchorBottom="0" begin-image="xmlbutton_BTN_BG_LARGE" sliceLeft="40" sliceBottom="46" sliceRight="40" sliceTop="46" overflowLeft="16" overflowBottom="24" overflowRight="16" overflowTop="24"/>
    <element bind-id="_pressedImage" bind-type="zinc.ui.element.SlicedImage" begin-name="_pressedImage" color="${~Constants.COLOR_BLACK}" visible="${#False_Value}" begin-version="${~Version.UGUI}" alpha="0.5" minY="0" maxY="1" minX="0" maxX="1" anchorLeft="0" anchorRight="0" anchorTop="0" anchorBottom="0" begin-image="xmlbutton_BTN_BG_LARGE_PRESSED" sliceLeft="40" sliceBottom="46" sliceRight="40" sliceTop="46" overflowLeft="16" overflowBottom="24" overflowRight="16" overflowTop="24"/>
    <element bind-id="_disabledImage" bind-type="zinc.ui.element.SlicedImage" begin-name="_disabledImage" color="${~Constants.COLOR_BLACK}" visible="${#False_Value}" begin-version="${~Version.UGUI}" alpha="0.5" minY="0" maxY="1" minX="0" maxX="1" anchorLeft="0" anchorRight="0" anchorTop="0" anchorBottom="0" begin-image="xmlbutton_NEUTRAL_DISABLED" sliceLeft="40" sliceBottom="46" sliceRight="40" sliceTop="46" overflowLeft="16" overflowBottom="24" overflowRight="16" overflowTop="24"/>
    <element bind-id="_container" bind-type="zinc.ui.element.Container" begin-name="_container" color="${~Constants.COLOR_WHITE}" visible="${#False_Value}" begin-version="${~Version.UGUI}" minY="0" maxY="1" minX="0" maxX="1" anchorLeft="0" anchorRight="0" anchorTop="0" anchorBottom="0">
        <element bind-id="_icon" bind-type="zinc.ui.element.Image" begin-name="_icon" color="${~Constants.COLOR_WHITE}" visible="${#False_Value}" begin-version="${~Version.UGUI}" sizeX="50" sizeY="50" posX="114" posY="-25" minY="0.5" maxY="0.5" minX="1" maxX="1" begin-image=""/>
        <element bind-id="_label" bind-type="zinc.ui.element.Label" begin-name="_label" color="${~Constants.COLOR_WHITE}" begin-version="${~Version.UGUI}" originY="0.5" minY="0" maxY="1" minX="0" maxX="1" anchorLeft="8" anchorRight="8" anchorTop="0" anchorBottom="0" fontSize="24" textAlignV="${~Alignment.CENTER}" textAlignH="${~Alignment.CENTER}" resizeType="${~ResizeType.COMPRESS}" text="${#langService.getText('New Text')}"/>
        <element bind-id="_value" bind-type="zinc.ui.element.Label" begin-name="_value" color="${~Constants.COLOR_WHITE}" visible="${#False_Value}" begin-version="${~Version.UGUI}" minY="0" maxY="1" minX="0.5" maxX="1" anchorLeft="-46" anchorRight="96" anchorTop="0" anchorBottom="100" fontSize="24" textAlignV="${~Alignment.LEFT}" textAlignH="${~Alignment.LEFT}" text="${#langService.getText('New Text')}"/>
    </element>
    <element bind-id="_divider" bind-type="zinc.ui.element.Image" begin-name="_divider" color="${~Constants.COLOR_WHITE}" visible="${#False_Value}" begin-version="${~Version.UGUI}" sizeX="2" sizeY="8" posX="-51" posY="-4" minY="0.5" maxY="0.5" minX="0.5" maxX="0.5" begin-image="common_DOTLINE"/>
</element>

<element bind-id="_rightPanel" bind-type="zinc.ui.element.Container" begin-name="_rightPanel" color="${~Constants.COLOR_WHITE}" begin-version="${~Version.UGUI}" sizeX="416" sizeY="544" posX="${-432 - ~Constants.SAFEAREA_MARGIN}" posY="-240" minY="0.5" maxY="0.5" minX="1" maxX="1">
    <element bind-id="_frameBg" bind-type="zinc.ui.element.SlicedImage" begin-name="_frameBg" color="${~Constants.COLOR_WHITE}" begin-version="${~Version.UGUI}" minY="0" maxY="1" minX="0" maxX="1" anchorLeft="0" anchorRight="0" anchorTop="0" anchorBottom="0" begin-image="common_FRAME_TEALGRADIENT" sliceLeft="16" sliceBottom="16" sliceRight="16" sliceTop="16" overflowLeft="8" overflowBottom="8" overflowRight="8" overflowTop="8"/>
    <element bind-id="_headContainer" bind-type="zinc.ui.element.Container" begin-name="_headContainer" color="${~Constants.COLOR_WHITE}" begin-version="${~Version.UGUI}" sizeY="48" posY="0" minY="0" maxY="0" minX="0" maxX="1" anchorLeft="0" anchorRight="0">
        <element bind-id="_titleBg" bind-type="madden.ui.element.image.LocSlicedImage" begin-name="_titleBg" color="${~Constants.COLOR_WHITE}" begin-version="${~Version.UGUI}" minY="0" maxY="1" minX="0" maxX="1" anchorLeft="0" anchorRight="0" anchorTop="0" anchorBottom="0" begin-image="mainmenu_PANELHEADER_GRADIENT" sliceLeft="4" sliceBottom="2" sliceRight="124" sliceTop="2"/>
        <element bind-id="_titleText" bind-type="zinc.ui.element.Label" begin-name="_titleText" color="0xF2F2F2" begin-version="${~Version.UGUI}" minY="0" maxY="1" minX="0" maxX="1" anchorLeft="8" anchorRight="0" anchorTop="0" anchorBottom="0" fontSize="24" textAlignV="${~Alignment.CENTER}" textAlignH="${~Alignment.LEFT}" text="${#langService.getText('authentic_Reward')}"/>
    </element>
    <element bind-id="_itemContainer" bind-type="zinc.ui.element.Container" begin-name="_itemContainer" 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="_touchList" bind-type="madden.ui.element.list.TouchList" begin-name="_touchList" color="${~Constants.COLOR_WHITE}" maskContent="${#True_Value}" begin-version="${~Version.UGUI}" minY="0" maxY="1" minX="0" maxX="1" anchorLeft="0" anchorRight="0" anchorTop="48" anchorBottom="0" orientation="${~Orientation.VERTICAL}"/>
        <eval phase="after" expression="#_touchList.defaultType=T(madden.ui.element.reward.PreviewItem)"/>
        <eval phase="after" expression="#_touchList.padding=new zinc.ui.layout.LayoutPadding(0, 0, 0, 0)"/>
        <eval phase="after" expression="#_touchList.addLayoutStep(new zinc.ui.layout.step.SetPropertiesOnItems( T(zinc.utils.MapUtil).toObject({ 'width': 128, 'height':168 }), 1))"/>
        <eval phase="after" expression="#_touchList.addLayoutStep(new zinc.ui.layout.step.PositionItemsInGrid(3, 8, 8, null, null, 128, 168, #_touchList.width)))"/>
        <eval phase="after" expression="#_touchList.addLayoutStep(new zinc.ui.layout.step.CalculateLayoutSize())"/>
        <eval phase="after" expression="#_touchList.addLayoutStep(new zinc.ui.layout.step.CalculateWindowPercent(true))"/>
        <eval phase="after" expression="#_touchList.addLayoutStep(new zinc.ui.layout.step.CalculateScrollPercent())"/>
        <eval phase="after" expression="#_touchList.addLayoutStep(new zinc.ui.layout.step.PositionMountByScroll())"/>
        <element bind-id="_dragPlayerCard" bind-type="madden.ui.element.playercard.DraggableCardFront" begin-name="_dragPlayerCard" color="${~Constants.COLOR_WHITE}" visible="${#False_Value}" begin-version="${~Version.UGUI}" sizeX="128" sizeY="128" posX="12" posY="42" minY="0" maxY="0" minX="0" maxX="0"/>
    </element>
    <element bind-id="_footerSlicedImage" bind-type="zinc.ui.element.SlicedImage" begin-name="_footerSlicedImage" color="0x222040" visible="${#False_Value}" begin-version="${~Version.UGUI}" minY="0" maxY="1" minX="0" maxX="1" anchorLeft="1" anchorRight="1" anchorTop="488" anchorBottom="1" begin-image="common_TILE_WHITE" sliceLeft="2" sliceBottom="2" sliceRight="2" sliceTop="2"/>
</element>


<anim type="script" bind-id="_containerAnimOut">
  <animBake value='{
    "posX":[0,450,1000]
    }' frames="[233,17]" number="3" duration="250" target="#_frameBg"/>
  <animBake value='{
    "posX":[0,450,1000]
    }' frames="[233,17]" number="3" duration="250" target="#_itemContainer"/>
  <animBake value='{
    "posX":[0,450,1000]
    }' frames="[233,17]" number="3" duration="250" target="#_headContainer"/>
</anim>

<anim type="script" bind-id="_containerAnimIn">
  <animBake value='{
    "posX":[1000,450,0]
    }' frames="[17,233]" number="3" duration="250" target="#_frameBg"/>
  <animBake value='{
    "posX":[1000,450,0]
    }' frames="[17,233]" number="3" duration="250" target="#_itemContainer"/>
  <animBake value='{
    "posX":[1000,450,0]
    }' frames="[17,233]" number="3" duration="250" target="#_headContainer"/>
</anim>


<eval phase="after" expression="#_containerAnimIn.start()" /> 
</config>
