belongs to Maven artifact com.android.support:wear:28.0.0-alpha1
BoxInsetLayout
public
class
BoxInsetLayout
extends ViewGroup
java.lang.Object | |||
↳ | android.view.View | ||
↳ | android.view.ViewGroup | ||
↳ | android.support.wear.widget.BoxInsetLayout |
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.
Summary
Nested classes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
class |
BoxInsetLayout.LayoutParams
Per-child layout information for layouts that support margins, gravity and boxedEdges. |
Inherited fields | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
android.view.View
|