It will be ExpandableListView, approximately 4x4. The layout of each of its rows is a widget consisting of 12 horizontally arranged squares, each of which is colored in a certain color. By clicking on the outer row, some of the squares will change color.
How is it easier to do - ListView / RecyclerView / CustomView / CustomLayout?

enter image description here

  • explain more readily - Vladyslav Matviienko
  • In the picture there are 4 rows of ListView, inside of which there are horizontal squares. The question is how to draw these little squares - user214524
  • one
    if they are always the same number, then just 12 View . You can add them by program loop, for example. Because they are all visible at the same time, there is no point in the ListView / RecyclerView - Vladyslav Matviienko
  • Thank. So do - user214524
  • one
    I would use the GridView, since everything is clearly divided into rows and columns and in further processing logic it is simpler than ExpandableListView. - ZigZag

0