Move LayoutPreference into SettingsLib

- Since LayoutPreference will be used by other apps,
  we move it into SettingsLibs

Test: robotest
Bug: 120005054
Change-Id: Iec509cbd9f27d9f0172c7d035b0f7797d1528380
9 files changed