Home > front end >  Translation editor android
Translation editor android

Time:05-22

I am using translation editor, and to use the translation I have created, I use in the xml @string/example_01.

But how can I use it in the activity like this example?

progressDialog.setTitle("@string/PleaseWait")

CodePudding user response:

That's R.string.example_01, while PleaseWait might not work (all lowercase underscores).

When writing R. you'll see all kinds of Android resources.

  • Related