Selection dialog

I am new to Android. I have a built-in default tool in my application. I want to change the design of the counter. When a click is clicked, a selection dialog appears on the screen, displaying a scrollable list. I do not know how to implement the code to meet my requirements.

enter image description here

I read the following articles: (1) (2)

+7
source share
1 answer

You should take a look at the official guide on using Dialogs on Android: http://developer.android.com/guide/topics/ui/dialogs.html

And more specifically for collectors: http://developer.android.com/guide/topics/ui/controls/pickers.html

To select a number if your goal is → API 11: you can use the existing NumberPicker Android widget → http://developer.android.com/reference/android/widget/NumberPicker.html Use this widget in a special dialog box and do it.

+4
source

All Articles