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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to