View.SetScrollIndicators Method

Definition

Overloads

SetScrollIndicators(Int32)

Sets the state of all scroll indicators.

SetScrollIndicators(Int32, Int32)

Sets the state of the scroll indicators specified by the mask.

SetScrollIndicators(Int32)

Sets the state of all scroll indicators.

[Android.Runtime.Register("setScrollIndicators", "(I)V", "GetSetScrollIndicators_IHandler", ApiSince=23)]
public virtual void SetScrollIndicators (int indicators);
[<Android.Runtime.Register("setScrollIndicators", "(I)V", "GetSetScrollIndicators_IHandler", ApiSince=23)>]
abstract member SetScrollIndicators : int -> unit
override this.SetScrollIndicators : int -> unit

Parameters

indicators
Int32

a bitmask of indicators that should be enabled, or 0 to disable all indicators

Attributes

Remarks

Sets the state of all scroll indicators.

See #setScrollIndicators(int, int) for usage information.

Java documentation for android.view.View.setScrollIndicators(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

SetScrollIndicators(Int32, Int32)

Sets the state of the scroll indicators specified by the mask.

[Android.Runtime.Register("setScrollIndicators", "(II)V", "GetSetScrollIndicators_IIHandler", ApiSince=23)]
public virtual void SetScrollIndicators (int indicators, int mask);
[<Android.Runtime.Register("setScrollIndicators", "(II)V", "GetSetScrollIndicators_IIHandler", ApiSince=23)>]
abstract member SetScrollIndicators : int * int -> unit
override this.SetScrollIndicators : int * int -> unit

Parameters

indicators
Int32

a bitmask of indicators that should be enabled, or 0 to disable all indicators

mask
Int32
Attributes

Remarks

Sets the state of the scroll indicators specified by the mask. To change all scroll indicators at once, see #setScrollIndicators(int).

When a scroll indicator is enabled, it will be displayed if the view can scroll in the direction of the indicator.

Multiple indicator types may be enabled or disabled by passing the logical OR of the desired types. If multiple types are specified, they will all be set to the same enabled state.

For example, to enable the top scroll indicatorExample: setScrollIndicators

@param indicators the indicator direction, or the logical OR of multiple indicator directions. One or more of: <ul> <li>{@link #SCROLL_INDICATOR_TOP</li> <li>#SCROLL_INDICATOR_BOTTOM</li> <li>#SCROLL_INDICATOR_LEFT</li> <li>#SCROLL_INDICATOR_RIGHT</li> <li>#SCROLL_INDICATOR_START</li> <li>#SCROLL_INDICATOR_END</li> </ul>

Java documentation for android.view.View.setScrollIndicators(int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to