CollapsingToolbarLayout with TabLayout

jopen 6年前

Universal CollapsingToolbarLayout TabLayout

CollapsingToolbarLayout with TabLayout.

Screenshot

Extend

Collapsed

Usage

Just Clone and Build.

Customization

You can change header view to what you want.

<com.flaviofaria.kenburnsview.KenBurnsView      android:id="@+id/imageView_header"      android:layout_width="match_parent"      android:layout_height="match_parent"      android:contentDescription="@null"      android:fitsSystemWindows="true"      app:layout_collapseMode="parallax"/>

Compatibility

Android GINGERBREAD 2.3+

项目地址: https://github.com/hearsilent/Universal-CollapsingToolbarLayout-TabLayout-Example