Skip to content

System navigation bar is white with black buttons in the dark app (Android) #396

Open

Description

@zZebrahz

Problem

With three-button (system button) navigation, the Android system navigation bar is white with black buttons. The app is dark, so the bar stands out as a bright strip at the bottom of every screen. Observed by the maintainer on Android (silo-android 8f74ef73), while validating #314.

Source evidence

At origin/main 86e1ebc7, from source review:

  • MainActivity.kt: onCreate calls enableEdgeToEdge() with no arguments. Its default SystemBarStyle.auto follows the device's light/dark setting. When the device is in light mode, button navigation gets a light scrim with dark buttons, whatever the app looks like.
  • res/values/themes.xml: Theme.Silo sets android:navigationBarColor to @color/dark_surface, but it extends Theme.Material.Light, and enableEdgeToEdge() replaces the bar colors at runtime.
  • ui/screens/reader/ReaderShell.kt is the only place that sets navigation bar colors and icon appearance itself, and it restores the previous values on exit.

Likely fix (not tested): pass dark styles, for example enableEdgeToEdge(statusBarStyle = SystemBarStyle.dark(Color.TRANSPARENT), navigationBarStyle = SystemBarStyle.dark(<dark scrim>)), so the bars stay dark with light icons regardless of the device theme.

Expected behavior

The system navigation bar matches the app: a dark background with light buttons, whether the device is in light or dark mode. The reader can keep its own bar colors for light reading themes.

Validation

Found during silo-android #314 (Calendar — Android; parent silo-server #1134). Not marked as blocking (maintainer decision). Affects every screen, not only Calendar.


AI-assisted: drafted with Claude Code (claude-opus-5-5) and GitHub CLI at the maintainer's direction. The behavior was observed by the maintainer; the cause is from source review only.

Activity

  1. added theissue type on Sep 26, 2026
  2. changed the title [-]System navigation bar is white with black buttons in the dark app (Android phone, tablet)[/-] [+]System navigation bar is white with black buttons in the dark app (Android)[/+] on Sep 26, 2026
  3. rangoDJ commented on Sep 27, 2026

    @rangoDJ
    Contributor

    I'd like to work on this one.

    Plan: pass explicit dark styles to enableEdgeToEdge() in MainActivity, so the status and navigation bars stay dark with light icons whatever the device theme is. ReaderShell keeps its own bar colors for light reading themes. I'll check three-button and gesture navigation with the device in light and dark mode, and attach before-and-after screenshots to the PR.

    AI Disclosure

    • Harness: Claude Code (Claude desktop app)
    • Tool(s): Claude Code, GitHub CLI
    • Model(s): claude-opus-5-5
    • Involvement: AI-assisted
    • Adversarial review: n/a
  4. zZebrahz commented on Sep 27, 2026

    @zZebrahz
    ContributorAuthor

    Assigned, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions