Replaces all margins with the padding to be compatible with SuW lib, and
fine-tune the layouts.
Bug: 242046040
Test: manual test
Change-Id: I27c387b7ff60e6ea4f1fff61e1fd73b647228df9
Root Cause: "Open activity" Preference is not part of the widget SettingsMainSwitchBarPreference, so its UI style did not be inherited.
Solution: "Open activity" has different concept from switch bar, we need to manual set its bacground to comply with the SettingsLib style.
Bug: 207067203
Test: manual test
Change-Id: I66f63f6952e5c4770509febc0e53eca6dc6eedb9