public static class

GridTableRow.LayoutParams

extends ConstraintLayout.LayoutParams
java.lang.Object
   ↳ android.view.ViewGroup.LayoutParams
     ↳ android.view.ViewGroup.MarginLayoutParams
       ↳ androidx.constraintlayout.widget.ConstraintLayout.LayoutParams
         ↳ com.sap.cloud.mobile.fiori.object.GridTableRow.LayoutParams

Class Overview

GridTableRow LayoutParams extends ConstraintLayout.LayoutParams to add columnIndex and columnWidth so that child view can specify their order in column list and expected column width.

Summary

XML Attributes
Attribute Name Related Method Description
GridTableRow_Layout_layout_column  
GridTableRow_Layout_layout_columnWidth  
[Expand]
Inherited Constants
From class androidx.constraintlayout.widget.ConstraintLayout.LayoutParams
From class android.view.ViewGroup.LayoutParams
Fields
public int columnIndex Column index.
public float columnWidth Column width.
[Expand]
Inherited Fields
From class androidx.constraintlayout.widget.ConstraintLayout.LayoutParams
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
Public Constructors
LayoutParams(GridTableRow.LayoutParams source)
LayoutParams(Context c, AttributeSet attrs)
LayoutParams(int width, int height)
LayoutParams(ViewGroup.LayoutParams source)
[Expand]
Inherited Methods
From class androidx.constraintlayout.widget.ConstraintLayout.LayoutParams
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
From class java.lang.Object

XML Attributes

GridTableRow_Layout_layout_column

Related Methods

GridTableRow_Layout_layout_columnWidth

Related Methods

Fields

public int columnIndex

Column index. Starts from 0. If not specified, the value will be -1 and the child view will not be laid out as a column. Reference ConstraintLayout.LayoutParams for default layout behavior.

public float columnWidth

Column width. Default to 0. (0-1)F for percentage; [1-max]F for fixed length (dp); -1F for dynamic width (only 1 dynamic column is allowed)

Public Constructors

public LayoutParams (GridTableRow.LayoutParams source)

public LayoutParams (Context c, AttributeSet attrs)

public LayoutParams (int width, int height)

public LayoutParams (ViewGroup.LayoutParams source)