Вопрос

I'm developing an app that require the selection of one element (out of three) from the user.

Right now I've tried to developed a Spinner, and then a RadioGroup, they were both working but I find them not really catching. The spinner is too simple, but easy to see. In the other hand the RadioGroup is more fancy (with some background customization), but not yet nice as I would.

I would like to implement something like a ScrollView, but with that nice "bumping" effect, the selection in the middle and the shadow on top and bottom.

A sample image:

enter image description here

The Libra app has this kind View for the adding of your weight:

enter image description here

Is the Scroller what I'm looking for? Any example or tutorial?

Thanks!

Это было полезно?

Решение

I think AndroidWheel is what you are looking for

Другие советы

There is no default View would do what you're asking for. Gallery does something similar but is deprecated.

Scroller isn't a View but a utility class to help View's implement Scrolling.

There are of course, libraries available to help you.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top