TV Home - Fix Recent Sub Panel
authorHeonjae Jang <heonjae.jang@samsung.com>
Wed, 29 Mar 2017 07:13:16 +0000 (16:13 +0900)
committerChulSeung Kim <charles0.kim@samsung.com>
Thu, 8 Jun 2017 09:34:51 +0000 (18:34 +0900)
Change-Id: Ie78bc4eca4e3aa953f37694c422aeb4644509e2e

TVHome/TVHome/Views/SubThumbnailPanel.xaml

index d60d64b8fd0add6d164f842420cfde357e0ea299..8e78ccd7cf7d3cace092c73a662eff5fd080c523 100755 (executable)
@@ -3,46 +3,38 @@
              xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
              xmlns:Views="clr-namespace:TVHome.Views"
              x:Class="TVHome.Views.SubThumbnailPanel">
-  <RelativeLayout x:Name="ThumbnailParent"
-                  RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToParent, Property=Height, Factor=1}"
-                  RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=1}"
-                  RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToParent, Property=Height, Factor=0}"
-                  RelativeLayout.XConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=0}" >
-    <ScrollView x:Name="PanelScrollView"
-                Orientation="Horizontal"
-                HorizontalOptions="Center"
-                IsVisible="true"
-                RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToParent, Property=Height, Factor=1}"
-                RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=1}"
-                RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToParent, Property=Height, Factor=0}"
-                RelativeLayout.XConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=0}" >
-      <StackLayout x:Name="PanelButtonStack"
-                  Orientation="Horizontal"
-                  Padding="96,18,96,18"
-                  IsVisible="true">
-      </StackLayout>
-    </ScrollView>
-    <RelativeLayout x:Name="NoContentInfo"
+    <RelativeLayout x:Name="ThumbnailParent">
+        <ScrollView x:Name="PanelScrollView"
+                    Orientation="Horizontal"
                     HorizontalOptions="Center"
-                    IsVisible="false"
-                    WidthRequest="648"
-                    HeightRequest="108"
-                    RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToParent ,Property=Height, Factor=0}"
-                    RelativeLayout.XConstraint="{ConstraintExpression Type=RelativeToParent ,Property=Width, Factor=0.33125}" >
-      <BoxView x:Name="BackgroundBox"
-              RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToView, ElementName=NoContentInfo ,Property=Height, Factor=1}"
-              RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToView, ElementName=NoContentInfo ,Property=Width, Factor=1}"
-              RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToView, ElementName=NoContentInfo ,Property=Height, Factor=0}"
-              RelativeLayout.XConstraint="{ConstraintExpression Type=RelativeToView, ElementName=NoContentInfo ,Property=Width, Factor=0}" />
-      <Label x:Name="Text"
-            RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToView, ElementName=BackgroundBox ,Property=Height, Factor=0.444444}"
-            RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToView, ElementName=BackgroundBox ,Property=Width, Factor=0.42284}"
-            RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToView, ElementName=BackgroundBox ,Property=Height, Factor=0.3056}"
-            RelativeLayout.XConstraint="{ConstraintExpression Type=RelativeToView, ElementName=BackgroundBox ,Property=Width, Factor=0.28858}"
-            Text="No Content to display"
-            HorizontalTextAlignment="Center"
-            FontSize="40"
-            TextColor="White" />
+                    IsVisible="true"
+                    RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToParent, Property=Height, Factor=1}"
+                    RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=1}"
+                    RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToParent, Property=Height, Factor=0}"
+                    RelativeLayout.XConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=0}" >
+            <StackLayout x:Name="PanelButtonStack"
+                        Orientation="Horizontal"
+                        Padding="222.61,31.65,222.61,31.65"
+                        IsVisible="true">
+            </StackLayout>
+        </ScrollView>
+        <RelativeLayout x:Name="NoContentInfo"
+                        HorizontalOptions="Center"
+                        IsVisible="false"
+                        RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToParent, Property=Height, Factor=1}"
+                        RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=1}">
+            <BoxView x:Name="BackgroundBox"
+                    RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToView, ElementName=NoContentInfo ,Property=Height, Factor=1}"
+                    RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToView, ElementName=NoContentInfo ,Property=Width, Factor=1}" />
+            <Label x:Name="Text"
+                  RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToView, ElementName=BackgroundBox ,Property=Height, Factor=0.444444}"
+                  RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToView, ElementName=BackgroundBox ,Property=Width, Factor=0.42284}"
+                  RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToView, ElementName=BackgroundBox ,Property=Height, Factor=0.3056}"
+                  RelativeLayout.XConstraint="{ConstraintExpression Type=RelativeToView, ElementName=BackgroundBox ,Property=Width, Factor=0.28858}"
+                  Text="No Content to display"
+                  HorizontalTextAlignment="Center"
+                  FontSize="40"
+                  TextColor="White" />
+        </RelativeLayout>
     </RelativeLayout>
-  </RelativeLayout>
 </Views:Panel>
\ No newline at end of file