寻找Android的数字选择器(10键样式) [英] Looking for Android number picker (10-key style)

查看:99
本文介绍了寻找Android的数字选择器(10键样式)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我四处找了一些选择器采用10键式的,最好是作为一个对话......但要求其作为活动也没关系。我想为用户提供一个接口,对进入$发票金额场多一点指导。我看到调整的日期和时间选择器,但他们看着别扭这种应用。我也似乎有人在叫内置计算器,这将是很好,但我不知道他们是如何捕捉返回的值(如果他们)。有任何想法吗?是的,我可以回落到一个普通的编辑字段和标准Android键盘......我只是希望一些更光滑。谢谢!

I am looking around for a number picker in a 10-key style, ideally as a dialog... but called as an activity is fine too. I want to offer the user an interface that is a little more directed toward entering $ for an invoice amount field. I have seen adjustments to the date and time pickers but they looked awkward for this application. I have also seem someone call the built-in calculator, which would be fine, but I don't know how they were capturing a returned value (if they were). Any ideas? Yes, I can fall back to a regular edit field and the standard android keyboard... I was just hoping for something a little more slick. Thanks!

推荐答案

你有没有尝试设置属性的android:数字的TextView

Have you tried setting the attribute android:numeric on the TextView?

这篇关于寻找Android的数字选择器(10键样式)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