Android Studio 4.2 ,Gradle 6.7 , David 2021.06
private View.OnClickListener onClickListener = new View.OnClickListener() {//侦听器
private final View.OnClickListener onClickListener = new View.OnClickListener() {//侦听器
Resource IDs will be non-final in Android Gradle Plugin version 7.0, avoid using them in switch case statements
switch case 替换 为 if else
switch 后面必须是常量,否则,用if else替代
Design 不显示,Edittext,属性 android:autofillHints="" 删除掉
可以正常显示了。