新的Android Custom Tabs support库的一个示例程序

jopen 10年前

Tabby (Cat)是一个简单的示例应用演示了新的Android Chrome Custom Tabs support 库的特性。这个应用演示了:

  • Coloring the toolbar
  • Displaying the title
  • Customising the close icon
  • Adding an action bar icon
  • Adding menu items
  • Using custom animations

The application uses Helper Classes from the example project by Google.

Web Launcher

Requirements

  • Android SDK.
  • Android 5.1 (API 22) .
  • Android SDK Tools
  • Android SDK Build tools 23.0.0.0
  • Android Support Repository
  • Android Support library

Building

To build and install a debug version, run this from the root of the project:

./gradlew installDebug

项目主页:http://www.open-open.com/lib/view/home/1441681431664