我有一个人员列表,当用户点击一个项目时,应用程序会显示其详细信息!我为平板电脑尺寸使用了双 Pane 主/细节设计模式,对于小尺寸它只是用细节 fragment 替换列表。
问题是我的经理认为最好用 navigation drawer 改变这个设计!这种情况的最佳选择是什么? 抽屉导航还是主/细节设计?
哪个对用户体验更好?
最佳答案
a panel that transitions in from the left edge of the screen and displays the app’s main navigation options.
根据 App Structure guide :
A navigation drawer is a slide-out menu that allows users to switch between views of your app. It can hold a large number of items and is accessible from anywhere in your app. Navigation drawers show your app's top-level views, but can also provide navigation to lower-level screens. This makes them particularly suitable for complex apps.
还有 Material Design structure guidelines状态:
The content in the left nav is ideally navigation- or identity-based.
抽屉导航未列为 multi-pane layouts 的机制,同时特别提到了主/详细信息多 Pane 布局。
简而言之:Navigation Drawer 仅用于导航,不用于显示包含相应详细信息的主列表。
事实上,其中一位框架工程师写道a Google+ post回到 2013 年,特别是关于他们如何尝试使用 DrawerLayout
(抽屉导航的类名)来显示主/细节样式内容,而不是构建一个单独的组件,SlidingPaneLayout专门解决在较小屏幕上显示主/详细信息而不使用抽屉导航功能或模式的问题,因为它们不适合。请注意,这在 Material 设计中略有失宠,重新强调传统的主/细节模式 meaningful transition animations .
关于android - 主/细节流或抽屉导航?哪个更适合显示有关列表项的详细数据?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28379052/