A Spinnerextends AdapterView(e.g. ListView), which is supported by the class Adapter.
Just as you can customize each line in ListView, you must do the same for your own Spinnerby overriding the method, for example . Adapter.getView()
Here you can return a simple TextViewproperty ellipsize.
source
share