diff options
| author | Galia Peycheva <galinap@google.com> | 2021-05-17 18:10:45 +0200 |
|---|---|---|
| committer | Galia Peycheva <galinap@google.com> | 2021-05-17 18:10:45 +0200 |
| commit | fa9ca5f9bf7a39948ec0db62bee16338f103d283 (patch) | |
| tree | c66c057ab1e80793eeae36762812eb25ef6feaa4 /core/java/android | |
| parent | d2d8fa6c1764c1f5f543952f7a823c407ad255be (diff) | |
Add windowIsFloating to window blur documentation
Bug: 182567575
Test: m doc-comment-check-docs
Change-Id: I3ee71c82416e359d077750ae7d0ba8b1b7fbfb29
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/view/Window.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/java/android/view/Window.java b/core/java/android/view/Window.java index 5fb4e705c831..23a43591a46e 100644 --- a/core/java/android/view/Window.java +++ b/core/java/android/view/Window.java @@ -1714,8 +1714,9 @@ public abstract class Window { * The window background drawable is drawn on top of the blurred region. The blur * region bounds and rounded corners will mimic those of the background drawable. * </p><p> - * For the blur region to be visible, the window has to be translucent. See - * {@link android.R.styleable#Window_windowIsTranslucent}. + * For the blur region to be visible, the window has to be translucent + * (see {@link android.R.attr#windowIsTranslucent}) and floating + * (see {@link android.R.attr#windowIsFloating}). * </p><p> * Note the difference with {@link WindowManager.LayoutParams#setBlurBehindRadius}, * which blurs the whole screen behind the window. Background blur blurs the screen behind |
