質問

I am trying to put some number pickers into my application, yet their look is much different on the emulator and on the graphical layout. Here are screenshots:

This is how it looks like on emulator: http://i40.tinypic.com/4sz9f4.png

And here is a screenshot from the Eclipse graphical layout: http://i44.tinypic.com/2rzsw2a.png

I have read that you have to use either theme or theme.Holo but neither fix this. I would really like to know the way to fix it.

BTW. My emulator uses same API version as graphical layout.

Well I do not really need the look from the graphical layout, it would be enough if anyone could tell me how to change the color of the labels on the number picker, which appears in the emulator or a number picker which looks like the one from graphical layout.

役に立ちましたか?

解決

Well I have found this site, it contains instructions how to create a number picker which looks like the one I had in the graphical layout and wanted to have on my emulator.

Here is the link:

http://www.quietlycoding.com/?p=5

Cheers

But still I do not really know why the build-in number picker looks different on emulator and graphical layout.

You could also see this: http://stackoverflow.com

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top