Merge "Add windowIsFloating to window blur documentation" into sc-dev am: 551a988b60
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14599594 Change-Id: I4bb92e6ded432388b0fb178e71f35886104bbda1
This commit is contained in:
@@ -1719,8 +1719,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
|
||||
|
||||
Reference in New Issue
Block a user