List of usage examples for android.view ViewParent requestLayout
public void requestLayout();
From source file:Main.java
public static void requestLayoutParent(View view, boolean isAll) { ViewParent parent = view.getParent(); while (parent != null && parent instanceof View) { if (!parent.isLayoutRequested()) { parent.requestLayout(); if (!isAll) { break; }//w ww .j a va 2 s. c o m } parent = parent.getParent(); } }