Android number picker keyboard type
<p>I have a EditText which when clicked creates a AlertDialog which contains a number picker. I want to give the user the option to scroll through the number picker and also to enter a value via keyboard. But i dont know how to set the keyboard type for NumberPicker currently the full keyboard displays when clicking on a value of the number picker. </p>

<p>I know EditText you can do editText.setInputType, but what about for NumberPicker?</p>

<hr>

<p>Here is my dialog xml:</p>

<pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:holo="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="horizontal" &gt;

&lt;NumberPicker
    android:id="@+id/numberPicker1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:orientation="vertical"/&gt;
&lt;/LinearLayout&gt;
</code></pre>

<p>I dont want to set the input type of the edit text. I want to set the input type of the number picker. When the edit text is clicked a dialog is created which holds a number picker. Its that number picker that i want to set the input type on.</p>
