0

I'm working on an Android app using Java and I'd like to create dropdown menus that behave like the ones in the attached mockup images.

Each dropdown (AutoCompleteTextView) should:

  • Show a downward arrow on the right.

  • Expand fully below when clicked, pushing other views down (not overlapping).

  • Display a list of app names.

  • Be part of a scrollable layout if needed.

Reference images:

IImage 1: When dropdown is clicked, it expands fully and pushes views below down. Image 2: When dropdown is clicked, it expands fully and pushes views below down.

I’m currently using AutoCompleteTextView inside TextInputLayout, but the dropdown appears over other views instead of expanding the layout downwards.

Question: How can I make the dropdown expand within the layout, so that it pushes other views down (like an ExpandableListView or similar behavior), instead of appearing as a floating overlay?

Thanks!

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.