summaryrefslogtreecommitdiff
path: root/android-app/app/src/main/res/layout
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-04-11 09:55:54 +0000
committerClaude <noreply@anthropic.com>2026-04-11 09:55:54 +0000
commit122e8b7b84df85b1f6a9ed50c6c66273acee911d (patch)
tree0ff274561af606f0cd745400939cd10448aa3ad9 /android-app/app/src/main/res/layout
parente4ae5ac3a83f1da940ab33c93da4ed3e03cd7f14 (diff)
WaveView adapts sky/sea colors to light/dark mode
Day (light mode): vivid sky blue (#2B8FC4 → #87C8DF) fading into tropical deep-sea blue (#0D7A9A → #074B68) — evokes a clear Kona afternoon with deep Pacific below. Shimmer is bright white sunlight on water (#50FFFFFF). Night (dark mode): retains the existing dark charcoal sky (#1C1B1F → #162433) and midnight navy sea (#0B3050 → #0D2137) with blue shimmer. Colors are defined as adaptive color resources (values/ and values-night/) and read in WaveView.onSizeChanged() and paint init instead of hardcoded Color.parseColor() calls. https://claude.ai/code/session_01HXPjBsogsJVRwCiekDGkJX
Diffstat (limited to 'android-app/app/src/main/res/layout')
-rw-r--r--android-app/app/src/main/res/layout/layout_instruments_sheet.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/android-app/app/src/main/res/layout/layout_instruments_sheet.xml b/android-app/app/src/main/res/layout/layout_instruments_sheet.xml
index e14b468..3a4adf1 100644
--- a/android-app/app/src/main/res/layout/layout_instruments_sheet.xml
+++ b/android-app/app/src/main/res/layout/layout_instruments_sheet.xml
@@ -159,10 +159,9 @@
</LinearLayout>
- <!-- Animated wave divider — always ocean-coloured, never inverted -->
+ <!-- Animated wave divider — colors adapt via wave_sky/sea color resources -->
<org.terst.nav.ui.WaveView
android:id="@+id/wave_divider"
- android:forceDarkAllowed="false"
android:layout_width="match_parent"
android:layout_height="72dp"
android:layout_marginStart="-16dp"