diff options
author | Kangho Hur <kangho.hur@samsung.com> | 2017-04-11 15:23:57 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-04-11 15:26:53 +0900 |
commit | 84461793c514f480b6d7ccdf1f73ddc932be44d3 (patch) | |
tree | 42dc4a28393824a3ddf8176cb7739689647c5a58 | |
parent | 94d4b3e9e9d25ad7a7b140c849ce72d7fdfbe7b0 (diff) | |
download | xamarin-forms-84461793c514f480b6d7ccdf1f73ddc932be44d3.tar.gz xamarin-forms-84461793c514f480b6d7ccdf1f73ddc932be44d3.tar.bz2 xamarin-forms-84461793c514f480b6d7ccdf1f73ddc932be44d3.zip |
Use "default" style for TextCellRenderer on TV profile
- Due to TV UX limitations, TextCell.Detail property is not supported on TV profile
Change-Id: I541f7813b0c1281b58644039991bfec3c0d29c51
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/Cells/TextCellRenderer.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Cells/TextCellRenderer.cs b/Xamarin.Forms.Platform.Tizen/Cells/TextCellRenderer.cs index 1f9594a1..e46783e9 100644 --- a/Xamarin.Forms.Platform.Tizen/Cells/TextCellRenderer.cs +++ b/Xamarin.Forms.Platform.Tizen/Cells/TextCellRenderer.cs @@ -5,7 +5,9 @@ namespace Xamarin.Forms.Platform.Tizen { public class TextCellRenderer : CellRenderer { - public TextCellRenderer() : this("double_label") { } + // TextCell.Detail property is not supported on TV profile due to UX limitation. + public TextCellRenderer() : this( Device.Idiom == TargetIdiom.Phone ? "double_label" : "default") { } + protected TextCellRenderer(string style) : base(style) { MainPart = "elm.text"; |