title: formatting correctly a text to alertdialog
body: <p>I've a code that transform the seconds to hour(s), minute(s), second(s):</p>
  
  <pre><code>int day = (int)TimeUnit.SECONDS.toDays((long) val3);        
  long hours = TimeUnit.SECONDS.toHours((long) val3) - (day *24);
  long minute = TimeUnit.SECONDS.toMinutes((long) val3) - (TimeUnit.SECONDS.toHours((long) val3)* 60);
  long second = TimeUnit.SECONDS.toSeconds((long) val3) - (TimeUnit.SECONDS.toMinutes((long) val3) *60);
  </code></pre>
  
  <p>also I've the code that write the result:</p>
  
  <pre><code>alertDialog.setMessage("Day\t\t" + day + "\nHour\t\t" + hours + "\nMinute\t" + minute + "\nSeconds\t" + second);
  </code></pre>
  
  <p>I need put the correct formatting using \t to separate day, hours, minutes from variables. The problem is that I don't know how many days/hours/minutes I've. So, what's the best way to use \t programmatically?</p>
  
  <p><img src="https://i.stack.imgur.com/vGNnd.png" alt="enter image description here"></p>