From e97364d2d069a413db303ea0aac3240d28d1e9a7 Mon Sep 17 00:00:00 2001 From: Heonjae Jang Date: Tue, 23 May 2017 17:08:49 +0900 Subject: [PATCH] Change Layout and Animation in TVHome Change-Id: Ie65bc85ccea68bba86f465b84757ab9df2e74f30 Signed-off-by: Heonjae Jang --- TVApps/TVApps/Controls/AppItemCell.xaml | 2 +- TVHome/TVHome/Controls/SubPanelAllAppsButton.xaml.cs | 4 ++-- TVHome/TVHome/Controls/SubPanelButton.xaml.cs | 6 +++--- TVHome/TVHome/Controls/SubPanelSettingButton.xaml.cs | 4 ++-- TVHome/TVHome/Views/MainPage.xaml | 4 ++-- TVHome/TVHome/Views/SubPanel.xaml.cs | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/TVApps/TVApps/Controls/AppItemCell.xaml b/TVApps/TVApps/Controls/AppItemCell.xaml index 3317ab1..d21c79d 100755 --- a/TVApps/TVApps/Controls/AppItemCell.xaml +++ b/TVApps/TVApps/Controls/AppItemCell.xaml @@ -8,7 +8,7 @@ IsChecked="{Binding IsChecked}" IsShowOptions="{Binding IsShowOptions}" IsDim="{Binding IsDim}" - IsFocused="{Binding IsFocused}" + IsItemFocused="{Binding IsFocused}" PinCommand="{Binding OptionMenuPinToggleCommand}" DeleteCommand="{Binding OptionMenuDeleteCommand}" ToDefaultCommand="{Binding ToDefaultCommand}"> diff --git a/TVHome/TVHome/Controls/SubPanelAllAppsButton.xaml.cs b/TVHome/TVHome/Controls/SubPanelAllAppsButton.xaml.cs index 272a785..beb6120 100755 --- a/TVHome/TVHome/Controls/SubPanelAllAppsButton.xaml.cs +++ b/TVHome/TVHome/Controls/SubPanelAllAppsButton.xaml.cs @@ -76,8 +76,8 @@ namespace TVHome.Controls ButtonTitle.FadeTo(0.99, 300); ButtonTitle.TranslateTo(0, selectTransitionHeight, 300); #pragma warning restore CS4014 - await ButtonImage.ScaleTo(1.3, 300); - ButtonDimmedImage.Scale = 1.3; + await ButtonImage.ScaleTo(1.235, 300); + ButtonDimmedImage.Scale = 1.235; } /// diff --git a/TVHome/TVHome/Controls/SubPanelButton.xaml.cs b/TVHome/TVHome/Controls/SubPanelButton.xaml.cs index 8300b5a..270c4b3 100755 --- a/TVHome/TVHome/Controls/SubPanelButton.xaml.cs +++ b/TVHome/TVHome/Controls/SubPanelButton.xaml.cs @@ -35,7 +35,7 @@ namespace TVHome.Controls /// /// SubPanel icon's transition height value when it focused. /// - private int moveTransitionHeight = SizeUtils.GetHeightSize(130); + private int moveTransitionHeight = SizeUtils.GetHeightSize(128); /// /// Constructor @@ -239,8 +239,8 @@ namespace TVHome.Controls ButtonTitle.FadeTo(0.8, 300); ButtonTitle.TranslateTo(0, selectTransitionHeight, 300); #pragma warning restore CS4014 - await ButtonImage.ScaleTo(1.3, 300); - ButtonDimmedImage.Scale = 1.3; + await ButtonImage.ScaleTo(1.235, 300); + ButtonDimmedImage.Scale = 1.235; } /// diff --git a/TVHome/TVHome/Controls/SubPanelSettingButton.xaml.cs b/TVHome/TVHome/Controls/SubPanelSettingButton.xaml.cs index 1101413..bc97f1e 100755 --- a/TVHome/TVHome/Controls/SubPanelSettingButton.xaml.cs +++ b/TVHome/TVHome/Controls/SubPanelSettingButton.xaml.cs @@ -76,8 +76,8 @@ namespace TVHome.Controls ButtonTitle.FadeTo(0.99, 300); ButtonTitle.TranslateTo(0, selectTransitionHeight, 300); #pragma warning restore CS4014 - await ButtonImage.ScaleTo(1.3, 300); - ButtonDimmedImage.Scale = 1.3; + await ButtonImage.ScaleTo(1.235, 300); + ButtonDimmedImage.Scale = 1.235; } /// diff --git a/TVHome/TVHome/Views/MainPage.xaml b/TVHome/TVHome/Views/MainPage.xaml index 1df880f..6bef84f 100755 --- a/TVHome/TVHome/Views/MainPage.xaml +++ b/TVHome/TVHome/Views/MainPage.xaml @@ -44,7 +44,7 @@ diff --git a/TVHome/TVHome/Views/SubPanel.xaml.cs b/TVHome/TVHome/Views/SubPanel.xaml.cs index 80e5189..8f17af5 100755 --- a/TVHome/TVHome/Views/SubPanel.xaml.cs +++ b/TVHome/TVHome/Views/SubPanel.xaml.cs @@ -49,7 +49,7 @@ namespace TVHome.Views /// /// SubPanel icon's transition height value when it focused. /// - private int selectTransitionHeight = SizeUtils.GetHeightSize(146); + private int selectTransitionHeight = SizeUtils.GetHeightSize(122); /// /// A method for getting Panel Buttons -- 2.34.1