<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello" />
引用了string的hello
<string name="hello">Hello ABC</string>
可是我页面上仍只显示:Hello World
这是为什么呢?
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello" />
引用了string的hello
<string name="hello">Hello ABC</string>
可是我页面上仍只显示:Hello World
这是为什么呢?
如果没有,就clean一下工程
另外,再检查下res目录下面有几个value开头的文件夹,如果有多个的话,把每个文件夹里面的strings.xml值都改掉
还有会不会运行错了程序了?