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

  • SEARCH
  • Home
  • 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 6667215
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:54:34+00:00 2026-05-26T02:54:34+00:00

So, in my application I have a grid of buttons. Each one is set

  • 0

So, in my application I have a grid of buttons. Each one is set to addView(closedVies) and then removeView(openView) if one was displayed. The views that I’m adding contain several checkboxes and on each checkbox I will be setting an onClickListener as well.

I have it working my way, but is there an easier or more efficient way it could be done?

There will be a background behind the checkboxes that will connect to whichever button opened it. I have that figured out just haven’t implemented it yet.

The checkboxes are in a linearlayout defined in XML

From Samsung mobile

Here is basically what it will look like:

enter image description here

  • 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-26T02:54:35+00:00Added an answer on May 26, 2026 at 2:54 am

    There is a couple of projects from Romain Guy. There is a project named PhotoStream that uses a GridLayout. This is sort of like the LinearLayout but we specify the number to rows and columns. So the childs to this layout are automatically laid out as a grid. Its a good alternative to what you have done so far.

    Here is the link to the project.. This is the link for the gridlayout. I recommend you checkout the project and take a look at it.

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

Sidebar

Related Questions

I have an application that it's main page is organized like this: Grid (LayoutRoot)
I have a grid in which file names are displayed as link buttons. But
Assume I have several Views in my WPF application that all show a report,
I have an application that contains a grid and button for the user to
I have ExtJS application that is querying database and showing the results in grid
i have data-grid in my application and i want to customize my data-grid so
I have a grid in my GWT application there are columns and rows which
I have a grid view control in my application. Please see the below code.
I have a Windows 8 Metro application created from the Grid Application template. I
In My application have time consuming process.There fore i try to do that operation

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.