Stay organized with collections
Save and categorize content based on your preferences.
ChipGroup.LayoutParams
public
static
class
ChipGroup.LayoutParams
extends ViewGroup.MarginLayoutParams
java.lang.Object
|
↳ |
android.view.ViewGroup.LayoutParams
|
|
↳ |
android.view.ViewGroup.MarginLayoutParams
|
|
|
↳ |
com.google.android.material.chip.ChipGroup.LayoutParams
|
A ChipGroup.LayoutParams
implementation for ChipGroup
.
Summary
Inherited constants |
From class
android.view.ViewGroup.LayoutParams
int |
FILL_PARENT
|
int |
MATCH_PARENT
|
int |
WRAP_CONTENT
|
|
Inherited fields |
From class
android.view.ViewGroup.MarginLayoutParams
public
int |
bottomMargin
|
public
int |
leftMargin
|
public
int |
rightMargin
|
public
int |
topMargin
|
|
From class
android.view.ViewGroup.LayoutParams
public
int |
height
|
public
LayoutAnimationController.AnimationParameters |
layoutAnimationParameters
|
public
int |
width
|
|
Inherited methods |
From class
android.view.ViewGroup.MarginLayoutParams
int
|
getLayoutDirection()
|
int
|
getMarginEnd()
|
int
|
getMarginStart()
|
boolean
|
isMarginRelative()
|
void
|
resolveLayoutDirection(int arg0)
|
void
|
setLayoutDirection(int arg0)
|
void
|
setMarginEnd(int arg0)
|
void
|
setMarginStart(int arg0)
|
void
|
setMargins(int arg0, int arg1, int arg2, int arg3)
|
|
From class
android.view.ViewGroup.LayoutParams
void
|
resolveLayoutDirection(int arg0)
|
void
|
setBaseAttributes(TypedArray arg0, int arg1, int arg2)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public constructors
LayoutParams
public LayoutParams (Context context,
AttributeSet attrs)
Parameters |
context |
Context |
attrs |
AttributeSet |
LayoutParams
public LayoutParams (ViewGroup.LayoutParams source)
Parameters |
source |
ViewGroup.LayoutParams |
LayoutParams
public LayoutParams (int width,
int height)
Parameters |
width |
int |
height |
int |
LayoutParams
public LayoutParams (ViewGroup.MarginLayoutParams source)
Parameters |
source |
ViewGroup.MarginLayoutParams |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# ChipGroup.LayoutParams\n\nSummary: [Inherited Constants](#inhconstants) \\| [Inherited Fields](#inhfields) \\| [Ctors](#pubctors) \\| [Inherited Methods](#inhmethods) \n\nChipGroup.LayoutParams\n======================\n\n\n`\npublic\nstatic\n\n\nclass\nChipGroup.LayoutParams\n`\n\n\n`\n\n\n`\n\n`\n\n\n`\n\n`\n\nextends ViewGroup.MarginLayoutParams\n\n\n`\n\n`\n\n\n`\n\n|---|---|---|---------------------------------------------------------|\n| java.lang.Object ||||\n| ↳ | android.view.ViewGroup.LayoutParams |||\n| | ↳ | android.view.ViewGroup.MarginLayoutParams ||\n| | | ↳ | com.google.android.material.chip.ChipGroup.LayoutParams |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nA [ChipGroup.LayoutParams](/reference/com/google/android/material/chip/ChipGroup.LayoutParams) implementation for [ChipGroup](/reference/com/google/android/material/chip/ChipGroup).\n\nSummary\n-------\n\n| ### Inherited constants |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| From class `android.view.ViewGroup.LayoutParams` |-------|----------------| | `int` | `FILL_PARENT` | | `int` | `MATCH_PARENT` | | `int` | `WRAP_CONTENT` | |\n\n| ### Inherited fields |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| From class `android.view.ViewGroup.MarginLayoutParams` |---------------|----------------| | ` public int` | `bottomMargin` | | ` public int` | `leftMargin` | | ` public int` | `rightMargin` | | ` public int` | `topMargin` | |\n| From class `android.view.ViewGroup.LayoutParams` |---------------------------------------------------------|-----------------------------| | ` public int` | `height` | | ` public LayoutAnimationController.AnimationParameters` | `layoutAnimationParameters` | | ` public int` | `width` | |\n\n| ### Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[LayoutParams](/reference/com/google/android/material/chip/ChipGroup.LayoutParams#LayoutParams(android.content.Context,%20android.util.AttributeSet))`(Context context, AttributeSet attrs) ` |\n| ` `[LayoutParams](/reference/com/google/android/material/chip/ChipGroup.LayoutParams#LayoutParams(android.view.ViewGroup.LayoutParams))`(ViewGroup.LayoutParams source) ` |\n| ` `[LayoutParams](/reference/com/google/android/material/chip/ChipGroup.LayoutParams#LayoutParams(int,%20int))`(int width, int height) ` |\n| ` `[LayoutParams](/reference/com/google/android/material/chip/ChipGroup.LayoutParams#LayoutParams(android.view.ViewGroup.MarginLayoutParams))`(ViewGroup.MarginLayoutParams source) ` |\n\n| ### Inherited methods |\n|-----------------------|---|\n| From class ` android.view.ViewGroup.MarginLayoutParams ` |------------|--------------------------------------------------------| | ` int` | ` getLayoutDirection() ` | | ` int` | ` getMarginEnd() ` | | ` int` | ` getMarginStart() ` | | ` boolean` | ` isMarginRelative() ` | | ` void` | ` resolveLayoutDirection(int arg0) ` | | ` void` | ` setLayoutDirection(int arg0) ` | | ` void` | ` setMarginEnd(int arg0) ` | | ` void` | ` setMarginStart(int arg0) ` | | ` void` | ` setMargins(int arg0, int arg1, int arg2, int arg3) ` | ||\n| From class ` android.view.ViewGroup.LayoutParams ` |---------|------------------------------------------------------------| | ` void` | ` resolveLayoutDirection(int arg0) ` | | ` void` | ` setBaseAttributes(TypedArray arg0, int arg1, int arg2) ` | ||\n| From class ` java.lang.Object ` |-------------------|-------------------------------| | ` Object` | ` clone() ` | | ` boolean` | ` equals(Object arg0) ` | | ` void` | ` finalize() ` | | ` final Class\u003c?\u003e` | ` getClass() ` | | ` int` | ` hashCode() ` | | ` final void` | ` notify() ` | | ` final void` | ` notifyAll() ` | | ` String` | ` toString() ` | | ` final void` | ` wait(long arg0, int arg1) ` | | ` final void` | ` wait(long arg0) ` | | ` final void` | ` wait() ` | ||\n\nPublic constructors\n-------------------\n\n### LayoutParams\n\n```\npublic LayoutParams (Context context, \n AttributeSet attrs)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-----------|-----------------------|\n| `context` | `Context` \u003cbr /\u003e |\n| `attrs` | `AttributeSet` \u003cbr /\u003e |\n\n### LayoutParams\n\n```\npublic LayoutParams (ViewGroup.LayoutParams source)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|----------|---------------------------------|\n| `source` | `ViewGroup.LayoutParams` \u003cbr /\u003e |\n\n### LayoutParams\n\n```\npublic LayoutParams (int width, \n int height)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|----------|--------------|\n| `width` | `int` \u003cbr /\u003e |\n| `height` | `int` \u003cbr /\u003e |\n\n### LayoutParams\n\n```\npublic LayoutParams (ViewGroup.MarginLayoutParams source)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|----------|---------------------------------------|\n| `source` | `ViewGroup.MarginLayoutParams` \u003cbr /\u003e |"]]