Skip to content

Your Android phone and your Windows PC, working as one. Local-first, end-to-end encrypted, no account.

Android: solid category chips and bottom bar

Bee0d652e5cc8aa
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 59ae7b9..dabd4b8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -44,6 +44,9 @@ change things that need a step from you, and its notes say so.
crashes the app.
- Android: Phone as webcam no longer crashes the app when its preview
comes back (the same fix covers the QR scanner and Continuity Camera).
+- Android: on Hive, the category chips at the top of Settings and the
+ Home/Settings bar are solid, so the honeycomb and the list no longer
+ show through them.
- **App windows and mirroring open after a reconnect.** If the connection to
the PC dropped or was replaced just as you opened an app window or the
phone's screen, the phone gave up at once with "Offline". It now waits up
diff --git a/android/app/src/main/kotlin/app/nectarlink/android/ui/MainActivity.kt b/android/app/src/main/kotlin/app/nectarlink/android/ui/MainActivity.kt
index ed7b34c..42c4749 100644
--- a/android/app/src/main/kotlin/app/nectarlink/android/ui/MainActivity.kt
+++ b/android/app/src/main/kotlin/app/nectarlink/android/ui/MainActivity.kt
@@ -973,7 +973,8 @@ private fun FloatingBottomPillDock(
val baseFill = if (isGlass) {
scheme.surfaceContainerHighest.copy(alpha = 0.92f)
} else {
- scheme.surfaceContainerHigh.copy(alpha = 0.96f)
+ // Solid: the list scrolls under it, and text showed through.
+ scheme.surfaceContainerHigh
}
val rimColor = if (isGlass) scheme.outlineVariant else scheme.outlineVariant.copy(alpha = 0.45f)
Box(
diff --git a/android/app/src/main/kotlin/app/nectarlink/android/ui/settings/SettingsScreen.kt b/android/app/src/main/kotlin/app/nectarlink/android/ui/settings/SettingsScreen.kt
index c8b12b5..f292cc0 100644
--- a/android/app/src/main/kotlin/app/nectarlink/android/ui/settings/SettingsScreen.kt
+++ b/android/app/src/main/kotlin/app/nectarlink/android/ui/settings/SettingsScreen.kt
@@ -215,7 +215,10 @@ fun SettingsScreen(
selected = selected,
onClick = { activeCategory = id },
label = { Text(stringResource(label)) },
+ // Solid like the cards: the row sits right on the
+ // background (Hive's comb showed through).
colors = FilterChipDefaults.filterChipColors(
+ containerColor = MaterialTheme.colorScheme.surfaceContainer,
selectedContainerColor = MaterialTheme.colorScheme.primaryContainer,
selectedLabelColor = MaterialTheme.colorScheme.onPrimaryContainer,
),