Change back button to arrow-down in Navigation Bar

Viewed 2407

I'm using an AppCompatDialogFragment to show a BottomSheetDialog. Clicking the back button on the Navigation Bar closes the BottomSheetDialog.

I want to change the icon on the Navigation Bar from the back button to the 'arrow-down' icon. This is by default done when the keyboard is shown and I want to replicate it for the Bottom Sheet.

To be clear, here what I have:

Current

And here is what I need:

This is what I want

Note that the back button is an "arrow-down".

The navigation-bar is a system-ui component and I don't see the way to change it's appearance to look like the navigation-bar displayed when the keyboard is visible.

2 Answers
Related