Remove misleading method comment on TextView#setHint
Comment incorrectly specified that the setHint(...) methods were deprecated and suggested instead using different methods that did not exist. Change-Id: I5e7a1570beb8f1cd807853c6d9de8072afa5123e
This commit is contained in:
@@ -2823,9 +2823,6 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
||||
* Null means to use the normal empty text. The hint does not currently
|
||||
* participate in determining the size of the view.
|
||||
*
|
||||
* This method is deprecated. Use {link #setHint(int, String)} or
|
||||
* {link #setHint(CharSequence, String)} instead.
|
||||
*
|
||||
* @attr ref android.R.styleable#TextView_hint
|
||||
*/
|
||||
@android.view.RemotableViewMethod
|
||||
@@ -2845,9 +2842,6 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
||||
* Sets the text to be displayed when the text of the TextView is empty,
|
||||
* from a resource.
|
||||
*
|
||||
* This method is deprecated. Use {link #setHint(int, String)} or
|
||||
* {link #setHint(CharSequence, String)} instead.
|
||||
*
|
||||
* @attr ref android.R.styleable#TextView_hint
|
||||
*/
|
||||
@android.view.RemotableViewMethod
|
||||
|
||||
Reference in New Issue
Block a user