# 如何禁用Spinner的“禁用”狀態？

Romain said it was to be fixed in Froyo onwards but I'm using Honeycomb and as you can see from the screenshots, it doesn't appear to work. Any advice would be appreciated.

## 最佳答案

((Spinner) spinner).getSelectedView().setEnabled(false);
spinner.setEnabled(false);