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 8082651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T17:11:14+00:00 2026-06-05T17:11:14+00:00

I am trying to create a table layout filled with lots of bits of

  • 0

I am trying to create a table layout filled with lots of bits of data, the table layout is inside a scroll view.

I am using this to fill it

TableLayout tl;

.....

tl = (TableLayout) findViewById(R.id.layout);

.....

and when I set it I create a new Text View to put into it like so

TextView tv;

....

tr = new TableRow(Context);

.....
tv = new TextView(Context);
tv.setText(progress[1]);
tr.addView(tv);
...
tl.addView(tr);

A new text row is created when I have put 12 text views in it and the tr is added to the tl when it has 12 views in it.

The font size of the text view is default, all I do to the text view you see 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-06-05T17:11:17+00:00Added an answer on June 5, 2026 at 5:11 pm

    Consider changing to a viewgroup that can recycle/reuse its child views, such as a listview or gridview. That way you won’t need to keep everything in memory.

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

Sidebar

Related Questions

I'm using eclipse + android SDK. I'm trying to create a table with data
I am trying to create a table view which has a layout like what
I'm trying to create a table-less layout using floats, but I'm having trouble getting
I'm trying to create a layout with display: table and alike, but it seems
I'm trying to create table from view from remote server (calling procedure UPDATE_PROC), like
I am trying to create this table in a MySQL database CREATE TABLE IF
Hi this is the table I am trying to create: CREATE TABLE images (
I am trying to create a table with a single column using the following
I'm trying to create a layout for my website and I'm stuck with this.
I'm trying to create a buttons dynamically and add them to table layout panel

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.