It's not a secret anymore!*
The moose likes Android and the fly likes how to fill irregulaar tablelayout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "how to fill irregulaar tablelayout " Watch "how to fill irregulaar tablelayout " New topic
Author

how to fill irregulaar tablelayout

sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1032
I have data which needs to show rows and colums.the problem is number of rows are changing.rows need to catogerize 3 types.below is the example view.As below number of columns changing.Data is in ArrayList.which way is the good way to built this tablelayout ?

column1 coumn2 column3 column3 column3
row1 row1 row1 row1 row1
row2 row2 row2 row2 row2
row3 row4 row3 row3
row4 row4 row4

row1 row1 row1 row1 row1
row1 row1 row1 row1 row1
row1 row1 row1 row1

row1 row1 row1 row1 row1
row1 row1 row1 row1

I already have the tablelayout as below.i am think to change the value of textviews dinamically.Is it good way?

sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1032
please help me anyone?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39576
    
  27
To tell you the truth, I for one have lost interest in helping you. It's no fun trying to make sense of hundreds of lines of code, or hundreds of lines of layout data, in order to craft a response, and later to find that you have either abandoned a thread without a further word, or that you never see fit to say thanks.


Ping & DNS - updated with new look and Ping home screen widget
sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1032
ohh.I have replied for your replies many times ULF.anyway sometime i might missed to reply some threads due to workload.sorry ULF
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to fill irregulaar tablelayout
 
Similar Threads
how to add two buttons below
Need Help on the scrolling Bar in Android?
Have ways for remain previous layout in all pages?
odd framelayout/surfaceview problem
android table Layout columns different color