title: Android: Adding decimal point to EditText field, and make it move with input
body: <p>In my app, the user is able to enter a dollar amount in a text field. The thing is, I need the input to adapt to the final number as they enter the digits, without actually entering the decimal point. The best way to explain this is with an example:</p>
  
  <p>Suppose the user starts off with an EditText field which contains this:</p>
  
  <p>.</p>
  
  <p>The user wants to enter $12.53 into the field (i.e. the digits 1,2,5,3). Then he/she starts by entering 1, and the field should look like this:</p>
  
  <p>.1</p>
  
  <p>Then:</p>
  
  <p>.12</p>
  
  <p>Next:</p>
  
  <p>1.25</p>
  
  <p>Finally:</p>
  
  <p>12.53</p>
  
  <p>So as you may notice, the decimal places itself accordingly as the numbers are inputted. Is it possible to do this as the numbers are being entered? Thanks.</p>