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 | |||
      This class is deprecated.
    use the androidx.wear.widget.BoxInsetLayout provided by Jetpack Wear library instead.
  
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 | 
|---|
Fields | |
|---|---|
    public
    
    
    int | 
    
      boxedEdges
      
  | 
  
Inherited fields | 
|---|
Public constructors | |
|---|---|
      
      LayoutParams(Context context, AttributeSet attrs)
      
      
     | 
  |
      
      LayoutParams(int width, int height)
      
      
     | 
  |
      
      LayoutParams(int width, int height, int gravity)
      
      
     | 
  |
      
      LayoutParams(int width, int height, int gravity, int boxed)
      
      
     | 
  |
      
      LayoutParams(ViewGroup.LayoutParams source)
      
      
     | 
  |
      
      LayoutParams(ViewGroup.MarginLayoutParams source)
      
      
     | 
  |
      
      LayoutParams(FrameLayout.LayoutParams source)
      
      
     | 
  |
      
      LayoutParams(BoxInsetLayout.LayoutParams source)
      
      
     | 
  |
Inherited methods | |
|---|---|
Constants
BOX_ALL
public static final int BOX_ALL
Constant Value: 15 (0x0000000f)
BOX_BOTTOM
public static final int BOX_BOTTOM
Constant Value: 8 (0x00000008)
BOX_LEFT
public static final int BOX_LEFT
Constant Value: 1 (0x00000001)
BOX_NONE
public static final int BOX_NONE
Constant Value: 0 (0x00000000)
BOX_RIGHT
public static final int BOX_RIGHT
Constant Value: 4 (0x00000004)
BOX_TOP
public static final int BOX_TOP
Constant Value: 2 (0x00000002)
Fields
boxedEdges
public int boxedEdges
Public constructors
LayoutParams
public LayoutParams (Context context, AttributeSet attrs)
| Parameters | |
|---|---|
context | 
        
          Context  | 
      
attrs | 
        
          AttributeSet  | 
      
LayoutParams
public LayoutParams (int width, 
                int height)| Parameters | |
|---|---|
width | 
        
          int  | 
      
height | 
        
          int  | 
      
LayoutParams
public LayoutParams (int width, 
                int height, 
                int gravity)| Parameters | |
|---|---|
width | 
        
          int  | 
      
height | 
        
          int  | 
      
gravity | 
        
          int  | 
      
LayoutParams
public LayoutParams (int width, 
                int height, 
                int gravity, 
                int boxed)| Parameters | |
|---|---|
width | 
        
          int  | 
      
height | 
        
          int  | 
      
gravity | 
        
          int  | 
      
boxed | 
        
          int  | 
      
LayoutParams
public LayoutParams (ViewGroup.LayoutParams source)
| Parameters | |
|---|---|
source | 
        
          ViewGroup.LayoutParams  | 
      
LayoutParams
public LayoutParams (ViewGroup.MarginLayoutParams source)
| Parameters | |
|---|---|
source | 
        
          ViewGroup.MarginLayoutParams  | 
      
LayoutParams
public LayoutParams (FrameLayout.LayoutParams source)
| Parameters | |
|---|---|
source | 
        
          FrameLayout.LayoutParams  | 
      
LayoutParams
public LayoutParams (BoxInsetLayout.LayoutParams source)
| Parameters | |
|---|---|
source | 
        
          BoxInsetLayout.LayoutParams  |