We need a spinner, which would open a drop-down list, not a dialogue. On Android versions 4+, this is provided by the android:spinnerMode="dropdown"
attribute android:spinnerMode="dropdown"
.
I know that there is something similar in ActionBarSherlock, but I can not use it, because I use AppCompat, with which ActionBarSherlock is not compatible.
- ActionBarSherlock is no longer needed. Why do you use it? Just for the sake of 2.1-2.3? - Suvitruf ♦
- @Suvitruf, I wrote that there is a necessary (most likely) class in ActionBarSherlock. It seems something like this: ICSSpinner. I myself do not need ActionBarSherlock. But ActionBarSherlock has conflicting resources with AppCompat. - Vladyslav Matviienko
- Does he seem to be in AppCompat android.googlesource.com/platform/frameworks/support/+/… ? Or does it not work on older versions? - Suvitruf ♦
- @Suvitruf, in recent versions it is already gone. There is another - SpinnerCompat. But I cannot use it yet, it seems that he doesn’t have any necessary constructor. - Vladyslav Matviienko
|