summaryrefslogtreecommitdiffstats
path: root/core/java/android
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2015-01-12 16:14:02 -0800
committerAlan Viverette <alanv@google.com>2015-01-12 16:14:02 -0800
commit71922de6c8e407ff24bb1a500cb53bb1a647c758 (patch)
tree9c4801dbe2792f74294b11ca7ceb0fe9a5a4f847 /core/java/android
parent9a19ed17e1f36894aac8250dcf9649998d9c2603 (diff)
downloadframeworks_base-71922de6c8e407ff24bb1a500cb53bb1a647c758.zip
frameworks_base-71922de6c8e407ff24bb1a500cb53bb1a647c758.tar.gz
frameworks_base-71922de6c8e407ff24bb1a500cb53bb1a647c758.tar.bz2
Update docs for Window.setElevation(), apply changes immediately
BUG: 18983689 Change-Id: I471104092d6296dc0ba2689da96783be088fbce8
Diffstat (limited to 'core/java/android')
-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)