This post is the answer to my previous entry I wrote here.
Whenever an Android app shows a confirmation dialog, you’ll often see something like:
[ CANCEL ] [ OK ]
But if you’re used to using Windows, this arrangement can feel a little weird. I personally remember being more accustomed to seeing:
[ OK ] [ CANCEL ]
So naturally, I wondered: Why does Android do it differently?
After looking into it, I found out that Android doesn't really think of these buttons simply as “left” and “right” buttons.
Instead, Android gives buttons different roles. There are Positive, Negative, and Neutral actions.
In a typical confirmation dialog, OK is considered the Positive action because you're confirming or proceeding with something. Cancel is the Negative action because you're rejecting the action or backing out.
Android's standard design convention places the Negative action before the Positive action. And that's how we end up with:
Cancel → OK
So, Android isn't necessarily saying, “Cancel should always be on the left.” It's more like saying, “This is the Cancel action, this is the OK action, and here's how our standard interface arranges them.”
Of course, different Android versions, manufacturers, and apps can sometimes arrange their buttons differently. Developers can also create completely custom dialogs.
Still, I found this interesting because it's one of those tiny differences between platforms that you don't really think about until you notice it.
Maybe I'm just easily amused by little UI details—but now whenever I see Cancel on the left and OK on the right, I'll know there's actually a reason behind it! 😄
No comments:
Post a Comment
Hello!
Thanks so much for taking the time to read my blog post! I’d love to hear your thoughts, feedback, or any suggestions you might have—feel free to share them in the comments. Looking forward to hearing from you!