title: Edittext Numeric by code
body: <p>Hello guys.</p>
  
  <p>I trying set EditText to input only numbers and point (" . ") that's all. Im already using inputType.. but there numeric keyboard with "+","-" and "#" and without point/period (".") 
  example for what need it  : 100.99 .. that's all. 
  I found some code :</p>
  
  <pre><code>&lt;EditText android:text="100.99"
  android:id="@+id/EditText01"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content"
  android:numeric="integer|decimal" /&gt;
  </code></pre>
  
  <p>but it's in xml... i want create it by code.  Also i mean this string : </p>
  
  <pre><code> android:numeric="integer|decimal"
  </code></pre>
  
  <p>Please if any one know how to set this settings by code.. reply me</p>
  
  <p>Regards, Peter.</p>