From 71922de6c8e407ff24bb1a500cb53bb1a647c758 Mon Sep 17 00:00:00 2001 From: Alan Viverette Date: Mon, 12 Jan 2015 16:14:02 -0800 Subject: Update docs for Window.setElevation(), apply changes immediately BUG: 18983689 Change-Id: I471104092d6296dc0ba2689da96783be088fbce8 --- core/java/android/view/Window.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/java/android/view/Window.java') diff --git a/core/java/android/view/Window.java b/core/java/android/view/Window.java index 55c6cb89..3d5d3fa 100644 --- a/core/java/android/view/Window.java +++ b/core/java/android/view/Window.java @@ -1087,6 +1087,10 @@ public abstract class Window { /** * Sets the window elevation. + *

+ * Changes to this property take effect immediately and will cause the + * window surface to be recreated. This is an expensive operation and as a + * result, this property should not be animated. * * @param elevation The window elevation. * @see View#setElevation(float) -- cgit v1.1