java.lang.Object | ||||
↳ | android.view.ViewGroup.LayoutParams | |||
↳ | android.view.ViewGroup.MarginLayoutParams | |||
↳ | android.widget.LinearLayout.LayoutParams | |||
↳ | android.support.design.widget.AppBarLayout.LayoutParams |
XML Attributes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
android.support.design:layout_scrollFlags | setScrollFlags(int) | ||||||||||
android.support.design:layout_scrollInterpolator | setScrollInterpolator(Interpolator) | An interpolator to use when scrolling this View. |
[Expand]
Inherited XML Attributes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.widget.LinearLayout.LayoutParams
| |||||||||||
From class
android.view.ViewGroup.MarginLayoutParams
| |||||||||||
From class
android.view.ViewGroup.LayoutParams
|
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | SCROLL_FLAG_ENTER_ALWAYS | When entering (scrolling on screen) the view will scroll on any downwards scroll event, regardless of whether the scrolling view is also scrolling. | |||||||||
int | SCROLL_FLAG_ENTER_ALWAYS_COLLAPSED | An additional flag for 'enterAlways' which modifies the returning view to only initially scroll back to it's collapsed height. | |||||||||
int | SCROLL_FLAG_EXIT_UNTIL_COLLAPSED | When exiting (scrolling off screen) the view will be scrolled until it is 'collapsed'. | |||||||||
int | SCROLL_FLAG_SCROLL | The view will be scroll in direct relation to scroll events. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.view.ViewGroup.LayoutParams
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.widget.LinearLayout.LayoutParams
| |||||||||||
From class
android.view.ViewGroup.MarginLayoutParams
| |||||||||||
From class
android.view.ViewGroup.LayoutParams
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the scrolling flags.
| |||||||||||
Returns the
Interpolator being used for scrolling the view associated with this
AppBarLayout.LayoutParams .
| |||||||||||
Set the scrolling flags.
| |||||||||||
Set the interpolator to when scrolling the view associated with this
AppBarLayout.LayoutParams .
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.widget.LinearLayout.LayoutParams
| |||||||||||
From class
android.view.ViewGroup.MarginLayoutParams
| |||||||||||
From class
android.view.ViewGroup.LayoutParams
| |||||||||||
From class
java.lang.Object
|
An interpolator to use when scrolling this View. Only takes effect when View is scrollable.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
When entering (scrolling on screen) the view will scroll on any downwards scroll event, regardless of whether the scrolling view is also scrolling. This is commonly referred to as the 'quick return' pattern.
An additional flag for 'enterAlways' which modifies the returning view to only initially scroll back to it's collapsed height. Once the scrolling view has reached the end of it's scroll range, the remainder of this view will be scrolled into view. The collapsed height is defined by the view's minimum height.
When exiting (scrolling off screen) the view will be scrolled until it is 'collapsed'. The collapsed height is defined by the view's minimum height.
The view will be scroll in direct relation to scroll events. This flag needs to be set for any of the other flags to take effect. If any sibling views before this one do not have this flag, then this value has no effect.
Returns the scrolling flags.
Returns the Interpolator
being used for scrolling the view associated with this
AppBarLayout.LayoutParams
. Null indicates 'normal' 1-to-1 scrolling.
Set the scrolling flags.
flags | bitwise int of SCROLL_FLAG_SCROLL ,
SCROLL_FLAG_EXIT_UNTIL_COLLAPSED , SCROLL_FLAG_ENTER_ALWAYS
and SCROLL_FLAG_ENTER_ALWAYS_COLLAPSED . |
---|
Set the interpolator to when scrolling the view associated with this
AppBarLayout.LayoutParams
.
interpolator | the interpolator to use, or null to use normal 1-to-1 scrolling. |
---|