<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"
RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=0.85}"
Opacity="0"
TextColor="White"
+ FontFamily="BreezeSans"
LineBreakMode="TailTruncation"
HorizontalTextAlignment="Center"
Text="{Binding CurrentStateDescription.Label}" />
using LibTVRefCommonPortable.Utils;
using System;
using Xamarin.Forms;
+using Xamarin.Forms.PlatformConfiguration.TizenSpecific;
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;
}
Opacity="0.6"
TextColor="White"
LineBreakMode="TailTruncation"
+ FontFamily="BreezeSans"
HorizontalTextAlignment="Center"
Text="{Binding CurrentStateDescription.Label}" />
<Button x:Name = "ButtonFocusArea"
using System;
using LibTVRefCommonPortable.Utils;
using Xamarin.Forms;
+using Xamarin.Forms.PlatformConfiguration.TizenSpecific;
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>
}
#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
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
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}"
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}" />
using LibTVRefCommonPortable.Utils;
using Xamarin.Forms;
using Tizen.Xamarin.Forms.Extension;
+using Xamarin.Forms.PlatformConfiguration.TizenSpecific;
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) =>
{
}
#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
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
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}"
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}" />
using System.Windows.Input;
using LibTVRefCommonPortable.Utils;
using Xamarin.Forms;
+using Xamarin.Forms.PlatformConfiguration.TizenSpecific;
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>
}
#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
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
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}"/>
using LibTVRefCommonPortable.Utils;
using System;
using Xamarin.Forms;
+using Xamarin.Forms.PlatformConfiguration.TizenSpecific;
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>
}
#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
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
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"
using System;
using Tizen.Xamarin.Forms.Extension;
using Xamarin.Forms;
+using Xamarin.Forms.PlatformConfiguration.TizenSpecific;
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();
}
//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
#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);
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>();