(Android版)导航抽屉多窗格布局 [英] (Android) Navigation drawer with Multi-pane layouts

查看:227
本文介绍了(Android版)导航抽屉多窗格布局的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个很难试图想出一个良好的和可接受的布局一个活动的平板电脑,但我不知道,如果我的设计是与谷歌的设计指导方针。

I have a hard time trying to come with a good and acceptable layout for an activity for a tablet, but I'm not sure that if my design is compatible with Google's design guidelines.

在短期:我的应用程序接收上的数据不同功能的网络嗅探器的日志文件,并显示统计数据。例如,随着时间的推移流量,下午随着时间的推移,显示流量为时间线,不同的图,饼图等。

In short: my application receives a network sniffer log file and shows statistics on different features on the data. For example, traffic over time, PM over time, show the traffic as a time line, different graphs, pie charts etc.

首先想到为这个活动设计是一个多窗格布局(如Gmail的平板电脑)。第一个窗格将在上述规定的不同的特征,所述第二会对第三个控制(这将显示一个图形)来筛选不同的数据,上色等东西和设置。

The first thing comes to mind for a design for this activity is a multi-pane layout (like Gmail's for tablets). The first pane would be the different features specified above, the second would have controls on the third one (which would display a graph) to filter different data, colorize and other things and settings.

现在的问题是,第二个窗格不打开一个内容(如在Gmail)列表,但控制第三个。窗格

The problem is, the second pane is not a list that opens a content (like in Gmail), but a pane that controls the third one.

我给这家解决方案是创建只是一个两窗格布局:只有第二个(与控制),当然还有第三个与图表。的功能列表将是对导航的抽屉,用户将不得不以切换到另一个功能滑动。

My solution for this is to create just a two-pane layout: Only the second one (with the controls) and of course the third one with the graphs. The list of the features would be on a navigation drawer that the user would have to slide in order to switch to another feature.

这是设计与谷歌的设计指南兼容?它是合乎逻辑的用户?

Is this design compatible with Google's design guidelines? Is it logical for the user?

推荐答案

我不建议使用平板电脑导航抽屉,至少在景观模式。三板应该能正常运行,你可以使用导航抽屉的纵向的唯一模式。

I don't recommend using the navigation drawer for tablets, at least not in landscape mode. Three panels should work fine and you can use the navigation drawer for portrait mode only.

Android的设计方法非常灵活,而不是试图用最新的设计模式,尝试找出什么最适合你的数据。

Android design methodology is flexible so instead of trying to use the latest design patterns try figuring out what best suits your data.

不管怎样,显示在3个不同的面板内容的应用程序一个很好的例子是Android字preSS应用程序。看看这里: https://开头的发挥。 google.com/store/apps/details?id=org.word$p$pss.android

Anyway, a good example for an app displaying content in 3 different panels is the Android Wordpress app. Check it out here: https://play.google.com/store/apps/details?id=org.wordpress.android

这篇关于(Android版)导航抽屉多窗格布局的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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