New answers tagged toggle
Maybe you could show a swipe icon and the two views could swipe in and out. Like the sidebar could be swiped away and swipe back.
I think you're referring to toggle switches here. That being said, Radio buttons let users select one option from two or more choices whereas a toggle switch mimics a physical switch that allows users to turn things on or off. You can also refer to these UX guidelines by Microsoft on when to use which control: Guidelines for toggle switch control ...
Your two layouts are very similar to a page with a left sidebar. If this is the case, you can just use a sidebar toggle button to open/close it. Another option is to add a dropdown menu | LAYOUT \/ | to the header, where you can list the two layouts.
Top 50 recent answers are included