List of usage examples for android.view ViewGroup getClipChildren
@ViewDebug.ExportedProperty(category = "drawing") public boolean getClipChildren()
From source file:Main.java
private static List<Boolean> setAncestralClipping(@NonNull View view, boolean clipChildren, List<Boolean> was) { if (view instanceof ViewGroup) { ViewGroup group = (ViewGroup) view; was.add(group.getClipChildren()); group.setClipChildren(clipChildren); }/*from www . j a va 2s .c o m*/ ViewParent parent = view.getParent(); if (parent != null && parent instanceof ViewGroup) { setAncestralClipping((ViewGroup) parent, clipChildren, was); } return was; }