0
?xml version="1.0" encoding="utf-8"?>
<resources>

<string name="hello">Hello World, AvanosActivity!</string>
<string name="app_name">Avanos</string>
<string name="textView1">Who would you like to call?</string>
<string name="password">Enter Password</string>
<string name="callButton2">Call</string>
<string name="phoneNumber">Phone Number</string>
<string name="EnterButton">Enter</string>
<string name="ChangePasswordButton">Change Password</string>
<string name="CurrentPassword">Enter Current Password:</string>
<string name="NewPassword">Enter New Password:</string>
<string name="settings">Settings</string>
<string name="EnterButton2">Enter</string>
<color name="Black">#000000</color>
<item format="string" name="root" type="id">1</item>

在我的应用程序中,我添加了一个名为“ChangePasswordButton”的新按钮。根据 Eclipse,我在添加这个字符串元素时犯了一个错误。这是以前从未发生过的。一切似乎都井井有条,但由于某种原因它无法正常工作。是不是我做错了什么?

4

1 回答 1

1

第一个字符应该是 '<'

<?xml version="1.0" encoding="utf-8"?>
于 2012-08-13T00:23:52.430 回答