Add gradient masking image for background image
authorKyuho Jo <kyuho.jo@samsung.com>
Fri, 3 Mar 2017 05:25:25 +0000 (14:25 +0900)
committerChulSeung Kim <charles0.kim@samsung.com>
Thu, 8 Jun 2017 09:34:45 +0000 (18:34 +0900)
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
Change-Id: I339774b9b944f83e1be4f6bba5df653b1df252df

TVHome/TVHome.TizenTV/res/bg_dimmed.png [new file with mode: 0644]
TVHome/TVHome/Views/MainPage.xaml

diff --git a/TVHome/TVHome.TizenTV/res/bg_dimmed.png b/TVHome/TVHome.TizenTV/res/bg_dimmed.png
new file mode 100644 (file)
index 0000000..24565b5
Binary files /dev/null and b/TVHome/TVHome.TizenTV/res/bg_dimmed.png differ
index fbe2067..5415809 100755 (executable)
     </ContentPage.BindingContext>
     <ContentPage.Content>
         <RelativeLayout>
-            <BoxView x:Name = "Bg"
+            <Image x:Name="DimmedBgImage"
                   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}"
-                  Color="Black"
-                  Opacity="0.6"/>
+                  Source="bg_dimmed.png"
+                  Opacity="0.95"/>
 
             <Views:MainPanel x:Name="PageMainPanel"
                              RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToParent, Property=Height, Factor=0.22}"