Android
android.widget
public static class

android.widget.FrameLayout.LayoutParams

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

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

XML Attributes inherited from class android.view.ViewGroup.MarginLayoutParams
XML Attributes inherited from class android.view.ViewGroup.LayoutParams
Constants inherited from class android.view.ViewGroup.LayoutParams

Fields

public      int  gravity  The gravity to apply with the View to which these layout parameters are associated. 
Fields inherited from class android.view.ViewGroup.MarginLayoutParams
Fields inherited 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)
Methods inherited from class android.view.ViewGroup.MarginLayoutParams
Methods inherited from class android.view.ViewGroup.LayoutParams
Methods inherited from class java.lang.Object

Details

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)

Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56