这是我的 about.xml 文件,它是布局文件
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/about_text"
android:id="@+id/abouttextview"></TextView>
</ScrollView>
这是 strings.xml 文件,其中包含单击 about 按钮时要显示的内容
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="hello">Hello World, Hangman!</string>
<string name="app_name">Android Hangman</string>
<string name="about_text">Hangman is the classic game that has
players
trying to guess their opponent's mystery word first--and
before
getting hanged. For every wrong letter chosen, a bit more
of the hangman is exposed.</string>
<string name="about_title">About Android Hangman</string>
</resources>
我在 about.xml 的 android:text=@strings/about_Text 行收到错误,找不到与给定名称匹配的资源