Constraint Layout with Appbar Layout
A Constraint Layout provide flexible layout design which reduce complexity of application layout design.This allow you to create large numbers of views easily with complex ,dynamic and responsive way.It help to improve the User Interface performance over other layouts. with the help of constraintLayout ,we can position our User Interface components in any sort of order whether it may be horizontal or vertical.But in the case of LinearLayout,we can only arrange our User Interface components either in a horizontal or in a vertical manner. AppBarLayout provide scrolling behaviour which implement many of material design features.If you used AppBarLayout within a different ViewGroup ,most of its functionality will not work.AppBarLayout provide toolbar which have scrolling gestures. also Read : How to Create ImageButton With same Height and Width in Same Distance in Android Bellow code describe the AppBarLayout which manage scrolling of entire view design with CoordinatorLa...