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

Hello, Is there any way to adapt the back button to Dark Mode. It’s good on the Light Mode as the tint color is always black but for Dark Mode I need it to be tint color white.
I am using Hotwire Native Android ( Jumpstart pro android ).

DARK MODE

Thanks !!!

The advice here worked for me.

1 Like

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">
    <style name="Base.Theme.Demo" parent="Theme.Material3.DayNight.NoActionBar">
        <item name="toolbarNavigationButtonStyle">@style/Widget.AndroidDemo.Toolbar.Navigation.Tinted</item>
    </style>

    <style name="Widget.AndroidDemo.Toolbar.Navigation.Tinted" parent="Widget.AppCompat.Toolbar.Button.Navigation">
        <item name="tint">?colorOnSurface</item>
    </style>
</resources>