0

When you are visiting thenextweb.com with an Android Chrome Browser, you will see a red address bar. Is there a trick to do this?

Android Screenshot

Tobias Redmann
  • 164
  • 1
  • 11

3 Answers3

4
<meta name="theme-color" content="#db5945">
Community
  • 1
  • 1
1

You can refer following site that may help you get colored address bar: How to change the color of header bar and address bar in newest Android Chrome version on Lollipop?

Community
  • 1
  • 1
Mrunal
  • 348
  • 4
  • 15
0

Android introduced in-app browser webviews called Chrome CustomTabs. which is similar to launching intent for web browser.

You can specify the color for addressbar while passing url .

private static final String EXTRA_CUSTOM_TABS_TOOLBAR_COLOR = "android.support.customtabs.extra.TOOLBAR_COLOR";
intent.putExtra(EXTRA_CUSTOM_TABS_TOOLBAR_COLOR, colorInt);

for more details. please read.

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

Sree Reddy Menon
  • 1,301
  • 13
  • 23