commit | 85852786bc1bd5a845f37c33bf48aca96a35eefb | [log] [tgz] |
---|---|---|
author | Stanley Wang <stanleytfwang@google.com> | Thu Feb 04 00:08:00 2021 +0800 |
committer | Stanley Wang <stanleytfwang@google.com> | Fri Feb 05 17:47:03 2021 +0800 |
tree | 753fa271465d4534199e7e60249d45789c35ae25 | |
parent | 6344e2dbe83965bf73cd04a3aa0f87f07af0ea24 [diff] |
Update MainSwitch widget. - Fix the MainSwitchBar overlapping issue. - Add setTitle method to support string resource id. - Add setChecked method to fix the state of switch not sync issue. - Get the resource id of title from xml. Fix: 178425979 Test: Run robotest and apply the widget in Settings and see the ui Change-Id: I332b017c6a6e32e5ea3929d4b3c7e81104445bcc