?我想添加一個(gè)新的控件? ? <TextView? ? ? ? android:id="@+id/textView1"? ? ? ? android:layout_width="wrap_content"? ? ? ? android:layout_height="wrap_content"? ? ? ? android:layout_below="@+id/textView3"? ? ? ? android:text="@string/message" />已經(jīng)在string文件中添加了聲明:<string name="app_name">StringText</string>? ? <string name="hello_world">Hello world!</string>? ? <string name="action_settings">Settings</string>? ? <string name="message">12334</string>但還是提示錯(cuò)誤:[I18N] Hardcoded string "TextView", should use @string??resource這個(gè)問題怎么解決呢???
- 1 回答
- 0 關(guān)注
- 1455 瀏覽
添加回答
舉報(bào)
0/150
提交
取消