This is a migrated thread and some comments may be shown as answers.

Dropdown menu not shown with auto layout

1 Answer 46 Views
AutoCompleteTextView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ferdinando
Top achievements
Rank 1
Ferdinando asked on 24 Mar 2016, 11:16 AM

Hi,

I have been testing the AutoCompleteTextView in the last period in an empty page, and I have managed to make it behave (and look) almost as I want. 

Now I am trying to include it in my project, but the suggestion view (the dropdown menu) does not appear. I have a complex layout, so I can't post it here, but I can say that I am using auto layout and constraints to place it in the right position (and not by setting the CGRect as in the examples). The AutocompleteTextView appears, and it is possible to write it inside, but I don't manage to make the dropdown appear. Are there any examples regarding this case or any remarks / things to consider in this situation?

1 Answer, 1 is accepted

Sort by
0
Sophi
Telerik team
answered on 29 Mar 2016, 07:29 AM
Hi Ferdinando,
The TKAutoCompleteTextView has a complicated structure, the behavior depends on the setup you have used. Right now I cannot say much because I do not have your code sample and it makes the task quite abstract.

What I can advice you is to consider which will be more appropriate to use in your case TKAutoCompleteController or just the TKAutoCompleteTextView, the controller should simplify your hierarchy 
and reduce the chance of layout conflicts.

If you can send us a code sample or a example project with the isolated issue, we will be able to say where the issue is coming from and possibly how to resolve it.

Regards,
Sophi
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
AutoCompleteTextView
Asked by
Ferdinando
Top achievements
Rank 1
Answers by
Sophi
Telerik team
Share this question
or