OverflowLinearLayout.LayoutParams


public class OverflowLinearLayout.LayoutParams


A LinearLayout.LayoutParams implementation for OverflowLinearLayout.

Summary

Public fields

Drawable
CharSequence

Public constructors

LayoutParams(LayoutParams p)
LayoutParams(LayoutParams source)
LayoutParams(MarginLayoutParams source)

Copy constructor.

LayoutParams(Context context, AttributeSet attrs)

Creates a new set of layout parameters.

LayoutParams(int width, int height)
LayoutParams(int width, int height, float weight)
LayoutParams(
    int width,
    int height,
    float weight,
    Drawable overflowIcon,
    CharSequence overflowText
)

Creates a new set of layout parameters with the specified width, height, weight, overflow icon and overflow text.

Public fields

overflowIcon

public Drawable overflowIcon

overflowText

public CharSequence overflowText

Public constructors

LayoutParams

public LayoutParams(LayoutParams p)

LayoutParams

public LayoutParams(LayoutParams source)

LayoutParams

public LayoutParams(MarginLayoutParams source)

LayoutParams

public LayoutParams(OverflowLinearLayout.LayoutParams source)

Copy constructor. Clones the values of the source.

Parameters
OverflowLinearLayout.LayoutParams source

The layout params to copy from.

LayoutParams

public LayoutParams(Context context, AttributeSet attrs)

Creates a new set of layout parameters. The values are extracted from the supplied attributes set and context.

Parameters
Context context

the application environment

AttributeSet attrs

the set of attributes from which to extract the layout parameters' values

LayoutParams

public LayoutParams(int width, int height)

LayoutParams

public LayoutParams(int width, int height, float weight)

LayoutParams

public LayoutParams(
    int width,
    int height,
    float weight,
    Drawable overflowIcon,
    CharSequence overflowText
)

Creates a new set of layout parameters with the specified width, height, weight, overflow icon and overflow text.

Parameters
int width

the width, either MATCH_PARENT, WRAP_CONTENT or a fixed size in pixels

int height

the height, either MATCH_PARENT, WRAP_CONTENT or a fixed size in pixels

float weight

the weight

Drawable overflowIcon

the overflow icon drawable

CharSequence overflowText

the overflow text char sequence