Add MainSwitchPreference for SpaLib

Temporarily use material3's Checkbox instead of Switch, before the
androidx.compose.material3_material3 library is updated to date.

Bug: 235727273
Test: Unit test & Manual with Codelab App
Change-Id: I62824111769b3edac42b4cc686186c2bc1a3f7a2
6 files changed