public static class

FrameLayout.LayoutParams

extends ViewGroup.MarginLayoutParams
java.lang.Object
   ↳ android.view.ViewGroup.LayoutParams
     ↳ android.view.ViewGroup.MarginLayoutParams
       ↳ android.widget.FrameLayout.LayoutParams

Class Overview

Per-child layout information for layouts that support margins. See FrameLayout Layout Attributes for a list of all child view attributes that this class supports.

Summary

[Expand]
Inherited XML Attributes
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
[Expand]
Inherited Constants
From class android.view.ViewGroup.LayoutParams
Fields
public int gravity The gravity to apply with the View to which these layout parameters are associated.
[Expand]
Inherited Fields
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
Public Constructors
FrameLayout.LayoutParams(Context c, AttributeSet attrs)
FrameLayout.LayoutParams(int width, int height)
FrameLayout.LayoutParams(int width, int height, int gravity)
Creates a new set of layout parameters with the specified width, height and weight.
FrameLayout.LayoutParams(ViewGroup.LayoutParams source)
FrameLayout.LayoutParams(ViewGroup.MarginLayoutParams source)
[Expand]
Inherited Methods
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
From class java.lang.Object

Fields

public int gravity

The gravity to apply with the View to which these layout parameters are associated.

See Also

Public Constructors

public FrameLayout.LayoutParams (Context c, AttributeSet attrs)

public FrameLayout.LayoutParams (int width, int height)

public FrameLayout.LayoutParams (int width, int height, int gravity)

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

Parameters
width the width, either FILL_PARENT, WRAP_CONTENT or a fixed size in pixels
height the height, either FILL_PARENT, WRAP_CONTENT or a fixed size in pixels
gravity the gravity
See Also

public FrameLayout.LayoutParams (ViewGroup.LayoutParams source)

public FrameLayout.LayoutParams (ViewGroup.MarginLayoutParams source)