Loading core/java/android/view/View.java +6 −1 Original line number Diff line number Diff line Loading @@ -8696,7 +8696,12 @@ public class View implements Drawable.Callback, KeyEvent.Callback, /** * Change the view's z order in the tree, so it's on top of other sibling * views * views. This ordering change may affect layout, if the parent container * uses an order-dependent layout scheme (e.g., LinearLayout). This * method should be followed by calls to {@link #requestLayout()} and * {@link View#invalidate()} on the parent. * * @see ViewGroup#bringChildToFront(View) */ public void bringToFront() { if (mParent != null) { Loading core/java/android/view/ViewParent.java +6 −2 Original line number Diff line number Diff line Loading @@ -146,9 +146,13 @@ public interface ViewParent { public View focusSearch(View v, int direction); /** * Change the z order of the child so it's on top of all other children * Change the z order of the child so it's on top of all other children. * This ordering change may affect layout, if this container * uses an order-dependent layout scheme (e.g., LinearLayout). This * method should be followed by calls to {@link #requestLayout()} and * {@link View#invalidate()} on this parent. * * @param child * @param child The child to bring to the top of the z order */ public void bringChildToFront(View child); Loading Loading
core/java/android/view/View.java +6 −1 Original line number Diff line number Diff line Loading @@ -8696,7 +8696,12 @@ public class View implements Drawable.Callback, KeyEvent.Callback, /** * Change the view's z order in the tree, so it's on top of other sibling * views * views. This ordering change may affect layout, if the parent container * uses an order-dependent layout scheme (e.g., LinearLayout). This * method should be followed by calls to {@link #requestLayout()} and * {@link View#invalidate()} on the parent. * * @see ViewGroup#bringChildToFront(View) */ public void bringToFront() { if (mParent != null) { Loading
core/java/android/view/ViewParent.java +6 −2 Original line number Diff line number Diff line Loading @@ -146,9 +146,13 @@ public interface ViewParent { public View focusSearch(View v, int direction); /** * Change the z order of the child so it's on top of all other children * Change the z order of the child so it's on top of all other children. * This ordering change may affect layout, if this container * uses an order-dependent layout scheme (e.g., LinearLayout). This * method should be followed by calls to {@link #requestLayout()} and * {@link View#invalidate()} on this parent. * * @param child * @param child The child to bring to the top of the z order */ public void bringChildToFront(View child); Loading