Listview with multiple column columns for tablet?

I'm currently trying to create a tablet-optimized version of my application. However, difficulties arise when I try to populate a screen with a list of THREE columns. Here is a quick example: enter image description here

What is the best way to do this?

UPDATE The problem is not how to configure a listview with three columns. In my application for the phone version, I use a simple list where each item opens a different action when clicked. How to achieve this for 3 columns?

+4
source share
2 answers

I think Grid view can be used in your case. Even this is a custom view, you can still inflate the layout and apply it to a single element.

+2
source

You can use LayoutInflater and inflate the sub-tier from xml to create a multi-column list. Take a look at Multi Column ListView and this

+2
source

Source: https://habr.com/ru/post/1389609/


All Articles