Additional parameters for splash screens A few additional parameters are used on the client side and passed into Chrome: - ScaleType. This is important e.g. for full-screen images (as opposed to logo + background) - in this case clients would need ScaleType.FitXY - Transformation matrix. Should be provided for ScaleType.MATRIX. This may be handy e.g. to tune the position of the logo on the splash screen. - Fade-out animation duration. Allows to opt in for fade-out and to specify the duration. Support in Chrome: https://chromium-review.googlesource.com/c/chromium/src/+/1552817 Bug: 856544 Change-Id: Ia36d26b191185be3927115aaa2367de87471d971 Reviewed-on: https://chromium-review.googlesource.com/c/custom-tabs-client/+/1552816 Commit-Queue: Pavel Shmakov <[email protected]> Reviewed-by: Peter Conn <[email protected]>
Chrome Custom Tabs provides a way for an application to customize and interact with a Chrome Activity on Android. This makes the web content feel like being a part of the application, while retaining the full functionality and performance of a complete web browser.
Using Custom Tabs should be easy. This repository hosts examples and in-depth documentation. The examples are importable as projects into the Android Studio.
We want to hear your feedback! Please create bugs and start discussions using this template. Please use the template for any issues related to the Custom Tabs APIs, their implementation in Chrome, the examples in this repository, and related functionality of the Android Support Library.
Note: we know that the GitHub issue tracker is great! However, since Custom Tabs is mostly driven by Chrome developers, and we want to keep all bugs in one place, we prefer the Chromium issue tracker at the moment.
We accept contributions to Custom Tabs examples and documentation. Please see our contributor's guide.