summaryrefslogtreecommitdiff
path: root/android-app/app/src/main/res/values
diff options
context:
space:
mode:
Diffstat (limited to 'android-app/app/src/main/res/values')
-rw-r--r--android-app/app/src/main/res/values/colors.xml12
-rw-r--r--android-app/app/src/main/res/values/strings.xml13
-rw-r--r--android-app/app/src/main/res/values/themes.xml9
3 files changed, 34 insertions, 0 deletions
diff --git a/android-app/app/src/main/res/values/colors.xml b/android-app/app/src/main/res/values/colors.xml
new file mode 100644
index 0000000..2382364
--- /dev/null
+++ b/android-app/app/src/main/res/values/colors.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <color name="primary">#0D47A1</color>
+ <color name="primary_dark">#002171</color>
+ <color name="accent">#FF6D00</color>
+ <color name="surface">#FFFFFF</color>
+ <color name="on_primary">#FFFFFF</color>
+ <color name="wind_arrow">#FFFFFFFF</color>
+ <color name="wind_slow">#4CAF50</color>
+ <color name="wind_medium">#FF9800</color>
+ <color name="wind_strong">#F44336</color>
+</resources>
diff --git a/android-app/app/src/main/res/values/strings.xml b/android-app/app/src/main/res/values/strings.xml
new file mode 100644
index 0000000..b7d3bd8
--- /dev/null
+++ b/android-app/app/src/main/res/values/strings.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string name="app_name">Nav</string>
+ <string name="nav_map">Map</string>
+ <string name="nav_forecast">Forecast</string>
+ <string name="loading_weather">Fetching weather…</string>
+ <string name="error_location">Could not get location. Showing default position.</string>
+ <string name="error_weather">Failed to load weather data.</string>
+ <string name="wind_speed_fmt">%.0f kt</string>
+ <string name="temp_fmt">%.0f °C</string>
+ <string name="precip_fmt">%d%%</string>
+ <string name="permission_rationale">Location is needed to show weather for your current position.</string>
+</resources>
diff --git a/android-app/app/src/main/res/values/themes.xml b/android-app/app/src/main/res/values/themes.xml
new file mode 100644
index 0000000..cecd32f
--- /dev/null
+++ b/android-app/app/src/main/res/values/themes.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <style name="Theme.NavApp" parent="Theme.MaterialComponents.DayNight.NoActionBar">
+ <item name="colorPrimary">@color/primary</item>
+ <item name="colorPrimaryDark">@color/primary_dark</item>
+ <item name="colorAccent">@color/accent</item>
+ <item name="android:statusBarColor">@color/primary_dark</item>
+ </style>
+</resources>