Add class SwitchView and fix layout Setting