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
68
Upvotes
View all comments
Show parent comment
5
u/JakeWharton Head of sales at Bob's Discount ActionBars Feb 24 '20
It's not a mistake. The value changed in 1.1 or 1.5. I can't recall. Fire up a 1.0 emulator and test it out.