- Notifications
You must be signed in to change notification settings - Fork 240
Home
Werner Kunze edited this page Apr 11, 2022 · 12 revisions
Welcome to the smooth-app-bar-layout wiki - Smooth version of Google Support Design AppBarLayout!
compile "me.henrytao:smooth-app-bar-layout:<latest-version>"smooth-app-bar-layout is deployed to jCenter. Make sure you have jcenter() in your project gradle.
- Remember to set
android:idforme.henrytao.smoothappbarlayout.SmoothAppBarLayoutin layout file so that it can callonSaveInstanceStateandonRestoreInstanceStatecorrectly. Otherwise, it won't work correctly withonOrientationChanged. - Remember to set
android:minHeightforme.henrytao.smoothappbarlayout.SmoothAppBarLayoutin layout file if you useViewPager. In general, this height should have the same value as TabLayout's height. -
clipToPaddinginRecyclerViewwon't work. You have to set HeaderHolder in apdater and it has to be placed at index 0.
- Check out download badge in README to know latest version.
- Check out sidebar for more information about features and APIs.