3月 05, 2020

andorid 錯誤訊息

 Missing accessibility label: where minSdk < 17, you should provide an android:hint Editable text fields should provide an android:hint or, provided your minSdkVersion is at least 17, they may be referenced by a view with a android:labelFor attribute. When using android:labelFor, be sure to provide an android:text or an android:contentDescription. If your view is labeled but by a label in a different layout which includes this one, just suppress this warning from lint.

Issue id: LabelFor



在xls檔案中增加

android:hint

或是

android:labelFor

沒有留言:

張貼留言