LayoutParams

Class of android.view, in ViewGroup · ViewGroup.java · Android's reference

public static class LayoutParams

Extended in the framework by

Fields

public static final int FILL_PARENT = -1 source
public static final int MATCH_PARENT = -1 source
public static final int WRAP_CONTENT = -2 source
public int width source
public int height source
public android.view.animation.LayoutAnimationController.AnimationParameters layoutAnimationParameters source

Constructors

public LayoutParams(Context c, AttributeSet attrs) source

match_parent, wrap_content, or a dimension in pixels, from the layout or its style

public LayoutParams(int width, int height) source
public LayoutParams(LayoutParams source) source

Methods

protected void setBaseAttributes(TypedArray a, int widthAttr, int heightAttr) source
public void resolveLayoutDirection(int layoutDirection) empty body source
public String toString() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.