commit | 94f67e2af607df29a1c47e43ef6570fea46aa2b4 | [log] [tgz] |
---|---|---|
author | Adam Powell <adamp@google.com> | Tue Aug 23 20:35:49 2011 -0700 |
committer | Adam Powell <adamp@google.com> | Tue Aug 23 21:17:07 2011 -0700 |
tree | 5d129333af9c9c4eb86d51fcf698ee97b2930e97 | |
parent | 0e1e5223f96250e84323ae95d8cc9bd474b93502 [diff] |
Fix bug 5205275 - SwitchPreference doesn't allow Switch to slide back and forth. Also have the SwitchPreference's Switch widget's onClick listener toggle the switch rather than invoke the preference's own onClick method. This will allow subclasses to assign different behavior to clicking the preference itself if desired. Change-Id: I97e3b7a786e9f0e8bdc03c0ed6001caa7dcd991b