1

In my app I'm using a spinners to let the user select an item from a list. Everything works fine but I'm not really happy with the look of the spinner. As you can see in the image below it has the same design as a normal button.

alt text

What I want is a spinner which looks more like a normal text field. So I browsed a little bit through the drawable folder of the Android sources and found out that the spinner background should normally look quite different. I append an image of a spinner with the background image as I found it in the drawable folder. Although the spinner in the image is focused, I think you can see the difference between both spinners.

alt text

Now I'm wondering why the my spinner (first one) doesn't have the same design as the second one as II didn't changed any attributes which are related to the design of it. Where does this button like design come from?

Flo
  • 27,355
  • 15
  • 87
  • 125

2 Answers2

1

The first spinner screen depicts the default spinner.

So the answer is that you've expected the wrong behavior. You can however create your own spinner look.

Octavian Helm
  • 39,405
  • 19
  • 98
  • 102
0

Looks to me that the second spinner was there in the earliest versions of the android sdk and just remains there as is.

Kemoda
  • 284
  • 1
  • 9