範例如下:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<stringname="hello">Hello!</string>
</resources>
Stringstring=getString(R.string.hello);
範例如下:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<stringname="hello">Hello!</string>
</resources>
Stringstring=getString(R.string.hello);
請先 登入 以發表留言。