How do I replace an ImageView with a Layout containing many elements in Android Studio? : <p>I have an ImageView which among other elements is contained in a main linear layout. On a certain button click , I want to replace the ImageView with a Linear Layout. Is there a way to do this in Android ? I already set up the event listener and everything.</p>
