Skip to content

Most visited

Recently visited

navigation

BoxInsetLayout.LayoutParams

public static class BoxInsetLayout.LayoutParams
extends FrameLayout.LayoutParams

java.lang.Object
   ↳ android.view.ViewGroup.LayoutParams
     ↳ android.view.ViewGroup.MarginLayoutParams
       ↳ android.widget.FrameLayout.LayoutParams
         ↳ android.support.wearable.view.BoxInsetLayout.LayoutParams


adds layout_box attribute to layout parameters

Summary

Constants

int BOX_ALL

int BOX_BOTTOM

int BOX_LEFT

int BOX_NONE

int BOX_RIGHT

int BOX_TOP

Inherited constants

From class android.widget.FrameLayout.LayoutParams
From class android.view.ViewGroup.LayoutParams

Fields

public int boxedEdges

Inherited fields

From class android.widget.FrameLayout.LayoutParams
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams

Public constructors

BoxInsetLayout.LayoutParams(Context context, AttributeSet attrs)
BoxInsetLayout.LayoutParams(int width, int height)
BoxInsetLayout.LayoutParams(int width, int height, int gravity)
BoxInsetLayout.LayoutParams(int width, int height, int gravity, int boxed)
BoxInsetLayout.LayoutParams(ViewGroup.LayoutParams source)
BoxInsetLayout.LayoutParams(ViewGroup.MarginLayoutParams source)
BoxInsetLayout.LayoutParams(FrameLayout.LayoutParams source)
BoxInsetLayout.LayoutParams(BoxInsetLayout.LayoutParams source)

Inherited methods

From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
From class java.lang.Object

Constants

BOX_ALL

int BOX_ALL

Constant Value: 15 (0x0000000f)

BOX_BOTTOM

int BOX_BOTTOM

Constant Value: 8 (0x00000008)

BOX_LEFT

int BOX_LEFT

Constant Value: 1 (0x00000001)

BOX_NONE

int BOX_NONE

Constant Value: 0 (0x00000000)

BOX_RIGHT

int BOX_RIGHT

Constant Value: 4 (0x00000004)

BOX_TOP

int BOX_TOP

Constant Value: 2 (0x00000002)

Fields

boxedEdges

int boxedEdges

Public constructors

BoxInsetLayout.LayoutParams

BoxInsetLayout.LayoutParams (Context context, 
                AttributeSet attrs)

Parameters
context Context

attrs AttributeSet

BoxInsetLayout.LayoutParams

BoxInsetLayout.LayoutParams (int width, 
                int height)

Parameters
width int

height int

BoxInsetLayout.LayoutParams

BoxInsetLayout.LayoutParams (int width, 
                int height, 
                int gravity)

Parameters
width int

height int

gravity int

BoxInsetLayout.LayoutParams

BoxInsetLayout.LayoutParams (int width, 
                int height, 
                int gravity, 
                int boxed)

Parameters
width int

height int

gravity int

boxed int

BoxInsetLayout.LayoutParams

BoxInsetLayout.LayoutParams (ViewGroup.LayoutParams source)

Parameters
source ViewGroup.LayoutParams

BoxInsetLayout.LayoutParams

BoxInsetLayout.LayoutParams (ViewGroup.MarginLayoutParams source)

Parameters
source ViewGroup.MarginLayoutParams

BoxInsetLayout.LayoutParams

BoxInsetLayout.LayoutParams (FrameLayout.LayoutParams source)

Parameters
source FrameLayout.LayoutParams

BoxInsetLayout.LayoutParams

BoxInsetLayout.LayoutParams (BoxInsetLayout.LayoutParams source)

Parameters
source BoxInsetLayout.LayoutParams

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (Dec 2017 Android Platform & Tools Survey)