Update image resources, Set font style.
authorjjie.choi <jjie.choi@samsung.com>
Thu, 27 Apr 2017 05:17:46 +0000 (14:17 +0900)
committerChulSeung Kim <charles0.kim@samsung.com>
Thu, 8 Jun 2017 09:34:53 +0000 (18:34 +0900)
Change-Id: I2be2eaea04944d3ee8937f341f23295aeeb4c3d5
Signed-off-by: jjie.choi <jjie.choi@samsung.com>
31 files changed:
TVHome/TVHome.TizenTV/res/ic_home_menu_apps_focused.png [moved from TVHome/TVHome.TizenTV/res/ic_tizen_home_menu_apps_focused.png with 100% similarity, mode: 0644]
TVHome/TVHome.TizenTV/res/ic_home_menu_apps_normal.png [moved from TVHome/TVHome.TizenTV/res/ic_tizen_home_menu_apps_normal.png with 100% similarity, mode: 0644]
TVHome/TVHome.TizenTV/res/ic_home_menu_apps_selected.png [moved from TVHome/TVHome.TizenTV/res/ic_tizen_home_menu_apps_selected.png with 100% similarity, mode: 0644]
TVHome/TVHome.TizenTV/res/ic_home_menu_apps_unselected.png [moved from TVHome/TVHome.TizenTV/res/ic_tizen_home_menu_apps_unselected.png with 100% similarity, mode: 0644]
TVHome/TVHome.TizenTV/res/ic_home_menu_recent_focused.png [moved from TVHome/TVHome.TizenTV/res/ic_tizen_home_menu_recent_focused.png with 100% similarity, mode: 0644]
TVHome/TVHome.TizenTV/res/ic_home_menu_recent_normal.png [moved from TVHome/TVHome.TizenTV/res/ic_tizen_home_menu_recent_normal.png with 100% similarity, mode: 0644]
TVHome/TVHome.TizenTV/res/ic_home_menu_recent_selected.png [moved from TVHome/TVHome.TizenTV/res/ic_tizen_home_menu_recent_selected.png with 100% similarity, mode: 0644]
TVHome/TVHome.TizenTV/res/ic_home_menu_recent_unselected.png [moved from TVHome/TVHome.TizenTV/res/ic_tizen_home_menu_recent_unselected.png with 100% similarity, mode: 0644]
TVHome/TVHome.TizenTV/res/ic_home_menu_settings_focused.png [moved from TVHome/TVHome.TizenTV/res/ic_tizen_home_menu_settings_focused.png with 100% similarity, mode: 0644]
TVHome/TVHome.TizenTV/res/ic_home_menu_settings_normal.png [moved from TVHome/TVHome.TizenTV/res/ic_tizen_home_menu_settings_normal.png with 100% similarity, mode: 0644]
TVHome/TVHome.TizenTV/res/ic_home_menu_settings_selected.png [moved from TVHome/TVHome.TizenTV/res/ic_tizen_home_menu_settings_selected.png with 100% similarity, mode: 0644]
TVHome/TVHome.TizenTV/res/ic_home_menu_settings_unselected.png [moved from TVHome/TVHome.TizenTV/res/ic_tizen_home_menu_settings_unselected.png with 100% similarity, mode: 0644]
TVHome/TVHome.TizenTV/res/ic_tizen_home_menu_apps_unselect.png [deleted file]
TVHome/TVHome.TizenTV/res/ic_tizen_home_menu_recent_unselect.png [deleted file]
TVHome/TVHome.TizenTV/res/ic_tizen_home_menu_settings_unselect.png [deleted file]
TVHome/TVHome.TizenTV/res/img_home_list_dimmed_apps_75.png [new file with mode: 0644]
TVHome/TVHome.TizenTV/res/img_home_menu_focused_bg.png [moved from TVHome/TVHome.TizenTV/res/img_tizen_home_menu_focused_bg.png with 100% similarity, mode: 0644]
TVHome/TVHome.TizenTV/res/img_tizen_home_list_dimmed_apps.png [deleted file]
TVHome/TVHome/Controls/MainPanelButton.xaml
TVHome/TVHome/Controls/MainPanelButton.xaml.cs
TVHome/TVHome/Controls/SubPanelAllAppsButton.xaml
TVHome/TVHome/Controls/SubPanelAllAppsButton.xaml.cs
TVHome/TVHome/Controls/SubPanelButton.xaml
TVHome/TVHome/Controls/SubPanelButton.xaml.cs
TVHome/TVHome/Controls/SubPanelReservedButton.xaml
TVHome/TVHome/Controls/SubPanelReservedButton.xaml.cs
TVHome/TVHome/Controls/SubPanelSettingButton.xaml
TVHome/TVHome/Controls/SubPanelSettingButton.xaml.cs
TVHome/TVHome/Controls/SubPanelThumbnailButton.xaml
TVHome/TVHome/Controls/SubPanelThumbnailButton.xaml.cs
TVHome/TVHome/ViewModels/MainPageViewModel.cs

