r/androiddev • u/ternaryop • Feb 23 '20
Android 11 funny things: android.R.string.yes and and android.R.string.no deprecated
android.R.string.yes and android.R.string.no are finally deprecated because they incorrectly match android.R.string.ok and android.R.string.cancel
71
Upvotes
40
u/AD-LB Feb 23 '20
Tested now because of how weird it sounds. Indeed. "yes" is shown as "OK" and "no" is shown as "Cancel".
How could they have made such a basic mistake?
Guess it's too late to fix it now...
13
u/alt236_ftw Feb 23 '20
Generally, just roll out your own resources for consistency
11
u/[deleted] Feb 23 '20 edited Jun 17 '23
plant muddle frighten brave six bedroom march truck sort bewildered -- mass edited with https://redact.dev/
-1
u/SoundSonic1 Feb 23 '20
Google at their peak