Button should work as check box
<p>Hi guys,</p>

<p>I am new to Android. I am having a button and layout, and I want to write a program such that when the button is selected the layout should be visible - otherwise, the layout should be invisible.</p>
