diff --git a/samples/Basic/Xamarin.Forms/SkiaSharpSample.Tizen/SkiaSharpSample.Tizen.csproj b/samples/Basic/Xamarin.Forms/SkiaSharpSample.Tizen/SkiaSharpSample.Tizen.csproj
old mode 100755
new mode 100644
index b473ccf2..95f53842
--- a/samples/Basic/Xamarin.Forms/SkiaSharpSample.Tizen/SkiaSharpSample.Tizen.csproj
+++ b/samples/Basic/Xamarin.Forms/SkiaSharpSample.Tizen/SkiaSharpSample.Tizen.csproj
@@ -1,51 +1,51 @@
-
-
-
-
- tizen40
- Exe
-
-
-
- portable
- bin\Debug\
-
-
- None
- bin\Release\
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- tpkroot\bin\runtimes\linux-x86\native\libSkiaSharp.so
- Always
-
-
- tpkroot\bin\runtimes\tizen-armel\native\libSkiaSharp.so
- Always
-
-
-
-
-
- Runtime
-
-
-
-
-
+
+
+
+
+ tizen40
+ Exe
+
+
+
+ portable
+ bin\Debug\
+
+
+ None
+ bin\Release\
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ tpkroot\bin\runtimes\linux-x86\native\libSkiaSharp.so
+ Always
+
+
+ tpkroot\bin\runtimes\tizen-armel\native\libSkiaSharp.so
+ Always
+
+
+
+
+
+ Runtime
+
+
+
+
+
diff --git a/samples/Gallery/Xamarin.Forms/Tizen/SkiaSharpGallery.Tizen.csproj b/samples/Gallery/Xamarin.Forms/Tizen/SkiaSharpGallery.Tizen.csproj
old mode 100755
new mode 100644
index 791829d8..359381dc
--- a/samples/Gallery/Xamarin.Forms/Tizen/SkiaSharpGallery.Tizen.csproj
+++ b/samples/Gallery/Xamarin.Forms/Tizen/SkiaSharpGallery.Tizen.csproj
@@ -1,62 +1,62 @@
-
-
-
-
- tizen40
- Exe
-
-
-
- portable
- bin\Debug\
-
-
- None
- bin\Release\
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- tpkroot\bin\runtimes\linux-x86\native\libSkiaSharp.so
- Always
-
-
- tpkroot\bin\runtimes\tizen-armel\native\libSkiaSharp.so
- Always
-
-
-
- tpkroot\bin\runtimes\linux-x86\native\libHarfBuzzSharp.so
- Always
-
-
- tpkroot\bin\runtimes\tizen-armel\native\libHarfBuzzSharp.so
- Always
-
-
-
-
-
- Runtime
-
-
-
-
-
+
+
+
+
+ tizen40
+ Exe
+
+
+
+ portable
+ bin\Debug\
+
+
+ None
+ bin\Release\
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ tpkroot\bin\runtimes\linux-x86\native\libSkiaSharp.so
+ Always
+
+
+ tpkroot\bin\runtimes\tizen-armel\native\libSkiaSharp.so
+ Always
+
+
+
+ tpkroot\bin\runtimes\linux-x86\native\libHarfBuzzSharp.so
+ Always
+
+
+ tpkroot\bin\runtimes\tizen-armel\native\libHarfBuzzSharp.so
+ Always
+
+
+
+
+
+ Runtime
+
+
+
+
+
diff --git a/source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Native.Shared/SKCanvasViewRendererBase.cs b/source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Native.Shared/SKCanvasViewRendererBase.cs
index 2f86b5a3..c882d19f 100644
--- a/source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Native.Shared/SKCanvasViewRendererBase.cs
+++ b/source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Native.Shared/SKCanvasViewRendererBase.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.ComponentModel;
using SKFormsView = SkiaSharp.Views.Forms.SKCanvasView;
@@ -130,7 +130,7 @@ namespace SkiaSharp.Views.Forms
#elif TIZEN4_0
protected virtual TNativeView CreateNativeControl()
{
- TNativeView ret = (TNativeView)Activator.CreateInstance(typeof(TNativeView), new[] { TForms.Context.MainWindow });
+ TNativeView ret = (TNativeView)Activator.CreateInstance(typeof(TNativeView), new[] { TForms.NativeParent });
return ret;
}
#else
diff --git a/source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Native.Shared/SKGLViewRendererBase.cs b/source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Native.Shared/SKGLViewRendererBase.cs
index 023e4dcb..7d178373 100644
--- a/source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Native.Shared/SKGLViewRendererBase.cs
+++ b/source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Native.Shared/SKGLViewRendererBase.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.ComponentModel;
using Xamarin.Forms;
@@ -136,7 +136,7 @@ namespace SkiaSharp.Views.Forms
#elif TIZEN4_0
protected virtual TNativeView CreateNativeControl()
{
- TNativeView ret = (TNativeView)Activator.CreateInstance(typeof(TNativeView), new[] { TForms.Context.MainWindow });
+ TNativeView ret = (TNativeView)Activator.CreateInstance(typeof(TNativeView), new[] { TForms.NativeParent });
return ret;
}
#else
diff --git a/source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Tizen/SkiaSharp.Views.Forms.Tizen.csproj b/source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Tizen/SkiaSharp.Views.Forms.Tizen.csproj
index 7859bed2..88878576 100755
--- a/source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Tizen/SkiaSharp.Views.Forms.Tizen.csproj
+++ b/source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Tizen/SkiaSharp.Views.Forms.Tizen.csproj
@@ -20,7 +20,7 @@
bin\Release\
-
+
diff --git a/source/SkiaSharp.Views/SkiaSharp.Views.Tizen/CustomRenderingView.cs b/source/SkiaSharp.Views/SkiaSharp.Views.Tizen/CustomRenderingView.cs
index bc4efbf8..9a5e0aba 100644
--- a/source/SkiaSharp.Views/SkiaSharp.Views.Tizen/CustomRenderingView.cs
+++ b/source/SkiaSharp.Views/SkiaSharp.Views.Tizen/CustomRenderingView.cs
@@ -170,7 +170,6 @@ namespace SkiaSharp.Views.Tizen
/// Pointer to the newly created control.
protected sealed override IntPtr CreateHandle(EvasObject parent)
{
- Console.WriteLine("SEC-CustomRenderingView.CreateHandle parent:" + parent);
IntPtr handle = Interop.Elementary.elm_layout_add(parent);
Interop.Elementary.elm_layout_theme_set(handle, "layout", "background", "default");
@@ -182,7 +181,6 @@ namespace SkiaSharp.Views.Tizen
Interop.Elementary.elm_object_part_content_set(handle, "elm.swallow.content", EvasImage);
CreateNativeResources(parent);
- Console.WriteLine("SEC-CustomRenderingView.CreateHandle handle:" + handle);
return handle;
}
diff --git a/source/SkiaSharp.Views/SkiaSharp.Views.Tizen/ScalingInfo.cs b/source/SkiaSharp.Views/SkiaSharp.Views.Tizen/ScalingInfo.cs
old mode 100755
new mode 100644
index 5990acb3..0645e57f
--- a/source/SkiaSharp.Views/SkiaSharp.Views.Tizen/ScalingInfo.cs
+++ b/source/SkiaSharp.Views/SkiaSharp.Views.Tizen/ScalingInfo.cs
@@ -1,4 +1,4 @@
-using ElmSharp;
+using ElmSharp;
using System;
using TSystemInfo = Tizen.System.SystemInfo;
@@ -16,8 +16,7 @@ namespace SkiaSharp.Views.Tizen
/// DPI of the screen.
///
private static Lazy s_dpi = new Lazy(() =>
- {
- Console.WriteLine("SEC--ScalingInfo Profile : " + Profile);
+ {
if (Profile == "tv")
{
// TV has fixed DPI value (72)
@@ -26,7 +25,6 @@ namespace SkiaSharp.Views.Tizen
int dpi = 0;
TSystemInfo.TryGetValue("http://tizen.org/feature/screen.dpi", out dpi);
- Console.WriteLine("SEC--ScalingInfo DPI : " + dpi);
return dpi;
});