E
E
Eugene2017-01-09 22:52:15
Android
Eugene, 2017-01-09 22:52:15

Error related to view elements?

It is required to make a field 10 by 10, view elements will be dragged into the cells. I implemented this using TableLayout, but the studio writes that there are more than 80 elements on the screen and this may affect performance. In the preview window, everything looks as intended, when I assemble and install on the phone just an empty layout. I'm doing a sea battle. Please tell me what is my mistake

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan, 2017-01-11
@panarama360

I did such a thing not through TableLayout , but with the help of LinearLayouts, vertical and horizontal, everything was displayed perfectly, the problem was only in the perception of all this mountain of Layouts. It worked perfectly without any problems rendering and very fast.

E
eyewhitness, 2017-02-07
@eyewhitness

possible through RecyclerView

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question