Merge "docs: Added min/max values and descriptions for alpha getter/setter in ImageView" into nyc-dev

This commit is contained in:
Kevin Hufnagle
2016-09-26 22:55:32 +00:00
committed by Android (Google) Code Review

View File

@@ -1419,7 +1419,9 @@ public class ImageView extends View {
/** /**
* Returns the alpha that will be applied to the drawable of this ImageView. * Returns the alpha that will be applied to the drawable of this ImageView.
* *
* @return the alpha that will be applied to the drawable of this ImageView * @return the alpha value that will be applied to the drawable of this
* ImageView (between 0 and 255 inclusive, with 0 being transparent and
* 255 being opaque)
* *
* @see #setImageAlpha(int) * @see #setImageAlpha(int)
*/ */
@@ -1430,7 +1432,8 @@ public class ImageView extends View {
/** /**
* Sets the alpha value that should be applied to the image. * Sets the alpha value that should be applied to the image.
* *
* @param alpha the alpha value that should be applied to the image * @param alpha the alpha value that should be applied to the image (between
* 0 and 255 inclusive, with 0 being transparent and 255 being opaque)
* *
* @see #getImageAlpha() * @see #getImageAlpha()
*/ */