[android-developers] Changing from Checkbox to Switch controls
I've got Preference screens that use Checkboxes right now.
I'd like to move to Switches for a more consistent UI.
I understand Switch is api14+ - so i have to use ToggleButton before that.
How do i support all api levels. Different preference screens based on api version???
Since both the controls are sub-classes of CompoundButton, can i just a single
code base.
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home