Answer the question
In order to leave comments, you need to log in
Why is AutocompleteTextView not editable after threshold is exceeded?
Good afternoon
The problem is this: I use the most direct and standard approach to creating an AutocompleteTextView, namely:
AutoCompleteTextView autoCompleteTextView = (AutoCompleteTextView) findViewById(R.id.auto_complete_text_view);
autoCompleteTextView.setAdapter(new ArrayAdapter<>(this, android.R.layout.simple_dropdown_item_1line, arrayList));
<AutoCompleteTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/auto_complete_text_view"
android:hint="@string/hint"
android:completionThreshold="1"
android:dropDownWidth="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:scrollHorizontally="true"
android:ellipsize="end"
android:lines="1"
android:maxLines="1"
android:layout_marginLeft="@dimen/external_margin"
android:layout_marginRight="@dimen/external_margin"
android:layout_marginBottom="@dimen/external_margin"
/>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question