title: Android Expandable text view with "View More" Button displaying at center after 3 lines
body: <p>I want to display description in a text view, if the description is more than 3 lines i want to display a View more button that expands the text view with complete description (or a dialog with complete description)</p>
  
  <p>I have referred some links<br>
  1) <a href="https://stackoverflow.com/questions/11311541/how-can-i-implement-a-collapsible-view-like-the-one-from-google-play">How can I implement a collapsible view like the one from Google Play?</a></p>
  
  <p>The above solution has an arrow like image view at end of third line of text view but i want a button displaying below the text view if description crosses 3 lines.</p>
  
  <p>2) <a href="https://stackoverflow.com/questions/19675331/add-view-more-at-the-end-of-textview-after-3-lines">Add &quot;View More&quot; at the end of textview after 3 lines</a></p>
  
  <p>The above solution has "View More" unaligned( "View" at 3rd line and "More" at 4th line)</p>
  
  <p>I am looking for something like this.
  <a href="https://i.stack.imgur.com/JzOby.png" rel="noreferrer"><img src="https://i.stack.imgur.com/JzOby.png" alt="enter image description here"></a></p>