summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Xamarin.Forms.Platform.Tizen/Platform.cs9
-rw-r--r--Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.project.json2
2 files changed, 10 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Platform.cs b/Xamarin.Forms.Platform.Tizen/Platform.cs
index 69a435e3..4fe56e3f 100644
--- a/Xamarin.Forms.Platform.Tizen/Platform.cs
+++ b/Xamarin.Forms.Platform.Tizen/Platform.cs
@@ -135,6 +135,15 @@ namespace Xamarin.Forms.Platform.Tizen
IVisualElementRenderer pageRenderer = AttachRenderer(Page);
var naviItem = _naviframe.Push(pageRenderer.NativeView);
naviItem.TitleBarVisible = false;
+
+ // Make naviitem transparent if Forms.Context.MainWindow is transparent.
+ // Make sure that this is only for _navModel._naviTree. (not for _navModel._modalStack)
+ // In addtion, the style of naviItem is only decided before the naviItem pushed into Naviframe. (not on-demand).
+ if(Forms.Context.MainWindow.Alpha)
+ {
+ naviItem.Style = "default/transparent";
+ }
+
((Application)Page.RealParent).NavigationProxy.Inner = this;
Device.StartTimer(TimeSpan.Zero, () =>
diff --git a/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.project.json b/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.project.json
index 154c2710..9c281cb5 100644
--- a/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.project.json
+++ b/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.project.json
@@ -1,6 +1,6 @@
{
"dependencies": {
- "ElmSharp": "1.1.0-beta-011",
+ "ElmSharp": "1.1.0-beta-016",
"NETStandard.Library": "1.6.0",
"System.Runtime.Serialization.Xml": "4.1.1",
"Tizen.Applications": "1.1.0",