summaryrefslogtreecommitdiffstats
path: root/core/java/android/view/Window.java
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2015-01-13 02:16:32 +0000
committerandroid-build-merger <android-build-merger@google.com>2015-01-13 02:16:32 +0000
commit82bdfcfadc17b8467a0e3c50843997e7957a9452 (patch)
tree2d1424744c6fcecf6b083bf811074235e728bdde /core/java/android/view/Window.java
parentcb09d8d08a3628561a58f19713b9358eafa32738 (diff)
parent71922de6c8e407ff24bb1a500cb53bb1a647c758 (diff)
downloadframeworks_base-82bdfcfadc17b8467a0e3c50843997e7957a9452.zip
frameworks_base-82bdfcfadc17b8467a0e3c50843997e7957a9452.tar.gz
frameworks_base-82bdfcfadc17b8467a0e3c50843997e7957a9452.tar.bz2
Update docs for Window.setElevation(), apply changes immediately
automerge: 71922de * commit '71922de6c8e407ff24bb1a500cb53bb1a647c758': Update docs for Window.setElevation(), apply changes immediately
Diffstat (limited to 'core/java/android/view/Window.java')
-rw-r--r--core/java/android/view/Window.java4
1 files changed, 4 insertions, 0 deletions
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.
+ * <p>
+ * 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)