diff --git a/TVHome/TVHome.TizenTV/res/ic_tizen_home_menu_apps_unselect.png b/TVHome/TVHome.TizenTV/res/ic_tizen_home_menu_apps_unselect.png
deleted file mode 100755 (executable)
index fd6146e..0000000
Binary files a/TVHome/TVHome.TizenTV/res/ic_tizen_home_menu_apps_unselect.png and /dev/null differ
diff --git a/TVHome/TVHome.TizenTV/res/ic_tizen_home_menu_recent_unselect.png b/TVHome/TVHome.TizenTV/res/ic_tizen_home_menu_recent_unselect.png
deleted file mode 100755 (executable)
index 3095730..0000000
Binary files a/TVHome/TVHome.TizenTV/res/ic_tizen_home_menu_recent_unselect.png and /dev/null differ
diff --git a/TVHome/TVHome.TizenTV/res/ic_tizen_home_menu_settings_unselect.png b/TVHome/TVHome.TizenTV/res/ic_tizen_home_menu_settings_unselect.png
deleted file mode 100755 (executable)
index 658e3bd..0000000
Binary files a/TVHome/TVHome.TizenTV/res/ic_tizen_home_menu_settings_unselect.png and /dev/null differ
diff --git a/TVHome/TVHome.TizenTV/res/img_home_list_dimmed_apps_75.png b/TVHome/TVHome.TizenTV/res/img_home_list_dimmed_apps_75.png
new file mode 100644 (file)
index 0000000..ae321e2
Binary files /dev/null and b/TVHome/TVHome.TizenTV/res/img_home_list_dimmed_apps_75.png differ
diff --git a/TVHome/TVHome.TizenTV/res/img_tizen_home_list_dimmed_apps.png b/TVHome/TVHome.TizenTV/res/img_tizen_home_list_dimmed_apps.png
deleted file mode 100644 (file)
index 4f5ac7c..0000000
Binary files a/TVHome/TVHome.TizenTV/res/img_tizen_home_list_dimmed_apps.png and /dev/null differ
index 1731e4a..0468c7d 100755 (executable)
@@ -9,7 +9,7 @@
         <Image x:Name="ButtonBgImage"
                RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToParent, Property=Height, Factor=1}"
                RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=1}"
-               Source="img_tizen_home_menu_focused_bg.png"
+               Source="img_home_menu_focused_bg.png"
                Opacity="0"
                Scale="0" />
         <Image x:Name="ButtonBlurImage"
@@ -31,6 +31,7 @@
                RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=0.85}"
                Opacity="0"
                TextColor="White"
+               FontFamily="BreezeSans"
                LineBreakMode="TailTruncation"
                HorizontalTextAlignment="Center"
                Text="{Binding CurrentStateDescription.Label}" />
index 2cc64ae..17eee40 100755 (executable)
@@ -17,6 +17,7 @@
 using LibTVRefCommonPortable.Utils;
 using System;
 using Xamarin.Forms;
+using Xamarin.Forms.PlatformConfiguration.TizenSpecific;
 
 namespace TVHome.Controls
 {
@@ -49,6 +50,7 @@ namespace TVHome.Controls
             ButtonBox.WidthRequest = SizeUtils.GetWidthSize(236);
             ButtonBox.HeightRequest = SizeUtils.GetHeightSize(260);
             ButtonTitle.FontSize = SizeUtils.GetFontSize(26);
+            ButtonTitle.On<Xamarin.Forms.PlatformConfiguration.Tizen>().SetFontWeight(FontWeight.Medium);
 
             PropertyChanged += MainPanelButton_PropertyChanged;
         }
index 3ecf50d..f12a969 100755 (executable)
@@ -25,6 +25,7 @@
            Opacity="0.6"
            TextColor="White"
            LineBreakMode="TailTruncation"
