Set focus when dismiss context popup.
authorjjie.choi <jjie.choi@samsung.com>
Tue, 9 May 2017 07:16:37 +0000 (16:16 +0900)
committerChulSeung Kim <charles0.kim@samsung.com>
Thu, 8 Jun 2017 09:34:55 +0000 (18:34 +0900)
Change-Id: Ibe33e6817865f77489f11ec04852059c3ce1df7f
Signed-off-by: jjie.choi <jjie.choi@samsung.com>
TVApps/TVApps/Controls/AppItemCell.xaml.cs

index 0322556..d7b8f75 100755 (executable)
@@ -298,8 +298,8 @@ namespace TVApps.Controls
         public void ShowOptionMenu(bool isShow)
         {
             ButtonImage.ScaleTo((isShow) ? 1 : 1.195, 167);
-            ButtonImage.TranslateTo(0, (isShow) ? 0 : height84, 334);
-            TextArea.TranslateTo(0, (isShow) ? height300 : height284, 167);
+            ButtonImage.TranslateTo(0, (isShow) ? 0 : height100, 334);
+            TextArea.TranslateTo(0, (isShow) ? height300 : height300, 167);
             TextArea.FadeTo((isShow) ? 0.0 : 0.99, 50);
 
             if (isShow)
@@ -367,6 +367,7 @@ namespace TVApps.Controls
 
                 isPopupShowing = false;
                 ShowOptionMenu(false);
+                ButtonFocusArea.Focus();
             };
 
             popup.Show(this, this.Width / 2, this.Height - height144);