added in version 26.1.0
belongs to Maven artifact


public class BoxInsetLayout
extends ViewGroup

   ↳ android.view.View
     ↳ android.view.ViewGroup

BoxInsetLayout is a screen shape-aware ViewGroup that can box its children in the center square of a round screen by using the boxedEdges attribute. The values for this attribute specify the child's edges to be boxed in: left|top|right|bottom or all. The boxedEdges attribute is ignored on a device with a rectangular screen.


Nested classes

class BoxInsetLayout.LayoutParams

Per-child layout information for layouts that support margins, gravity and boxedEdges. 

Inherited constants

From class android.view.ViewGroup
From class android.view.View