+           FontFamily="BreezeSans"
            HorizontalTextAlignment="Center"
            Text="{Binding CurrentStateDescription.Label}" />
     <Button x:Name = "ButtonFocusArea"
index 12aa055..94b1844 100755 (executable)
@@ -17,6 +17,7 @@
 using System;
 using LibTVRefCommonPortable.Utils;
 using Xamarin.Forms;
+using Xamarin.Forms.PlatformConfiguration.TizenSpecific;
 
 namespace TVHome.Controls
 {
@@ -40,6 +41,7 @@ namespace TVHome.Controls
             ButtonBox.WidthRequest = SizeUtils.GetWidthSize(182);
             ButtonBox.HeightRequest = SizeUtils.GetHeightSize(230);
             ButtonTitle.FontSize = SizeUtils.GetFontSize(26);
+            ButtonTitle.On<Xamarin.Forms.PlatformConfiguration.Tizen>().SetFontWeight(FontWeight.Normal);
         }
 
         /// <summary>
@@ -70,6 +72,7 @@ namespace TVHome.Controls
             }
 
 #pragma warning disable CS4014
+            ButtonTitle.On<Xamarin.Forms.PlatformConfiguration.Tizen>().SetFontWeight(FontWeight.Medium);
             ButtonTitle.FadeTo(0.99, 300);
             ButtonTitle.TranslateTo(0, selectTransitionHeight, 300);
 #pragma warning restore CS4014
@@ -84,6 +87,7 @@ namespace TVHome.Controls
         public override async void OnUnfocused(object sender, FocusEventArgs e)
         {
 #pragma warning disable CS4014
+            ButtonTitle.On<Xamarin.Forms.PlatformConfiguration.Tizen>().SetFontWeight(FontWeight.Normal);
             ButtonTitle.FadeTo(0.5, 300);
             ButtonTitle.TranslateTo(0, 0, 300);
 #pragma warning restore CS4014
index ca75f41..b3aff64 100755 (executable)
@@ -16,7 +16,7 @@
            RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToView, ElementName=ButtonBox, Property=Height, Factor=0.095652}"
            RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToView, ElementName=ButtonBox, Property=Height, Factor=0.6}"
            RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToView, ElementName=ButtonBox, Property=Width, Factor=0.75824}"
-           Source="img_tizen_home_list_dim_apps.png" />
+           Source="img_home_list_dimmed_apps_60.png" />
     <Label x:Name="ButtonTitle"
            RelativeLayout.XConstraint="{ConstraintExpression Type=RelativeToView, ElementName=ButtonBox, Property=Width, Factor=0.120879}"
            RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToView, ElementName=ButtonBox, Property=Height, Factor=0.77391}"
@@ -24,6 +24,7 @@
            RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToView, ElementName=ButtonBox, Property=Width, Factor=0.758241}"
            Opacity="0.6"
            TextColor="White"
+           FontFamily="BreezeSans"
            LineBreakMode="TailTruncation"
            HorizontalTextAlignment="Center"
            Text="{Binding CurrentStateDescription.Label}" />
index 002ef9d..38727b1 100755 (executable)
@@ -18,6 +18,7 @@ using System;
 using LibTVRefCommonPortable.Utils;
 using Xamarin.Forms;
 using Tizen.Xamarin.Forms.Extension;
+using Xamarin.Forms.PlatformConfiguration.TizenSpecific;
 
 namespace TVHome.Controls
 {
@@ -51,6 +52,7 @@ namespace TVHome.Controls
             ButtonBox.WidthRequest = SizeUtils.GetWidthSize(182);
             ButtonBox.HeightRequest = SizeUtils.GetHeightSize(230);
             ButtonTitle.FontSize = SizeUtils.GetFontSize(26);
+            ButtonTitle.On<Xamarin.Forms.PlatformConfiguration.Tizen>().SetFontWeight(FontWeight.Normal);
 
             MessagingCenter.Subscribe<App, string>(this, "NavigationKeyPressed", (sender, e) =>
             {
@@ -224,6 +226,7 @@ namespace TVHome.Controls
             }
 
 #pragma warning disable CS4014
+            ButtonTitle.On<Xamarin.Forms.PlatformConfiguration.Tizen>().SetFontWeight(FontWeight.Medium);
             ButtonTitle.FadeTo(0.99, 300);
             ButtonTitle.TranslateTo(0, selectTransitionHeight, 300);
 #pragma warning restore CS4014
@@ -242,6 +245,7 @@ namespace TVHome.Controls
             if (!isMoveMode)
             {
 #pragma warning disable CS4014
+                ButtonTitle.On<Xamarin.Forms.PlatformConfiguration.Tizen>().SetFontWeight(FontWeight.Normal);
                 ButtonTitle.FadeTo(0.5, 300);
                 ButtonTitle.TranslateTo(0, 0, 300);
 #pragma warning restore CS4014
index f76bd73..da458dd 100755 (executable)
@@ -16,7 +16,7 @@
            RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToView, ElementName=ButtonBox, Property=Height, Factor=0.095652}"
            RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToView, ElementName=ButtonBox, Property=Height, Factor=0.6}"
            RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToView, ElementName=ButtonBox, Property=Width, Factor=0.75824}"
