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-24 13:39:49 +0900 |
commit | 52cbd66a8aebe893804b402b1025707d76415ea0 (patch) | |
tree | 8d49f759260599fbc796532a3d0967546d966b3e | |
parent | 79e55820af0e71ad8ffae2b95d076a8e6af958d5 (diff) | |
download | xamarin-forms-52cbd66a8aebe893804b402b1025707d76415ea0.tar.gz xamarin-forms-52cbd66a8aebe893804b402b1025707d76415ea0.tar.bz2 xamarin-forms-52cbd66a8aebe893804b402b1025707d76415ea0.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"; |