Questions tagged [exposeddropdownmenu]

4 questions
4
votes
1 answer

Disable swipe gesture in child component in Android Jetpack Compose

As mentioned by the title, I want to disable the swipe gestures ExposedDropdownMenuBox in a Composable. The reason is sometimes, the swipe triggers both Drawer's swipe to open and the ExposedDropdownMenuBox. Specifically, when you swipe on the…
T D Nguyen
  • 7,054
  • 4
  • 51
  • 71
1
vote
0 answers

Jetpack Compose - ExposedDropdownMenu - Autocomplete

I'm trying to implement an autocomplete textfield (I sure hope Compose has a built-in one at some point, like XML did) using the ExposedDropdownMenu and while I've gotten it to basically work, it's acting very strange. If I use this code below…
0
votes
0 answers

Android ExposedDropdownMenu endIconDrawable without a flicker on interact

The endIconDrawable, as shown in other posts on StackOverflow, can be overwritten through the usage of app:endIconDrawable attribute on a Material2 AutoCompleteTextView xml view element. My inquiry is if it is possible to prevent the default…
0
votes
0 answers

Dependent dropdown using Exposed Drop-Down Menu and AutoCompleteTextView

@Override public void onItemSelected(AdapterView parent, View view, int position, long id) { //Define city spinner but we will populate the option through the selected state policeStationSelectDropdown =…