Skip to content

Instantly share code, notes, and snippets.

@andreban
Created January 26, 2016 14:11
Show Gist options
  • Save andreban/b3be2e5ef92e788e6056 to your computer and use it in GitHub Desktop.
Save andreban/b3be2e5ef92e788e6056 to your computer and use it in GitHub Desktop.
CustomTabsIntent.Builder intentBuilder = new CustomTabsIntent.Builder();
intentBuilder.setCloseButtonIcon(BitmapFactory.decodeResource(
getResources(), R.drawable.ic_arrow_back));
CustomTabActivityHelper.openCustomTab(
this, intentBuilder.build(), Uri.parse(url), new WebviewFallback());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment