显示多个目的地的导航详细信息的最佳方式
我正在为Android开发一个导航程序,其中一个功能是允许您输入多个目的地,并且它将显示如何从A点到B点再到C点的路线。
我的困难在于显示细节,如我不确定使用的最佳选择。
基本上我想要做的是显示顶级详细信息,这样您就可以看到前往 B 点以及估计的英里/分钟数,但如果列出其中几个,作为 TextView
组件,是否可以简单地向右移动以显示该旅行部分的所有详细信息,并向左移动以显示每个目的地的俯视图?
我希望这是有道理的,基本上,我只想显示到每个航路点的地址/旅行时间/距离,然后为用户提供一种直观的方式来查看该旅行部分的详细信息。
顺便说一句,我正在为 Android 2.3 开发这个。
I am working on a navigation program for the Android, and one feature is to allow you to enter several destinations, and it will show directions on how to get from point A to point B to point C.
My difficulty is showing the details, as I am not certain the best choices to use.
Basically what I want to do is to show the top level detail, so you can see going to Point B and how many miles/minutes is estimated, but if there are several of these listed, as TextView
components, would it be a simple move to the right to show all the details of that part of the trip, and move the left to show the top view of each destination?
I hope this makes sense, basically, I want to just show the address/travel time/distance to each waypoint, but then give the user an intuitive way to see the details of that part of the trip.
I am developing this for Android 2.3, btw.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我个人更喜欢使用谷歌地图树视图列出旅程详细信息以及作为树视图标题列出的估计时间。
但我确实了解您希望更改目的地视图详细信息,以便每个旅程详细信息都列在右侧。
喜欢
从 A 点到 B 点 哈哈哈哈哈哈
巴拉,巴拉,巴拉
Point B to C blah,blah,blah
为此,我建议您制作一个自定义视图,以便您可以根据需要更灵活地设计布局
我希望这能回答你的问题,顺便说一句,我只是一名初级 Android 开发人员..
I personally prefer using the google maps treeview listing on the journey details and the estimated time listed as the heading of the treeview.
But i do understand that you would like to change the destination view details such that each journey details are listed on the right.
like
Point A to B blah,blah,blah
blah,blah,blah
Point B to C blah,blah,blah
For this i suggest you make a custom view so that you will have more flexibility in designing the layout according to your needs
I hope this answers your question, btw i am only a junior android developer..