다음을 통해 공유


ViewGroup.MotionEventSplittingEnabled 속성

정의

이 ViewGroup에 디스패치된 MotionEvents를 여러 자식으로 분할할 수 있으면 true를 반환합니다. -또는- 터치 이벤트 디스패치 중에 MotionEvents를 여러 자식으로 분할하거나 사용하지 않도록 설정합니다.

public virtual bool MotionEventSplittingEnabled { [Android.Runtime.Register("isMotionEventSplittingEnabled", "()Z", "GetIsMotionEventSplittingEnabledHandler")] get; [Android.Runtime.Register("setMotionEventSplittingEnabled", "(Z)V", "GetSetMotionEventSplittingEnabled_ZHandler")] set; }
[<get: Android.Runtime.Register("isMotionEventSplittingEnabled", "()Z", "GetIsMotionEventSplittingEnabledHandler")>]
[<set: Android.Runtime.Register("setMotionEventSplittingEnabled", "(Z)V", "GetSetMotionEventSplittingEnabled_ZHandler")>]
member this.MotionEventSplittingEnabled : bool with get, set

속성 값

이 ViewGroup에 디스패치된 MotionEvents를 여러 자식으로 분할할 수 있으면 true입니다.

특성

설명

속성 getter 설명서:

이 ViewGroup에 디스패치된 MotionEvents를 여러 자식으로 분할할 수 있으면 true를 반환합니다.

에 대한 android.view.ViewGroup.isMotionEventSplittingEnabled()Java 설명서

속성 setter 설명서:

터치 이벤트 디스패치 중에 MotionEvents를 여러 자식으로 분할하거나 사용하지 않도록 설정합니다. 이 동작은 SDK 버전 또는 최신 버전을 Build.VERSION_CODES#HONEYCOMB 대상으로 하는 애플리케이션에 대해 기본적으로 사용하도록 설정됩니다.

이 옵션을 사용하도록 설정하면 각 포인터가 처음 다운된 위치에 따라 MotionEvents가 분할되어 다른 자식 보기로 디스패치될 수 있습니다. 이렇게 하면 두 개의 콘텐츠 창을 독립적으로 스크롤하고, 단추의 코드를 조정하고, 다른 콘텐츠 조각에서 독립적인 제스처를 수행하는 등의 사용자 상호 작용을 수행할 수 있습니다.

에 대한 android.view.ViewGroup.setMotionEventSplittingEnabled(boolean)Java 설명서

이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.

적용 대상