Android 号码选择器对话框

Android Number Picker Dialog(Android 号码选择器对话框)
本文介绍了Android 号码选择器对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

是否有任何对话框允许用户选择特定范围内的数字?这似乎是一个相当普遍的需求,但我找不到它的通用对话框,我宁愿不必花时间创建自己的.

Does anyone have any dialogs that will allow a user to pick a number within a certain range? It seems like this would be a fairly common need, but I can't find a common dialog for it and I'd rather not have to spend the time creating my own.

有什么帮助吗?

推荐答案

我知道两年多过去了,但答案仍然是真实的,我找到了一些不错的 Number Pickers.这是其中之一https://github.com/SimonVT/android-numberpicker

I know that more than two years passed but answer is still actual and I find some nice Number Pickers. Here is one of them https://github.com/SimonVT/android-numberpicker

这篇关于Android 号码选择器对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

Change the style of AlertDialog(更改 AlertDialog 的样式)
Pop up dialog in Android home screen(在 Android 主屏幕中弹出对话框)
How to display an existing ListFragment in a DialogFragment(如何在 DialogFragment 中显示现有的 ListFragment)
When to use Android PopupWindow vs Dialog(何时使用 Android PopupWindow vs Dialog)
Android: Close dialog window on touch(Android:触摸时关闭对话框窗口)
Android - Executing a custom listview in a custom dialog properly(Android - 在自定义对话框中正确执行自定义列表视图)