Monday 27 April 2020

CornerCutLinearLayout

CornerCutLinearLayout extends LinearLayout. It allows cutting parent corners with different shapes and build proper shadow for complex shapes. It also allows cutting each child's corners.

Additionally, using available properties and custom providers, those cuts may be turned into cutouts of different shapes, sizes, etc. Widget's sole purpose is to use with children with no transformations (like rotation, scale, matrix transformations).

Additional features:

  • RTL support
  • child layout parameters that allow overriding default parent parameters
  • custom shadow
  • custom dividers & providers
  • custom cutouts & providers
  • custom view visible area provider



from The Android Arsenal

No comments:

Post a Comment