Update docs around empty/null outline behavior

bug:15257846
Change-Id: Ie4d1b0aaeb900eaaa7e54097f3e0d795beb8f445
This commit is contained in:
Chris Craik
2014-05-27 14:10:17 -07:00
parent a06d76b139
commit 67c360f3d5

View File

@@ -10687,8 +10687,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
* {@link Drawable#getOutline(Outline)}. Manually setting the Outline with this method allows
* this behavior to be overridden.
* <p>
* If the outline is empty or is null, shadows will be cast from the
* bounds of the View.
* If the outline is {@link Outline#isEmpty()} or is <code>null</code>,
* shadows will not be cast.
* <p>
* Only outlines that return true from {@link Outline#canClip()} may be used for clipping.
*