"OK" button on Android

"OK" button on Android
0.0 0


“OK” button on Android was fixed text.
Replace “ok” to R.string.ok then It was automatically changed by Phone’s Language.

        Dialog dialog = new AlertDialog.Builder(this)
        new DialogInterface.OnClickListener()
            public void onClick(DialogInterface dialog, int whichButton){



Thank you for your advise, #717 is created for it.


I have tried to modify it. But it makes Android template too complex.
You know, Android template working based on HelloWorld. It copying the java files from it, and should do some works for the new project.
So, sorry, I don’t replace “Ok” to R.string.ok.