46b5474be42204086df3b89966ad991c7ce9044d |
|
10-Jan-2018 |
Fan Zhang <zhfan@google.com> |
Update master switch style - When off, background grey - When on, background accent - Switch toggle always white, only change the slider color during on/off Change-Id: I0ca49439f4e20e75517d503f28cc3068930591e8 Bug: 69462439 Test: robotests
/packages/apps/Settings/src/com/android/settings/widget/ToggleSwitch.java
|
00b5e6b24741257352da975966ebe6c143b2eff5 |
|
28-May-2014 |
Fabrice Di Meglio <fdimeglio@google.com> |
This CL is not working (even after careful testing) but when I tried I was not completely ToT. Revert "Fix bug #15170508 When I initially load settings, all on/off toggles start in off position then move to on after pane loads" This reverts commit 1e52db8063a0be2254097b4d85527a91d141b505. Change-Id: I73bdfeba4a4b3e993e37cdae1e3733ffe272b9eb
/packages/apps/Settings/src/com/android/settings/widget/ToggleSwitch.java
|
1e52db8063a0be2254097b4d85527a91d141b505 |
|
28-May-2014 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #15170508 When I initially load settings, all on/off toggles start in off position then move to on after pane loads - refactor all the code that was using the Switch to control it thru the SwitchBar - start the Switch as View.GONE and make it View.VISIBLE when it is set as "enabled" or "checked" so that you dont see the Switch transition (it shows only with it final state) Change-Id: I382076bf3c819c530b5b2c06ca2429dfb2cdc6bf
/packages/apps/Settings/src/com/android/settings/widget/ToggleSwitch.java
|
6220275d6dec8ffc6f1df2cbfbf42934d09d41f0 |
|
16-May-2014 |
Fabrice Di Meglio <fdimeglio@google.com> |
Use SwitchBar for Accessibility Settings Deals with Talkback / Captions / Magnification Gestures - follow up CL to 41937766981423c9252e12e3319b2e7532739627 Related to bug #14898161 On/Off switches must move down from Action Bar Change-Id: Ibda0ed05b399f1b2b4464c5b22a3e9fd3d378867
/packages/apps/Settings/src/com/android/settings/widget/ToggleSwitch.java
|
5160536df91bb9daa6cac9a878ce406deda791c6 |
|
16-May-2014 |
Fabrice Di Meglio <fdimeglio@google.com> |
Code refactoring - move ToggleSwitch to the widget package Change-Id: Id277fc11c78363bf7d7b229ef9ae91c1ec5d6774
/packages/apps/Settings/src/com/android/settings/widget/ToggleSwitch.java
|