-             Source="img_home_list_dimmed_apps_60.png" />
+             Source="img_home_list_dimmed_apps_75.png" />
     <Label x:Name="ButtonTitle"
            RelativeLayout.XConstraint="{ConstraintExpression Type=RelativeToView, ElementName=ButtonBox, Property=Width, Factor=0.120879}"
            RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToView, ElementName=ButtonBox, Property=Height, Factor=0.77391}"
@@ -24,6 +24,7 @@
            RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToView, ElementName=ButtonBox, Property=Width, Factor=0.758241}"
            Opacity="0.6"
            TextColor="White"
+           FontFamily="BreezeSans"
            LineBreakMode="TailTruncation"
            HorizontalTextAlignment="Center"
            Text="{Binding CurrentStateDescription.Label}" />
index b1962e0..89e44a1 100755 (executable)
@@ -18,6 +18,7 @@ using System;
 using System.Windows.Input;
 using LibTVRefCommonPortable.Utils;
 using Xamarin.Forms;
+using Xamarin.Forms.PlatformConfiguration.TizenSpecific;
 
 namespace TVHome.Controls
 {
@@ -41,6 +42,7 @@ namespace TVHome.Controls
             ButtonBox.WidthRequest = SizeUtils.GetWidthSize(182);
             ButtonBox.HeightRequest = SizeUtils.GetHeightSize(230);
             ButtonTitle.FontSize = SizeUtils.GetFontSize(26);
+            ButtonTitle.On<Xamarin.Forms.PlatformConfiguration.Tizen>().SetFontWeight(FontWeight.Normal);
         }
 
         /// <summary>
@@ -71,6 +73,7 @@ namespace TVHome.Controls
             }
 
 #pragma warning disable CS4014
+            ButtonTitle.On<Xamarin.Forms.PlatformConfiguration.Tizen>().SetFontWeight(FontWeight.Medium);
             ButtonTitle.FadeTo(0.99, 300);
             ButtonTitle.TranslateTo(0, selectTransitionHeight, 300);
 #pragma warning restore CS4014
@@ -85,6 +88,7 @@ namespace TVHome.Controls
         public override async void OnUnfocused(object sender, FocusEventArgs e)
         {
 #pragma warning disable CS4014
+            ButtonTitle.On<Xamarin.Forms.PlatformConfiguration.Tizen>().SetFontWeight(FontWeight.Normal);
             ButtonTitle.FadeTo(0.5, 300);
             ButtonTitle.TranslateTo(0, 0, 300);
 #pragma warning restore CS4014
index 8b974cd..27f7c73 100755 (executable)
@@ -24,6 +24,7 @@
            RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToView, ElementName=ButtonBox, Property=Width, Factor=0.758241}"
            Opacity="0.6"
            TextColor="White"
+           FontFamily="BreezeSans"
            LineBreakMode="TailTruncation"
            HorizontalTextAlignment="Center"
            Text="{Binding CurrentStateDescription.Label}"/>
index 632d8d8..3070a5a 100755 (executable)
@@ -17,6 +17,7 @@
 using LibTVRefCommonPortable.Utils;
 using System;
 using Xamarin.Forms;
+using Xamarin.Forms.PlatformConfiguration.TizenSpecific;
 
 namespace TVHome.Controls
 {
@@ -40,6 +41,7 @@ namespace TVHome.Controls
             ButtonBox.WidthRequest = SizeUtils.GetWidthSize(182);
             ButtonBox.HeightRequest = SizeUtils.GetHeightSize(230);
             ButtonTitle.FontSize = SizeUtils.GetFontSize(26);
+            ButtonTitle.On<Xamarin.Forms.PlatformConfiguration.Tizen>().SetFontWeight(FontWeight.Normal);
         }
 
         /// <summary>
