public static class

ObjectHeader.LayoutParams

extends ObjectCell.LayoutParams
java.lang.Object
   ↳ android.view.ViewGroup.LayoutParams
     ↳ android.view.ViewGroup.MarginLayoutParams
       ↳ com.sap.cloud.mobile.fiori.object.AbstractEntityCell.GroupLayoutParams
         ↳ com.sap.cloud.mobile.fiori.object.ObjectCell.LayoutParams
           ↳ com.sap.cloud.mobile.fiori.object.ObjectHeader.LayoutParams

Class Overview

Layout information for child views of an ObjectHeader.

Child view added in XML must have a layout_header_group parameter to tell the parent ObjectHeader how to layout this child view.

Summary

Nested Classes
@interface ObjectHeader.LayoutParams.LayoutGroup  
Constants
int LAYOUT_GROUP_DETAIL Assigns child view to details layout group.
int LAYOUT_GROUP_TAG Assigns child view to tags layout group.
[Expand]
Inherited Constants
From class com.sap.cloud.mobile.fiori.object.ObjectCell.LayoutParams
From class com.sap.cloud.mobile.fiori.object.AbstractEntityCell.GroupLayoutParams
From class android.view.ViewGroup.LayoutParams
[Expand]
Inherited Fields
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
Public Constructors
LayoutParams(Context c, AttributeSet attrs)
LayoutParams(int width, int height)
Creates a new set of layout parameters with the specified width and height.
LayoutParams(ViewGroup.LayoutParams p)
LayoutParams(ViewGroup.MarginLayoutParams source)
LayoutParams(AbstractEntityCell.GroupLayoutParams source)
Protected Methods
int getDefaultGroup()
Returns the default group if not specified.
[Expand]
Inherited Methods
From class com.sap.cloud.mobile.fiori.object.ObjectCell.LayoutParams
From class com.sap.cloud.mobile.fiori.object.AbstractEntityCell.GroupLayoutParams
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
From class java.lang.Object

Constants

public static final int LAYOUT_GROUP_DETAIL

Assigns child view to details layout group. Typically this could be analytical information.

Constant Value: 12 (0x0000000c)

public static final int LAYOUT_GROUP_TAG

Assigns child view to tags layout group. Appears in the additional info part.

Constant Value: 11 (0x0000000b)

Public Constructors

public LayoutParams (Context c, AttributeSet attrs)

public LayoutParams (int width, int height)

Creates a new set of layout parameters with the specified width and height.

Parameters
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

public LayoutParams (ViewGroup.LayoutParams p)

public LayoutParams (ViewGroup.MarginLayoutParams source)

public LayoutParams (AbstractEntityCell.GroupLayoutParams source)

Protected Methods

protected int getDefaultGroup ()

Returns the default group if not specified.