LoginSignup
3
2

More than 5 years have passed since last update.

javaのお勉強

Last updated at Posted at 2013-08-10
tv.setText("いらっしゃいませ");

という直接プログラムに文字列を入力して表示する方法を
/TestApp/res/values/strings.xml

<string name="Wlecome">いらっしゃいませ</string>

と定義しておくことで

tv.setText(R.string.Wlecome);

でも表示できるように変更しました。

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2