docs: Added min/max values and descriptions for alpha getter/setter

in ImageView

Bug: 12644483
Change-Id: I269d63b50412ecea5269acb99fc09c8110e404b4
This commit is contained in:
Kevin Hufnagle
2016-09-23 15:54:42 -07:00
parent d91c303e6c
commit bdb308a059

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()
*/ */