You can do that with :
<EditText
android:id="@+id/editText1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputMethod="Here You specify fully-qualified class name of your Inputmethod">
BUT
about android:inputMethod
attribute of EditText
the Documentation says
If set, specifies that this TextView should use the specified input
method (specified by fully-qualified class name). * Deprecated: Use inputType instead. [string]
hope this will help you...