diff options
author | Heonjae Jang <heonjae.jang@samsung.com> | 2017-05-11 10:00:31 +0900 |
---|---|---|
committer | ChulSeung Kim <charles0.kim@samsung.com> | 2017-06-08 18:34:55 +0900 |
commit | 4e803acbef81f8da7b15127c9bf774a498baa89c (patch) | |
tree | 7da5613b05fdd44391bdc33f72829cc5fb26d45e /TVHome | |
parent | 09fa8bc4eafbe9c2f3311f725f0eb14d4d3aa537 (diff) | |
download | home-4e803acbef81f8da7b15127c9bf774a498baa89c.tar.gz home-4e803acbef81f8da7b15127c9bf774a498baa89c.tar.bz2 home-4e803acbef81f8da7b15127c9bf774a498baa89c.zip |
Change Iconified, Uniconified Animation
Change-Id: I7ccd5d79442af9639f22205e12a09e86da8961c1
Signed-off-by: Heonjae Jang <heonjae.jang@samsung.com>
Diffstat (limited to 'TVHome')
-rwxr-xr-x | TVHome/TVHome/Views/MainPage.xaml.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/TVHome/TVHome/Views/MainPage.xaml.cs b/TVHome/TVHome/Views/MainPage.xaml.cs index f95992e..296928b 100755 --- a/TVHome/TVHome/Views/MainPage.xaml.cs +++ b/TVHome/TVHome/Views/MainPage.xaml.cs @@ -68,9 +68,11 @@ namespace TVHome.Views private async void Iconified() { #pragma warning disable CS4014 - SubPanelDictionary[SelectedMenuName]?.TranslateTo(0.0, SizeUtils.GetWidthSize(100), 150); + SubPanelDictionary[SelectedMenuName]?.TranslateTo(0.0, SizeUtils.GetHeightSize(100), 150); + SubPanelDictionary[SelectedMenuName]?.FadeTo(0,150); DimmedBgImage.FadeTo(0.0, 150); #pragma warning restore CS4014 + PageMainPanel.TranslateTo(0.0, 0.0, 150); await PageMainPanel.ScaleTo(0.0, 150); DependencyService.Get<IWindowAPIs>().SetIconified(true); } @@ -82,8 +84,10 @@ namespace TVHome.Views { #pragma warning disable CS4014 SubPanelDictionary[SelectedMenuName]?.TranslateTo(0.0, 0.0, 150); + SubPanelDictionary[SelectedMenuName]?.FadeTo(0.3, 150); DimmedBgImage.FadeTo(0.5, 150); #pragma warning restore CS4014 + PageMainPanel.TranslateTo(0.0, 0.0, 150); await PageMainPanel.ScaleTo(1.0, 150); DependencyService.Get<IWindowAPIs>().SetIconified(false); } |