Chrome Custom Tabs's Close Button Feature Override
Close button of 'chrome custom tab' close the entire webview itself. However I want it to override its behaviour to work as hardware back button behaviour so that user can go back
Solution 1:
In my case my application does nothing but open the Chrome Custom Tab, so I was able to do this:
// This is called on boot, and when the Chrome Custom Tab's X button in the top left is clicked.
protected void onResume() {
super.onResume();
tryLaunch();
}
where tryLaunch launches Chrome
Post a Comment for "Chrome Custom Tabs's Close Button Feature Override"