Change TVHome bg image, Thumbnailbutton image
authorjjie.choi <jjie.choi@samsung.com>
Thu, 27 Apr 2017 12:55:00 +0000 (21:55 +0900)
committerChulSeung Kim <charles0.kim@samsung.com>
Thu, 8 Jun 2017 09:34:53 +0000 (18:34 +0900)
Change-Id: I768d776f3e808000a0e1f2d9cafe74a2ae741cec
Signed-off-by: jjie.choi <jjie.choi@samsung.com>
TVHome/TVHome.TizenTV/TVHome.TizenTV.csproj
TVHome/TVHome.TizenTV/res/bg_dimmed.png [deleted file]
TVHome/TVHome.TizenTV/res/bg_home_gradient_dimmed.9.png [new file with mode: 0644]
TVHome/TVHome/Controls/SubPanelThumbnailButton.xaml
TVHome/TVHome/Controls/SubPanelThumbnailButton.xaml.cs
TVHome/TVHome/TVHome.csproj
TVHome/TVHome/Views/MainPage.xaml

index c83878e..35959a3 100755 (executable)
@@ -82,7 +82,6 @@
   </ItemGroup>
   <ItemGroup>
     <Content Include="res\AppIcon.png" />
-    <Content Include="res\bg_dimmed.png" />
     <Content Include="res\btn_home_list_move_left.png" />
     <Content Include="res\btn_home_list_move_right.png" />
     <Content Include="res\btn_option_menu_nocontent_bg.9.png" />
       </FlavorProperties>
     </VisualStudio>
   </ProjectExtensions>
-</Project>
+</Project>
\ No newline at end of file
diff --git a/TVHome/TVHome.TizenTV/res/bg_dimmed.png b/TVHome/TVHome.TizenTV/res/bg_dimmed.png
deleted file mode 100755 (executable)
index 24565b5..0000000
Binary files a/TVHome/TVHome.TizenTV/res/bg_dimmed.png and /dev/null differ
diff --git a/TVHome/TVHome.TizenTV/res/bg_home_gradient_dimmed.9.png b/TVHome/TVHome.TizenTV/res/bg_home_gradient_dimmed.9.png
new file mode 100644 (file)
index 0000000..b8a2733
Binary files /dev/null and b/TVHome/TVHome.TizenTV/res/bg_home_gradient_dimmed.9.png differ
index 234040f..a31697f 100755 (executable)
             RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToView, ElementName=ButtonBox, Property=Height, Factor=1}"
             RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToView, ElementName=ButtonBox, Property=Width, Factor=1}"
             Aspect="Fill"
-            BorderTop="89"
-            BorderBottom="89"
-            BorderLeft="4"
-            BorderRight="4"
-            Source="ic_tizen_list_thumbnail_gradient_normal.9.png" />
+            BorderTop="2"
+            BorderBottom="2"
+            BorderLeft="1"
+            BorderRight="1"
+            Source="ic_list_thumbnail_gradient_normal.9.png" />
     <Image x:Name="ThumbnailIcon"
             RelativeLayout.XConstraint="{ConstraintExpression Type=RelativeToView, ElementName=ButtonBox, Property=Width, Factor=0.043}"
             RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToView, ElementName=ButtonBox, Property=Height, Factor=0.689}"
index f0a0055..b2a15ed 100755 (executable)
@@ -135,6 +135,7 @@ namespace TVHome.Controls
             //Animation.Commit(ThumbnailTitle, "FocusedAnimation", 16, 300);
 
 #pragma warning disable CS4014
+            ThumbnailGradient.Source = "ic_list_thumbnail_gradient_focused.9.png";
             ThumbnailTitle.On<Xamarin.Forms.PlatformConfiguration.Tizen>().SetFontWeight(FontWeight.Medium);
             //ThumbnailTitle.FadeTo(0.8, 300);
             ThumnailDimLayer.FadeTo(0.0, 300);
@@ -166,6 +167,7 @@ namespace TVHome.Controls
 
 #pragma warning disable CS4014
             //ThumbnailTitle.FadeTo(0.3, 300);
+            ThumbnailGradient.Source = "ic_list_thumbnail_gradient_normal.9.png";
             ThumbnailTitle.On<Xamarin.Forms.PlatformConfiguration.Tizen>().SetFontWeight(FontWeight.Normal);
             ThumnailDimLayer.FadeTo(0.99, 300);
 #pragma warning restore CS4014
index 9897814..34628c2 100755 (executable)
     </EmbeddedResource>
   </ItemGroup>
   <ItemGroup>
-    <EmbeddedResource Include="Controls\SubPanelReservedButton.xaml">
-      <Generator>MSBuild:UpdateDesignTimeXaml</Generator>
-      <SubType>Designer</SubType>
-    </EmbeddedResource>
-  </ItemGroup>
-  <ItemGroup>
     <EmbeddedResource Include="Controls\SubPanelAllAppsButton.xaml">
       <Generator>MSBuild:UpdateDesignTimeXaml</Generator>
       <SubType>Designer</SubType>
index a929dad..373415b 100755 (executable)
@@ -17,9 +17,8 @@
                   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}"
-                  Source="bg_dimmed.png"
-                  Opacity="0.9"/>
-
+                  Source="ic_list_thumbnail_gradient_normal.9.png"
+                  Aspect="Fill"/>
             <Views:MainPanel x:Name="PageMainPanel"
                              RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToParent, Property=Height, Factor=0.22}"
                              RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=1}"