Share via


DescendantFocusability Enum

Definition

Enumerates values returned by several types.

public enum DescendantFocusability
type DescendantFocusability = 
Inheritance
DescendantFocusability

Fields

Name Value Description
BeforeDescendants 131072

This view will get focus before any of its descendants.

AfterDescendants 262144

This view will get focus only if none of its descendants want it.

BlockDescendants 393216

This view will block any of its descendants from getting focus, even if they are focusable.

Remarks

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