I currently use this
Intent intent = new Intent(Intent.ACTION_VIEW).setData(Uri.parse("https://www.google.com"));
startActivity(intent);
It currently opens in my default browser.
But I need it to open like this.
Is there any simple way to do that?
You can do this with custom tabs: https://developer.chrome.com/docs/android/custom-tabs/guide-get-started