Adapt back button to light/dark mode ( Hotwire Native Android )

@janpeterka Jan Peterka
Mon, 03 Nov 2025 13:32:16 +0000

Sadly, this link doesn’t work anymore.
Going to history, I got following (which was moved here):

Additional Android recommendation

The back navigation button might not be visible when forcing dark mode. Add the following to app/src/main/res/values-night/themes.xml to set an appropriate color.

<resources xmlns:tools="http://schemas.android.com/tools">

        <item name="toolbarNavigationButtonStyle">@style/Widget.AndroidDemo.Toolbar.Navigation.Tinted</item>



        <item name="tint">?colorOnSurface</item>