How to paste an excel list to android studio and get organized with break lines?

Asked

Viewed 81 times

2

List in excel

Uma lista no excel

  • Relacionar o item
  • Cidade
  • Relacionar o item
  • Afonso Bezerra
  • Alexandria
  • Alexandria
  • Almino Afonso
  • Alto do Rodrigues
  • Angicos
  • Angicos
  • Apodi
  • Apodi

How to do this in xml?

Que nao fiquei assim.

Because as a long list, and I want to put more than 2 columns, I can not put one by one, but at most paste with columns.

  • But the goal is to put the texts that comes from excel in a TextView of a layout is this ?

  • Yes. as long as it is organized. Because I want to have 2 or 3 columns . I want it to be like excel, separated with rows and columns, only in the layout or in a textview

  • This already sounds like a different question. So what you’re trying to do is "replicate" a layout like excel ? Including in it the data you already have ?

  • Yes. the data I already have. I just want to put in the layout in a similar way, rows and columns. Only that’s a lot of data.... and I have no way to put one by one...

  • Glue in a notepad, copy and glue in Android Studio. I always do this for other platforms. If it works out let me know. Thanks!!!

  • I’ve done it! But it doesn’t get line breaking... use some formula <br> would work?

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.