| java.lang.Object | ||||
| ↳ | android.view.ViewGroup.LayoutParams | |||
| ↳ | android.view.ViewGroup.MarginLayoutParams | |||
| ↳ | android.widget.FrameLayout.LayoutParams | |||
| ↳ | android.support.design.widget.CollapsingToolbarLayout.LayoutParams | |||
|
[Expand]
Inherited XML Attributes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.widget.FrameLayout.LayoutParams
| |||||||||||
From class
android.view.ViewGroup.MarginLayoutParams
| |||||||||||
From class
android.view.ViewGroup.LayoutParams
| |||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | COLLAPSE_MODE_OFF | The view will act as normal with no collapsing behavior. | |||||||||
| int | COLLAPSE_MODE_PARALLAX | The view will scroll in a parallax fashion. | |||||||||
| int | COLLAPSE_MODE_PIN |
The view will pin in place until it reaches the bottom of the
CollapsingToolbarLayout.
|
|||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.view.ViewGroup.LayoutParams
| |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.widget.FrameLayout.LayoutParams
| |||||||||||
From class
android.view.ViewGroup.MarginLayoutParams
| |||||||||||
From class
android.view.ViewGroup.LayoutParams
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the requested collapse mode.
| |||||||||||
Returns the parallax scroll multiplier used in conjunction with
COLLAPSE_MODE_PARALLAX.
| |||||||||||
Set the collapse mode.
| |||||||||||
Set the parallax scroll multiplier used in conjunction with
COLLAPSE_MODE_PARALLAX.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.view.ViewGroup.MarginLayoutParams
| |||||||||||
From class
android.view.ViewGroup.LayoutParams
| |||||||||||
From class
java.lang.Object
| |||||||||||
The view will act as normal with no collapsing behavior.
The view will scroll in a parallax fashion. See setParallaxMultiplier(float)
to change the multiplier used.
The view will pin in place until it reaches the bottom of the
CollapsingToolbarLayout.
Returns the requested collapse mode.
COLLAPSE_MODE_OFF, COLLAPSE_MODE_PIN
or COLLAPSE_MODE_PARALLAX.
Returns the parallax scroll multiplier used in conjunction with
COLLAPSE_MODE_PARALLAX.
Set the collapse mode.
| collapseMode | one of COLLAPSE_MODE_OFF, COLLAPSE_MODE_PIN
or COLLAPSE_MODE_PARALLAX.
|
|---|
Set the parallax scroll multiplier used in conjunction with
COLLAPSE_MODE_PARALLAX. A value of 0.0 indicates no movement at all,
1.0f indicates normal scroll movement.
| multiplier | the multiplier. |
|---|