O
O
Oleg Carp2019-08-02 13:21:09
Android
Oleg Carp, 2019-08-02 13:21:09

Table layout in TableLayout, TableRow (3 tables in 1 activ). Help!!!?

Tell me how can I stretch the "Projected Events" table
to its full length, when I simply write the width, nothing changes, I try to stretch the table element - they stretch along with all the rows in the table that are under and above.
The names of the tables are a regular TextView outside of Row, and the columns are implemented in TableRow.TableLayout alone. Everything is the most standard, so I don’t throw out the code.
I also wanted to insert the 4th table, and therefore it is necessary to move the "Undergrowth" to the middle, again, it just does not move.
Who knows what's what?
5d440c86db174270877299.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Letov, 2019-08-02
@Rebel-Cat

Hello! Have you tried GridLayout? Although he is Legacy, but as for me, he is much simpler. And the cells are stretched using layout_rowWeight and layout_columnWeight (although it can also be in TableRow).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question