Build 1.0_r1(from source)

android.widget
Class FrameLayout.LayoutParams

java.lang.Object
  extended by android.view.ViewGroup.LayoutParams
      extended by android.view.ViewGroup.MarginLayoutParams
          extended by android.widget.FrameLayout.LayoutParams
Enclosing class:
FrameLayout

public static class FrameLayout.LayoutParams
extends ViewGroup.MarginLayoutParams

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.


Field Summary
 int gravity
          The gravity to apply with the View to which these layout parameters are associated.
 
Fields inherited from class android.view.ViewGroup.MarginLayoutParams
bottomMargin, leftMargin, rightMargin, topMargin
 
Fields inherited from class android.view.ViewGroup.LayoutParams
FILL_PARENT, height, layoutAnimationParameters, width, WRAP_CONTENT
 
Constructor Summary
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)
          
 
Method Summary
 
Methods inherited from class android.view.ViewGroup.MarginLayoutParams
setMargins
 
Methods inherited from class android.view.ViewGroup.LayoutParams
debug, setBaseAttributes, sizeToString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gravity

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

See Also:
Gravity
Constructor Detail

FrameLayout.LayoutParams

public FrameLayout.LayoutParams(Context c,
                                AttributeSet attrs)


FrameLayout.LayoutParams

public FrameLayout.LayoutParams(int width,
                                int height)


FrameLayout.LayoutParams

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 ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT or a fixed size in pixels
height - the height, either ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT or a fixed size in pixels
gravity - the gravity
See Also:
Gravity

FrameLayout.LayoutParams

public FrameLayout.LayoutParams(ViewGroup.LayoutParams source)


FrameLayout.LayoutParams

public FrameLayout.LayoutParams(ViewGroup.MarginLayoutParams source)


Build 1.0_r1(from source)

Please submit a feedback, bug or feature