N
N
NyPushkin2020-02-19 09:00:38
Android
NyPushkin, 2020-02-19 09:00:38

How to implement a beautiful display of an unknown amount of TextView?

I'm writing an application that scrapes a website. The site has clickable tags, which I also scrape. I need to display them in my android application, and in order for them to be clickable, I need to display them one by one in a TextView. What layout to use so that you can programmatically display an unknown number of TextViews in it and so that when the end of the TextView lines is reached (since they simply go beyond visibility in the LinerLayout)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmtm, 2020-02-19
@NyPushkin

wrap LinearLayout in ScrollView
although it would be more correct to use RecyclerView

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question