1

I have list of lessons. Users tap a lesson to open a dialog box.

In every (Android) dialog I want the user to be able to register for the lesson, and see the duration, in hours, of that lesson.

If the user has already registered I want to allow them to cancel their registration.

In my app, right now, a star symbol indicates a registered lesson.

Questions

  • I don't know what buttons and icons to use in the dialog (a star, and an X for Cancel)?
  • Do I add another button for closing the dialog?
  • Or should a tap outside the dialog to close it?

Thanks.

  • 1
    Hi Alon, welcome to UX.SE. We need a little more info in order to answer this question. What type of app do you have? Mobile? Desktop? Displaying lesson info within a dialog is unconventional. Was there a specific reason why a dialog is used? What does registering for a lesson mean? Is this more like a Favourite, to allow users to more readily access the lesson in the future or does it have more meaning? What happens when the user un-registers? – nightning Sep 23 '15 at 19:01
  • this is mobile app,I have list of lesson that each person can register to this lesson. each Item in the list contain hours and the title of the lesson. User can register to the lesson. click on the item in the list open dialog box for register.I thought that click on the list Item for register is little problematic , cause I have swipe in the app and the user can click by mistake. register to the lesson is that he will come to this lesson and he will take place in this lesson.(This is not favorite). I want to make it possible to register and cancel if the user registered. – Alon Sep 23 '15 at 19:09
1

It's best to follow the standards

You're asking about a dialog on Android.

Dismissing a dialog box

I recommend you do what the Android style guide says to do:

Dialogs can be dismissed by touching/clicking outside of the dialog or by using the system back button (Android). Dialog behavior can be overridden so that users must explicitly choose one of the actions.

There's no reason to override the default behaviour.

On the same page, the style guide says you can also provide a Cancel comand link, as illustrated:

Android dialog that has a Cancel command link

Provide a Register or an Unregister button

For the command links, why don't you use words instead of icons, the way the Android styleguide illustrates:

An Android dialog

When the user isn't yet registered, the name of the command could be Register, Join, or Add, depending on the mental model you want to reinforce and the wording that your audience will always understand.

Similarly, when the user is already registered, the name of the command could be Unregister, Drop, Leave, or Remove.

I hope that helps you move forward.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.