是否可以制作水平 NumberPicker? [英] Is it possible to make a horizontal NumberPicker?

查看:27
本文介绍了是否可以制作水平 NumberPicker?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Android 的小部件 NumberPicker 是垂直的,数字显示上方和下方的增加和减少按钮.

The widget NumberPicker from Android is vertical, with the increase and decrease buttons above and below the number display.

是否可以使其水平?用数字左边和右边的按钮?

Is it possible to make it horizontal? With the buttons on the left and the right of the number?

推荐答案

您不能更改 NumberPicker AFAIK,但编写自己的应该相当简单.

You cannot change NumberPicker AFAIK, but writing your own should be fairly straightforward.

这篇关于是否可以制作水平 NumberPicker?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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