﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<window>
	<id>7977</id>
	<defaultcontrol>2</defaultcontrol>
	<allowoverlay>no</allowoverlay>
	<controls>

    	<control>
      		<id>1</id>
      		<description>background image</description>
      		<type>image</type>
    	</control>

    <import>common.time.xml</import>

	<control>
		<description>weather header</description>
		<type>label</type>
		<id>1</id>
		<posX>1120</posX>
		<posY>30</posY>
		<label>8</label>
		<textcolor>ff66bae3</textcolor>
		<font>font32bold</font>
      		<align>right</align>
      		<animation effect="fade" time="250">WindowOpen</animation>
      		<animation effect="fade" time="250">WindowClose</animation>
	</control>

	<control>
		<id>1</id>
		<description>weather header logo</description>
		<type>image</type>
		<posX>1130</posX>
		<posY>15</posY>
      		<width>100</width>
      		<height>80</height>
      		<keepaspectratio>yes</keepaspectratio>
		<texture>hover_worldweather.png</texture>
      		<animation effect="fade" time="250">WindowOpen</animation>
      		<animation effect="fade" time="250">WindowClose</animation>
	</control>

    	<control>
      		<description>Weather image</description>
      		<type>image</type>
      		<id>1</id>
      		<animation effect="fade" time="250">WindowOpen</animation>
      		<animation effect="fade" time="250">WindowClose</animation>
      		<posX>450</posX>
      		<posY>144</posY>
      		<width>768</width>
      		<height>432</height>
            	<texture>hover_my weather.png</texture>
      		<keepaspectratio>yes</keepaspectratio>
      		<align>center</align>
		<visible>string.equals(#WorldWeather.View,Image)+[control.hasfocus(2)|control.hasfocus(3)|control.hasfocus(4)|control.hasfocus(9)]</visible>
    	</control>

        <control>
            	<id>1</id>
            	<description>Forecast background</description>
            	<type>image</type>
            	<posX>448</posX>
            	<posY>104</posY>
            	<width>772</width>
           	<height>512</height>
            	<texture>lyrics_overlay.png</texture>
      		<animation effect="fade" time="250">WindowOpen</animation>
      		<animation effect="fade" time="250">WindowClose</animation>
         </control>

        <control>
            	<id>0</id>
            	<description>Actual Weather background</description>
            	<type>image</type>
            	<posX>20</posX>
            	<posY>20</posY>
            	<width>410</width>
            	<height>680</height>
            	<texture>info_bg.png</texture>
      		<colordiffuse>e0ffffff</colordiffuse>
      		<animation effect="fade" time="250">WindowOpen</animation>
      		<animation effect="fade" time="250">WindowClose</animation>
        </control>


		<!-- *** Buttons *** -->
	<control>
		<description>button group</description>
		<type>group</type>
		<posX>80</posX>
		<posY>492</posY>
      		<animation effect="fade" time="250">WindowOpen</animation>
      		<animation effect="fade" time="250">WindowClose</animation>
		<layout>StackLayout(1, Vertical, true)</layout>

				<control>
					<description>Display</description>
					<type>button</type>
					<id>2</id>
					<label>Switch View</label>
					<onup>17</onup>
					<onright>100</onright>
				</control>
				<control>
					<description>Location</description>
					<type>button</type>
					<id>3</id>
					<label>Location</label>
					<onup>2</onup>
					<ondown>4</ondown>
				</control>
				<control>
					<description>Browser map</description>
					<type>button</type>
					<id>4</id>
					<label>Browser map</label>
					<ondown>9</ondown>
					<onright>100</onright>
				</control>
				<control>
					<description>Refresh</description>
					<type>button</type>
					<id>9</id>
					<label>Refresh</label>
					<ondown>2</ondown>
					<onright>100</onright>
				</control>
		</control>

		<!-- *** Action *** -->

	<control>
		<description>Action</description>
		<type>label</type>
		<id>0</id>
		<posX>1209</posX>
		<posY>677</posY>
		<align>right</align>
		<label>#WorldWeather.Action</label>
      		<font>font12</font>
		<textcolor>ffb1b1b1</textcolor>
      		<animation effect="fade" time="250">WindowOpen</animation>
      		<animation effect="fade" time="250">WindowClose</animation>
	</control>

		<!-- *** Imports *** -->
		<import>WorldWeatherCondition.xml</import>
		<import>WorldWeatherImage.xml</import>
		<import>WorldWeatherGeoClock.xml</import>
		<import>WorldWeatherStarrySky.xml</import>
		<import>WorldWeatherCalendar.xml</import>

		<!-- *** Provider Info *** -->
	<control>
		<description>Provider Info</description>
		<type>label</type>
		<id>0</id>
            	<posX>20</posX>
            	<width>410</width>
		<posY>645</posY>
		<label>#WorldWeather.TranslationProvider</label>
		<font>font10</font>
		<align>center</align>
		<textcolor>ffb1b1b1</textcolor>
      		<animation effect="fade" time="250">WindowOpen</animation>
      		<animation effect="fade" time="250">WindowClose</animation>
	</control>

    	<control>
      		<description>Provider Logo</description>
      		<type>image</type>
      		<keepaspectratio>yes</keepaspectratio>
		<align>center</align>
      		<id>0</id>
      		<posX>180</posX>
      		<posY>663</posY>
      		<width>100</width>
      		<height>40</height>
      		<texture>#WorldWeather.ProviderImage</texture>
      		<animation effect="fade" time="250">WindowOpen</animation>
      		<animation effect="fade" time="250">WindowClose</animation>
    	</control>


		<import>common.overlay.xml</import>


	</controls>
</window>
