Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android: Radio-Buttons and Dialog #8

Open
ma-pe opened this issue Nov 5, 2015 · 1 comment
Open

Android: Radio-Buttons and Dialog #8

ma-pe opened this issue Nov 5, 2015 · 1 comment

Comments

@ma-pe
Copy link

ma-pe commented Nov 5, 2015

Hey,
first of all: really nice work - thanks a lot. :)

Nevertheless I have a single suggestion:
I think, that the usability of the ListPicker on Android is a little inconsistent. Normally (as you know it from the web) Radio-Buttons are used with an submit button, like the doneButton you are actually suggesting. On Android instead klicking a list-item is not only checking it, but also choosing it.

Therefore in my opinion there are two, slightly more consistent alternatives:

  1. Use Radio-Buttons and Provide the done- and cancel-Button as well.
  2. Just don't show Radio-Buttons (like in this screenshot: https://github.com/kidino/phonegap-alertdialoglist-plugin)

I would prefer Option 2) - But then you have to think about how to highlight the default-option ;)

@roberthovhannisyan
Copy link
Owner

Hi @ma-pe,

The idea behind the implementation was to get something similar to dialog which is displayed by browsers for html select element. It looks exactly the same (with radio buttons) and tapping the item results in selecting and closing the dialog.

Main reason for the implementation was the difficulty with displaying and using html select element in our js framework (Sencha Touch), because there was no such built in mechanism.

However, your ideas are worth trying (although cannot promise any timeframe - sorry for that).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants