Android CollapsingToolbarLayout is a wrapper for Toolbar which implements a collapsing app bar. It is designed to be used as a direct child of a AppBarLayout. CollapsingToolbarLayout is the newly introduced in Lollipop , using which you can create awesome scrolling effect. The following sample will explain you how to achieve this CollapsingToolbarLayout Build Gradle file : build.gradle dependencies { compile 'com.android.support:design:23.0.1' compile 'de.hdodenhof:circleimageview:2.2.0' } XML Layout activity_main.xml <? xml version= "1.0" encoding= "utf-8" ?> < android.support.design.widget.CoordinatorLayout xmlns: android = "http://schemas.android.com/apk/res/android" xmlns: app = "http://schemas.android.com/apk/res-auto" android :layout_width= "match_parent" android :layout_height= "match_parent" android :background= "@...
Learn with Samples