【发布时间】:2021-09-06 01:18:24
【问题描述】:
【问题讨论】:
标签: android android-studio android-button
【问题讨论】:
标签: android android-studio android-button
在您的 XML 文件中,将根 LinearLayout 中的 tools:context 更改为您的 Activity 的路径,因为此数据用于绑定 onClick 操作
从截图中我可以看出,它应该改为
tools:context=".LanderActivity"
【讨论】: