public static class

GridTableRow.LayoutParams

extends ConstraintLayout.LayoutParams
java.lang.Object
   ↳ android.view.ViewGroup.LayoutParams
     ↳ android.view.ViewGroup.MarginLayoutParams
       ↳ android.support.constraint.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
com.sap.cloud.mobile.fiori:layout_column Column index that starts from 0. 
com.sap.cloud.mobile.fiori:layout_columnWidth The column width. 
[Expand]
Inherited Constants
From class android.support.constraint.ConstraintLayout.LayoutParams
From class android.view.ViewGroup.LayoutParams
Fields
public int columnIndex Column index.
public float columnWidth Column width.
[Expand]
Inherited Fields
From class android.support.constraint.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 android.support.constraint.ConstraintLayout.LayoutParams
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
From class java.lang.Object

XML Attributes

com.sap.cloud.mobile.fiori:layout_column

Column index that starts from 0.

May be an integer value, such as "100".

Related Methods

com.sap.cloud.mobile.fiori:layout_columnWidth

The column width. (0-1) for percentage; [1-max] for fixed width (dp); -1 for dynamic width (only 1 dynamic column is allowed inside a row)

May be a floating point value, such as "1.2".

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)