Implement VI for Apps menu options
authorGeunsun, Lee <gs86.lee@samsung.com>
Tue, 21 Mar 2017 08:37:12 +0000 (17:37 +0900)
committerChulSeung Kim <charles0.kim@samsung.com>
Thu, 8 Jun 2017 09:34:48 +0000 (18:34 +0900)
Change-Id: Icf10f16453e436c1192ee40f521b42c64ef370a4

TVApps/TVApps/Controls/AppItemCell.xaml
TVApps/TVApps/Controls/AppItemCell.xaml.cs

index b62d966..8632379 100755 (executable)
                Opacity="0" />
     </Grid>
 
+    <Grid x:Name="OptionMenuArea"
+          RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToParent, Property=Height, Factor=0.4235}"
+          RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=0.8666}"
+          RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToParent, Property=Height, Factor=1}"
+          RelativeLayout.XConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=0.0667}"
+          >
+      <Grid.RowDefinitions>
+        <RowDefinition Height="*" />
+        <RowDefinition Height="*" />
+      </Grid.RowDefinitions>
+      <Grid.RowSpacing>0</Grid.RowSpacing>
+      <Button Grid.Row="0" Text="UNPIN" />
+      <Button Grid.Row="1" Text="DELETE" />
+    </Grid>
+
     <!-- This BoxView is temporary code for Long Press test -->
     <BoxView x:Name="ItemDim"
              Color="Black"
index d222404..c8f21ea 100755 (executable)
@@ -108,20 +108,22 @@ namespace TVApps.Controls
 
                 // Set the icon status to default
                 ButtonImage.ScaleTo(1.0, 50);
-                ButtonImage.TranslateTo(0.0, 0.0, 50);
+                ButtonImage.TranslateTo(0.0, 0.0, 100);
                 TextArea.TranslateTo(0.0, 0.0, 50);
 
                 if (IsShowOptions)
                 {
-                    ButtonImage.TranslateTo(0, -50, 100);
-                    TextArea.TranslateTo(0, -50, 100);
+                    ButtonImage.TranslateTo(0, -80, 100);
+                    TextArea.TranslateTo(0, -80, 100);
                     TextArea.FadeTo(0.0, 100);
+                    OptionMenuArea.TranslateTo(0, -144, 100);
                 }
                 else
                 {
                     ButtonImage.TranslateTo(0, 0, 100);
                     TextArea.TranslateTo(0, 0, 100);
                     TextArea.FadeTo(0.99, 100);
+                    OptionMenuArea.TranslateTo(0, 0, 100);
                 }
             }
             else if (e.PropertyName.CompareTo("IsDim") == 0)