Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6811785
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:22:10+00:00 2026-05-26T20:22:10+00:00

In my Android application, I have an activity with three layouts: A left layout,

  • 0

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!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T20:22:10+00:00Added an answer on May 26, 2026 at 8:22 pm

    If I got your question right:

    Your button’s OnClickListener should look like something like this:

       OnClickListener listener = OnClickListener() {
         public void onClick(View v){
            findViewById(R.id.left_layout).setVisibility(View.INVISIBLE);
            findViewById(R.id.center_layout).setVisibility(View.INVISIBLE);
         };
    

    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”:

    android:layout_width = "0dp";
    android:layout_weight = "1";
    

    if you don’t do that, you’ll have to resize the right layout from the “listener” above.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two threads in an Android application, one is the view thread, and
I want to integrate the zxing source code to my Android application. I have
I'm writing a plugin-enabled android application here. I have 2 applications(2 apk), one is
Newbee to Android development. I am developing a application, which have three different tabs.
I have an application with a common Header in all layouts. I want that
I have an Android application with version 1.6 I take the wallpaper and show
I have an Android application that connects to Facebook to request authorization of an
I have a Web Service and an Android application that uses this web service.
I have a bunch of EditTexts in my Android application, each with InputMethod set
I have an interesting problem being reported to me from an android application I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.