How to hide back button from window border on Android app on Chromebook

273 Views Asked by At

On chromebooks there is back button in the window border. But this button normally shown in actionbar in android apps. I just want to hide this system button for chromebooks to avoid duplications. I see that Google Play app is managed to do it somehow.
Back button in the window border

1

There are 1 best solutions below

3
On BEST ANSWER

Set this preference inside the activity tag

<meta-data android:name="WindowManagerPreference:SuppressWindowControlNavigationButton" android:value="true" />

For more information, please check out ChromeOS.dev and their help article on this topic.