布局设计的Andr​​oid帮助 [英] Layout design help Android

查看:98
本文介绍了布局设计的Andr​​oid帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用一个Web服务,让我按字母顺序排列所有的人的名单。我显示这个名单在微调

I am using a web service which gives me a list of all the people in alphabetical order. I am showing this list in a Spinner.

我想第一个字母到列表分成部分。则用户将选择的人该列表将在离心器被加载的部分(例如,A,B等)。

I would like to separate the list into sections by the first letter. The user would then select the section (e.g. A, B, etc.) of that list of people that will be loaded in spinner.

什么是为用户设计的字母视图一个良好的和直观的方式?

What is a good and intuitive way to design that alphabet view for the user?

我想大约两个下拉菜单:一个是字母,和一个人名单,但似乎并没有改善它

I thought about two drop downs: one for letters, and one for the list of people but that doesn't seem to improve it.

任何帮助吗?

感谢

推荐答案

我所做的就是:创建者侧的两个列表视图侧字母以及人们

What I did was: Created two listviews side by side with alphabets as well as people

这样的

like this

与您可以滚动字母一边和相应的人会在另一边加载。

with which you can scroll alphabets one side and corresponding people will load on other side.

感谢

这篇关于布局设计的Andr​​oid帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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