如何在Android的同时打开两个微调? [英] How to open two spinners at a time in android?

查看:165
本文介绍了如何在Android的同时打开两个微调?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道如何单微调工作。我'填充1微调与千克和其他相克。我有一个按钮/视图点击时间(另一个旁边),打开两个微调。用户应该能够通过纺纱项目逐个进行滚动和选择公斤和放大器;克的一杆。我该怎么办呢?请帮帮我。

I know how to work with single spinner. I'am populating one spinner with kilograms and other with grams. I have to open two spinners at a time (one beside other) on click of a button/view. User should be able to scroll through items of spinners individually and select kilograms & grams at one shot. How can i do it? Please help me.

推荐答案

您可能需要使用自定义的查看为。看看这个项目。我用它在我目前的项目,这是非常好的。

You probably want to use a custom View for that. Have a look at this project. I use it in my current project, and it's excellent.

这篇关于如何在Android的同时打开两个微调?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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