For xml : android:completionThreshold="1"
there is no set selection for AutoCompleteTextView
only threshold
"When threshold is less than or equals 0, a threshold of 1 is applied.".
<AutoCompleteTextView
android:id="@+id/aCTVres"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ems="10"
android:gravity="center"
android:inputType="textMultiLine"
android:maxHeight="50dp"
android:maxLines="1"
android:textSize="14sp"
android:completionThreshold="1" >
<requestFocus />
</AutoCompleteTextView>
java
autotexttiew.setThreshold(2);