Did you know about CoordinatorLayout?

Did you know about CoordinatorLayout?

Definition

CoordinatorLayout is a more advanced FrameLayout, that now, with all these new changes with Material Design, it was introduced in the DesignLibrary, in order to provide help and more control over touch events between child views.

Usage

It is mainly used with:

  • FloatingActionButton – if for example you have a view that might overlap the FloatingActionButton, CoordinatorLayout will help you to handle this by using additional callbacks that will move the FAB up, automatically, when that view appears.
  • or ActionBar (now called App Bar) together with Toolbar – In this case it is used to help you achieve different scrolling techniques.

References

[ult_createlink title=”http://android-developers.blogspot.ro/2015/05/android-design-support-library.html” btn_link=”url:http%3A%2F%2Fandroid-developers.blogspot.ro%2F2015%2F05%2Fandroid-design-support-library.html|title:http%3A%2F%2Fandroid-developers.blogspot.ro%2F2015%2F05%2Fandroid-design-support-library.html|target:%20_blank” link_hover_style=”Style_10″ text_color=”#1e73be” text_hovercolor=”#8224e3″ background_color=”#ffffff” border_style=”solid” border_color=”#ffffff” border_hovercolor=”#333333″ border_size=”1″ dot_color=”#333333″ text_style=”left” css=”.vc_custom_1434780936268{margin-top: -30px !important;margin-bottom: 30px !important;}”]

Poll

Did you know about CoordinatorLayout?

View Results

Loading ... Loading ...

.

, , , , , ,
Next Post
Did you know about Percent Support Library

Related Posts

Menu