title: how to resize list height in Android Studio according to content?
body: <p>I'm Starting to get into Android programming more and more, 
  and right at the start I had a problem,</p>
  
  <p>I'm creating a simple list with a costume layout and in the String array I'm passing to the string in the list, it some Data is to large to enter and thus, I'm left with a Cut string, </p>
  
  <p>Is there a way to dynamically increase the list block height if the Data is too big to fit in it, so that it will wrap the list perfectly ?</p>
  
  <p>I guess from my learning of code, you could calculate the string length and come up with a solution like that, but is there a more elegant way to fix this ?</p>
  
  <p>Thank you</p>
  
  <p><a href="https://i.stack.imgur.com/5JrGn.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5JrGn.jpg" alt="enter image description here"></a></p>