Webview Update on Android M Dev Preview

Webview Update on Android M Dev Preview

Google has announced an update to the Webview implementations on the upcoming Android M Developer Preview. This comes in the form of Chrome Custom Tabs.

 

Previously, you had two choices, either link out to the default browser, or render as an embedded webview. But with Android M, you can take advantage of Chrome Custom Tabs.

As an example, Pinterest was demoed. When you tap a web link at the bottom on pinterest, there is a custom transition animation to Chrome Tabs. Pinterest adds a custom button toolbar to the browser bar, Pinterest can inject menus into Chrome’s overflow.

This allows you make use of Chrome features such as device sign ins, saved passwords, Google Translate and Autofill, amongst other things.

Chrome Custom Tabs is available now in the Chrome Dev Channel, with release in Q3.

About author

Aamir Siddiqui
Aamir Siddiqui

I am a tech journalist with XDA since 2015, while being a qualified business-litigation lawyer with experience in the field. A low-end smartphone purchase in 2011 brought me to the forums, and it's been a journey filled with custom ROMs ever since. When not fully dipped in smartphone news, I love traveling to places just to capture pictures of the sun setting. You can reach out to me at [email protected]