Implementing numeric integer only on EditText with KeyListener
<p>What do I need to fill in on the setKeyListener parameter so that it has the same behaviour like <code>android:numeric="integer"</code> on XML?</p>

<p>Snippet:</p>

<pre><code>paymentAmount = new EditText(this);
paymentAmount.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, 
                                               LayoutParams.WRAP_CONTENT));
paymentAmount.setMinimumWidth(100);
paymentAmount.setKeyListener(???);
</code></pre>
