In my Android application, I have an activity with three layouts: A left layout, a middle layout, and a right layout.
The right layout is the main one. I want the right layout to zoom into fullscreen when I click a button. If you have the specific code,it’s better.
Thanks very much!
If I got your question right:
Your button’s OnClickListener should look like something like this:
This by itself will not get your right layout to fullscreen. You’ll need to add something the below to your right layout for it to “auto fullscreen”:
if you don’t do that, you’ll have to resize the right layout from the “listener” above.