Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.

LinearLayoutCompat.LayoutParams

public static class LinearLayoutCompat.LayoutParams
extends LinearLayout.LayoutParams

java.lang.Object
   ↳ android.view.ViewGroup.LayoutParams
     ↳ android.view.ViewGroup.MarginLayoutParams
       ↳ android.widget.LinearLayout.LayoutParams
         ↳ androidx.appcompat.widget.LinearLayoutCompat.LayoutParams


Per-child layout information associated with ViewLinearLayout.

Summary

Inherited constants

Inherited fields

Public constructors

LayoutParams(Context c, AttributeSet attrs)

LayoutParams(int width, int height)

LayoutParams(int width, int height, float weight)

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

LayoutParams(ViewGroup.LayoutParams p)

LayoutParams(ViewGroup.MarginLayoutParams source)

Inherited methods

Public constructors

LayoutParams

public LayoutParams (Context c, 
                AttributeSet attrs)

Parameters
c Context

attrs AttributeSet

LayoutParams

public LayoutParams (int width, 
                int height)

Parameters
width int

height int

LayoutParams

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

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

Parameters
width int: the width, either ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT or a fixed size in pixels

height int: the height, either ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT or a fixed size in pixels

weight float: the weight

LayoutParams

public LayoutParams (ViewGroup.LayoutParams p)

Parameters
p ViewGroup.LayoutParams

LayoutParams

public LayoutParams (ViewGroup.MarginLayoutParams source)

Parameters
source ViewGroup.MarginLayoutParams