1

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

Oleksandr Albul
  • 1,611
  • 1
  • 23
  • 31

1 Answers1

2

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.

Alexander N.
  • 1,458
  • 14
  • 25
  • Thanks, will try it and accept if it works. I have read all docs on https://developer.android.com/chrome-os and found no mention about it – Oleksandr Albul Feb 20 '21 at 06:46
  • @OleksandrAlbul - Just checking in. Did this work for you? – Alexander N. Feb 22 '21 at 14:36
  • Awesome! Glad it worked for you! ChromeOS.dev is the new resource for all things related to Chrome OS development, so this may be a good resource for you moving forwad – Alexander N. Feb 24 '21 at 15:12