java.lang.Object | |||
↳ | android.view.ViewGroup.LayoutParams | ||
↳ | android.view.ViewGroup.MarginLayoutParams | ||
↳ | com.sap.cloud.mobile.fiori.object.AbstractEntityCell.GroupLayoutParams |
![]() |
![]() |
Layout information for child views of AbstractEntityCells.
Child view added in XML must have a layout_group parameter to tell the parent AbstractEntityCell how to layout this child view.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
@interface | AbstractEntityCell.GroupLayoutParams.LayoutGroup |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | LAYOUT_GROUP_INTERNAL | Internal layout group. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GroupLayoutParams(Context c, AttributeSet attrs) | |||||||||||
GroupLayoutParams(ViewGroup.LayoutParams p) | |||||||||||
GroupLayoutParams(int width, int height)
Creates a new set of layout parameters with the specified width and height.
| |||||||||||
GroupLayoutParams(ViewGroup.MarginLayoutParams source) | |||||||||||
GroupLayoutParams(AbstractEntityCell.GroupLayoutParams source)
Copy constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int |
getLayoutGroup()
Gets the layout group associated with this child view.
| ||||||||||
void |
setLayoutGroup(int layoutGroup)
Sets the layout group associated with this child view.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int |
getDefaultGroup()
Returns the default group if not specified.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Internal layout group. Only to be used by internal child views.
Creates a new set of layout parameters with the specified width and height.
width | the width, either MATCH_PARENT ,
WRAP_CONTENT or a fixed size in pixels |
---|---|
height | the height, either MATCH_PARENT ,
WRAP_CONTENT or a fixed size in pixels
|
Copy constructor. Clones the width, height, margin values, weight, and gravity of the source.
source | The layout params to copy from. |
---|
Gets the layout group associated with this child view.
Sets the layout group associated with this child view.
layoutGroup | the layout group |
---|
Returns the default group if not specified.