Udostępnij za pośrednictwem


View.SetScrollContainer(Boolean) Method

Definition

Change whether this view is one of the set of scrollable containers in its window.

[Android.Runtime.Register("setScrollContainer", "(Z)V", "GetSetScrollContainer_ZHandler")]
public virtual void SetScrollContainer (bool isScrollContainer);
[<Android.Runtime.Register("setScrollContainer", "(Z)V", "GetSetScrollContainer_ZHandler")>]
abstract member SetScrollContainer : bool -> unit
override this.SetScrollContainer : bool -> unit

Parameters

isScrollContainer
Boolean
Attributes

Remarks

Change whether this view is one of the set of scrollable containers in its window. This will be used to determine whether the window can resize or must pan when a soft input area is open -- scrollable containers allow the window to use resize mode since the container will appropriately shrink.

Java documentation for android.view.View.setScrollContainer(boolean).

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