There is an AutoCompleteTextView in it in the code values are entered.
How when clicking / focusing on a field display at once a list with all added values?
AutoCompleteTextView textView = (AutoCompleteTextView)findViewById(R.id.editFriendCode); String[] values = new String[]{"0f020", "ca35c"}; ArrayAdapter<String> adapter = new ArrayAdapter<>(this, android.R.layout.simple_list_item_1, values); textView.setAdapter(adapter); View.OnClickListener fdcClick = new View.OnClickListener() { @Override public void onClick(View view) { view.showContextMenu(); // не работает так } }; textView.setOnClickListener(fdcClick); Otherwise, it displays only the values if you enter 2 characters, and you want to display without entering data
I ask for help or hints of another solution.
UPD
setOnTouchListener also does not channel ...