新的Android Custom Tabs support庫的一個示例程序

jopen 9年前發布 | 18K 次閱讀 Tabby Android開發 移動開發

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.baiduhome.net/lib/view/home/1441681431664

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!