diff --git a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/App.xaml.cs b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/App.xaml.cs
index 2e885b0..16875ae 100644
--- a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/App.xaml.cs
+++ b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/App.xaml.cs
@@ -49,7 +49,11 @@ namespace Xamarin.Neo4j
{
if (MainPage is NavigationPage navPage)
{
- navPage.BarBackgroundColor = Color.FromArgb("#31333b");
+ if (Resources.TryGetValue("NavigationBarColor", out var navColor) && navColor is Color color)
+ navPage.BarBackgroundColor = color;
+ else
+ navPage.BarBackgroundColor = Color.FromArgb("#31333b");
+
navPage.BarTextColor = Colors.White;
}
}
diff --git a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Pages/SessionPage.xaml b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Pages/SessionPage.xaml
index 0ce0963..9e9d08c 100644
--- a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Pages/SessionPage.xaml
+++ b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Pages/SessionPage.xaml
@@ -30,7 +30,8 @@
+ Glyph="{x:Static fonts:FontAwesomeSolid.Play}" Size="20"
+ Color="#007AFF" />
@@ -144,64 +145,64 @@
-
-
+
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Themes/DarkTheme.xaml b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Themes/DarkTheme.xaml
index b520f95..842b2fe 100644
--- a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Themes/DarkTheme.xaml
+++ b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Themes/DarkTheme.xaml
@@ -17,6 +17,7 @@
#2a2a2a
#141414
#141414
+ #141414
diff --git a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Themes/LightTheme.xaml b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Themes/LightTheme.xaml
index 300bf82..c5225a3 100644
--- a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Themes/LightTheme.xaml
+++ b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Themes/LightTheme.xaml
@@ -17,6 +17,7 @@
#e0e0e0
#f5f5f5
#ffffff
+ #0c0c0c
diff --git a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/ViewModels/SessionViewModel.cs b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/ViewModels/SessionViewModel.cs
index 2515e1f..2d90925 100644
--- a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/ViewModels/SessionViewModel.cs
+++ b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/ViewModels/SessionViewModel.cs
@@ -276,7 +276,7 @@ namespace Xamarin.Neo4j.ViewModels
get
{
var screenHeight = _screenSizeService.GetScreenHeight();
- return Math.Max(200, screenHeight - 300);
+ return Math.Max(120, (screenHeight - 300) / 2);
}
}