@@ -70,6 +72,7 @@ namespace TVHome.Controls
             }
 
 #pragma warning disable CS4014
+            ButtonTitle.On<Xamarin.Forms.PlatformConfiguration.Tizen>().SetFontWeight(FontWeight.Medium);
             ButtonTitle.FadeTo(0.99, 300);
             ButtonTitle.TranslateTo(0, selectTransitionHeight, 300);
 #pragma warning restore CS4014
@@ -84,6 +87,7 @@ namespace TVHome.Controls
         public override async void OnUnfocused(object sender, FocusEventArgs e)
         {
 #pragma warning disable CS4014
+            ButtonTitle.On<Xamarin.Forms.PlatformConfiguration.Tizen>().SetFontWeight(FontWeight.Normal);
             ButtonTitle.FadeTo(0.5, 300);
             ButtonTitle.TranslateTo(0, 0, 300);
 #pragma warning restore CS4014
index 3b22242..234040f 100755 (executable)
@@ -34,6 +34,7 @@
             RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToView, ElementName=ButtonBox, Property=Width, Factor=0.75}"
             RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToView, ElementName=ButtonBox, Property=Height, Factor=0.166}"
             LineBreakMode="TailTruncation"
+            FontFamily="BreezeSans"
             Text="{Binding CurrentStateDescription.Label}"
             TextColor="#FFFFFF"/>
     <Button x:Name="ButtonFocusArea"
index 571a615..f0a0055 100755 (executable)
@@ -17,6 +17,7 @@ using LibTVRefCommonPortable.Utils;
 using System;
 using Tizen.Xamarin.Forms.Extension;
 using Xamarin.Forms;
+using Xamarin.Forms.PlatformConfiguration.TizenSpecific;
 
 namespace TVHome.Controls
 {
@@ -40,6 +41,7 @@ namespace TVHome.Controls
             ButtonBox.WidthRequest = SizeUtils.GetWidthSize(320);
             ButtonBox.HeightRequest = SizeUtils.GetHeightSize(180);
             ThumbnailTitle.FontSize = SizeUtils.GetFontSize(26);
+            ThumbnailTitle.On<Xamarin.Forms.PlatformConfiguration.Tizen>().SetFontWeight(FontWeight.Normal);
 
             //InitializeLongTapGesture();
         }
@@ -133,6 +135,7 @@ namespace TVHome.Controls
             //Animation.Commit(ThumbnailTitle, "FocusedAnimation", 16, 300);
 
 #pragma warning disable CS4014
+            ThumbnailTitle.On<Xamarin.Forms.PlatformConfiguration.Tizen>().SetFontWeight(FontWeight.Medium);
             //ThumbnailTitle.FadeTo(0.8, 300);
             ThumnailDimLayer.FadeTo(0.0, 300);
 #pragma warning restore CS4014
@@ -163,6 +166,7 @@ namespace TVHome.Controls
 
 #pragma warning disable CS4014
             //ThumbnailTitle.FadeTo(0.3, 300);
+            ThumbnailTitle.On<Xamarin.Forms.PlatformConfiguration.Tizen>().SetFontWeight(FontWeight.Normal);
             ThumnailDimLayer.FadeTo(0.99, 300);
 #pragma warning restore CS4014
             await View.ScaleTo(1.0, 300);
index f4d4480..0168f48 100755 (executable)
@@ -278,10 +278,10 @@ namespace TVHome.ViewModels
             string[] AppControlID = { ManagedApps.TVAppsAppID, ManagedApps.TVAppsAppID, ManagedApps.SettingsAppID };
             string[] AppIconPath =
                 {
-                "ic_tizen_home_menu_{0}_normal.png",
-                "ic_tizen_home_menu_{0}_focused.png",
-                "ic_tizen_home_menu_{0}_selected.png",
-                "ic_tizen_home_menu_{0}_unselect.png"
+                "ic_home_menu_{0}_normal.png",
+                "ic_home_menu_{0}_focused.png",
+                "ic_home_menu_{0}_selected.png",
+                "ic_home_menu_{0}_unselected.png"
             };
 
             List<ShortcutInfo> TempList = new List<ShortcutInfo>();