docs: Add param info to TextView.setTextColor

Bug: 6617101
This commit is contained in:
Mark Lu
2016-08-30 17:36:52 -07:00
parent 689c92db9d
commit 193879a8b6

View File

@@ -3234,6 +3234,10 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
* Sets the text color for all the states (normal, selected,
* focused) to be this color.
*
* @param color A color value in the form 0xAARRGGBB.
* Do not pass a resource ID. To get a color value from a resource ID, call
* {@link android.support.v4.content.ContextCompat#getColor(Context, int) getColor}.
*
* @see #setTextColor(ColorStateList)
* @see #getTextColors()
*