title: Android - How to use SpannableString to place text
body: <p>I have the next list item which shows two texts, one aligned to the left and one aligned to the right. For now, each text is placed in a different <code>TextView</code>:</p>
  
  <p><img src="https://i.stack.imgur.com/qJNww.png" alt="enter image description here"></p>
  
  <p>I would like to use only one <code>TextView</code>. For that, I know I can use <code>SpannableString</code>, but I have hours trying to find out the way without success.</p>
  
  <p>Can anyone tell me how I can place both texts in the same <code>TextView</code> aligning one to the left and one to the right?</p>
  
  <p>Thanks in advance.</p>