Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-549

notification.confirm UX is missaligned

    XMLWordPrintableJSON

Details

    Description

      The notification.confirm() function places the options in the wrong order.
      iOS and Android 3.0+ should always use the dismissive action on the left and the confirming action on the right. Android 2.3 and below used the UX paradigm of having those orders reversed.

      Right now, if one were to set the buttons as 'No,Yes', then iOS would show the correct order, but Android 3.0+ has the buttons backwards, as the confirmation API uses the older Android 2.3 and below style. However, either way the Android implementation is backwards. The Android 2.3 button order should NOT match up with iOS like it currently is. And the Android 3.0+ order should be the same as iOS.

      http://developer.android.com/design/building-blocks/dialogs.html
      "As a rule, the dismissive action of a dialog is always on the left whereas the affirmative actions are on the right."

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--iOS Confirm.jpg
          100 kB
          Trevor N. Suarez
        2. ASF.LICENSE.NOT.GRANTED--Android Confirm.jpg
          84 kB
          Trevor N. Suarez

        Activity

          People

            bowserj Joey Robert Bowser
            rican7 Trevor N. Suarez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: