title: How insert number (double) in EditText
body: <p>I use this code</p>
  
  <pre><code> &lt;EditText
       android:id="@+id/price_for_liter_value_edit_text"
       android:layout_width="fill_parent"
       android:layout_height="fill_parent"
       android:background="@android:color/transparent"
       android:textColor="@color/dn_14_date"
       android:fontFamily="sans-serif-regular"
       android:textSize="18sp"
       android:text=""
       android:padding="4dp"
       android:inputType="number"/&gt;
  </code></pre>
  
  <p>and at this line I set inputType: </p>
  
  <pre><code>  android:inputType="number"
  </code></pre>
  
  <p>but I cant enter double number (with . - like as 1.3 or 20.5). 
  <strong>What type should I use in inputFormat ?</strong></p>