Android problem creating multiple AutoCompleteTextViews dynamically
I want to dynamically create input views, which each contain an AutoCompleteTextView. Each AutoCompleteTextView shows a Dropdown list.
I have defined an item view (item_new_product.xml), which gets inflated and added to the viewContainer (activity_main.xml).
Each AutoCompleteTextView has defined a dropDownAnchor in xml, which is the view ID of its parent TextInputLayout. This is where the dropdown list should show up.
For the first item the Dropdown appears in the right place (see <a...