Re: [android-developers] UI Guidelines? What is the correct place for checkboxes and radio boxes?
On Wed, Apr 18, 2012 at 8:24 AM, Rainer rbur...@gmail.com wrote: I am confused by the various options of where checkboxes and radio buttons appear. Android default widgets will show radio and checkboxes on the left, however on a PreferenceActivity checkboxes and radio buttons will be on the RIGHT. Also Google Music shows a checkbox in the options menu on the RIGHT. Making native android CheckBox appear on the right is not as straight forward as it should be. In short, I am super confused. There doesn't seem to be a consistent guideline of what the correct placement should be and in googles apps (gmail = left, settings = right, google music popup = right) its inconsistent as well. please help You are welcome to place checkboxes wherever you like. There are no strict rules on this. By default, CheckBox will have the actual box on the left, and CheckedTextView will have the actual box on the right -- CheckedTextView is typically used for checkable lists in a ListView. However, you are welcome to have an empty caption on a CheckBox and place it wherever you want, or even roll your own CompoundButton that has no caption. So long as it is obvious to your users what the checkbox corresponds to, its precise placement does not matter a lot. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] UI Guidelines? What is the correct place for checkboxes and radio boxes?
However, you are welcome to have an empty caption on a CheckBox and place it wherever you want, or even roll your own CompoundButton that has no caption. Well my point is that there doesn't seem to be a consistent recommendation on where stuff should be. Sometimes its on the left, sometimes its on the right. The suggestion to use empty labels and then put another text label on the left of a checkbox makes experience different from CheckBox. Checkbox will also toggle if you hit the text, not only the box. I know that it is possible to override this but whats the point of having a UI framework in that case? IMHO it is here to aid and (partially) enforce a consistent user experience. Right now if someone asks me where the box in a checkbox is then you typically have to answer, well it depends on . This is weird. So long as it is obvious to your users what the checkbox corresponds to, its precise placement does not matter a lot. IMHO it matters from a consistent UE experience. Android design is all about tightening the reins and making the UE more consistent. Funny enough even in their examples it is sometimes left and some times right. The rule with in a list its right, otherwise right is also a bit dodgy. For example the google music context menu has a single checkbox option on the right, even if you could argue whether this is a list or not. Also if I have a dialog with a bunch of form elements (username, password, remember checkbox) then what should it be there? You can argue that in total it looks similar like a list, but then by default its still on the right. I just don't get it. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] UI Guidelines? What is the correct place for checkboxes and radio boxes?
On Wed, Apr 18, 2012 at 9:34 AM, Rainer rbur...@gmail.com wrote: Well my point is that there doesn't seem to be a consistent recommendation on where stuff should be. There is no recommendation on where checkboxes should reside, at least from my review of the Android Design guidelines. Perhaps I missed it. I know that it is possible to override this but whats the point of having a UI framework in that case? Because drawing everything yourself with low-level 2D graphics APIs is a pain. Right now if someone asks me where the box in a checkbox is then you typically have to answer, well it depends on . This is weird. No more weird than are Web sites or Windows apps, where checkboxes also roam freely. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] UI Guidelines? What is the correct place for checkboxes and radio boxes?
No more weird than are Web sites or Windows apps, where checkboxes also roam freely. You can always find worse examples :) However, I would wish for android design specs to be more clear and enforce a uniform experience for such elements. The UI framework should then assist in streamlining the experience by following these UI rules out of the box. I just don't want to write my own RadioButton and Checkbox just because the current defaults are confusing. I would love for someone from android design team to chime in on this. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] UI Guidelines? What is the correct place for checkboxes and radio boxes?
Go to the source and ask him: https://plus.google.com/113735310430199015092/posts/ADZRqnt7PHj On Wednesday, April 18, 2012 10:10:52 PM UTC+8, Rainer wrote: No more weird than are Web sites or Windows apps, where checkboxes also roam freely. You can always find worse examples :) However, I would wish for android design specs to be more clear and enforce a uniform experience for such elements. The UI framework should then assist in streamlining the experience by following these UI rules out of the box. I just don't want to write my own RadioButton and Checkbox just because the current defaults are confusing. I would love for someone from android design team to chime in on this. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en