vivianaranha
vivianaranha

Reputation: 2781

Disable Chrome Options Menu - Android

I am trying to do SSO using Chrome Tabs in my Android Application.

Whenever the chrome comes in it also has options menu of chrome - Is there a way to disable this options menu.

Attached is a screenshot app

Upvotes: 2

Views: 1560

Answers (4)

Arbaz Pirwani
Arbaz Pirwani

Reputation: 965

Hey there so in my opinion you should use simple Android webview if you don't want your user to access these options.

Just create a new activity/fragment that contains webview and open your website or any url within it.

This might help you from android developer docs.

Also try this example that might be useful.

Upvotes: 0

Otávio Barreto
Otávio Barreto

Reputation: 1568

In cases like this you should use phonegap instead of use chrome browser as webview read the docs

basically it runs chrome webview on android, and safari webview on IOS but without all chrome/safari options.

Upvotes: 0

Martin Zeitler
Martin Zeitler

Reputation: 76809

Simply use a WebView instead of CustomTabs - then there is nothing to hide away, to begin with.

Upvotes: 0

Claudio
Claudio

Reputation: 3095

No, currently is not possibile: you can add items but not remove the button.

https://developer.chrome.com/multidevice/android/customtabs

Upvotes: 4

Related Questions