summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen')
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs1
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/TabbedPageRenderer.cs1
2 files changed, 2 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs
index 760abc3b..fb17b31e 100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs
@@ -163,6 +163,7 @@ namespace Xamarin.Forms.Platform.Tizen
void UpdateHasNavigationBar(Page page)
{
NaviItem item = GetNaviItemForPage(page);
+ item.Style = page is TabbedPage ? "tabbar" : "default";
item.TitleBarVisible = (bool)page.GetValue(NavigationPage.HasNavigationBarProperty);
UpdateToolbarItem(page, item);
UpdateBarBackgroundColor(item);
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/TabbedPageRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/TabbedPageRenderer.cs
index bec57fe9..84c9b258 100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/TabbedPageRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/TabbedPageRenderer.cs
@@ -47,6 +47,7 @@ namespace Xamarin.Forms.Platform.Tizen
WeightX = 1,
ShrinkMode = ToolbarShrinkMode.Expand,
SelectionMode = ToolbarSelectionMode.Always,
+ Style = "tabbar_with_title"
};
_tpage.Show();
//Add callback for item selection