指标和网格"匹配&QUOT是Android的布局的例子;建议 [英] Android layout examples that match "Metrics and Grids" recommendations

查看:185
本文介绍了指标和网格"匹配&QUOT是Android的布局的例子;建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在试图使度量和网格页面感的(相当新)的Andr​​oid Design网站,我放弃了很多东西。所以,基本上,我试图发现,在安卓4.0中使用的原始布局,这样我就可以应用相同的概念。

After trying to make sense of the Metrics and Grids page of the (fairly new) Android Design website, I gave up on a lot of things. So, basically, I'm trying to find the original layouts that are used in Android 4, so that I can apply the same concepts.

为使这个问题更加客观,在计算器的过于宽泛斧头不会失败,我问你用来重新布局, 准确,全面的,该网页上的例子。难道谷歌为他们提供的样品?也许,致力一个众所周知的教学资源库与标准相符?

To make this question more objective and not fail under the "too broad" axe of stackoverflow, I ask you for the layout that is used to recreate, exactly and fully, the examples on that page. Did Google provide them in the samples? Maybe a well known didactic repository that strives to conform with standards?

只是作为一个例子,目前还不清楚怎样做才能重建48/3指标(16/16/16),以使文本适应它。如果我想使用1线的小文?难道是16 / WRAP_CONTENT / 16或16/16/16,使其与周围的其他组的布局是否一致?如果......

Just as an example, it's not clear what to do to recreate the "48/3 metrics" (16/16/16) in order to make the text fit in it. What if I want to use 1-line of small text? Would it be 16/wrap_content/16, or 16/16/16 to make it consistent with other layouts around the set? What if...

我相信这将不仅有助于小的开发者,也是最重要的,有利于规范外观和感觉的Andr​​oid游戏应用程序。该网站是一个良好的开端,但很不理想。

I believe this would not only help the small devs, but also and most importantly, help standardize the look and feel of apps in Android Play. The site is a good start, but far from ideal.

补充细节

我从来没有问过一个问题,有这么多的upvotes,我甚至没有想到的是(我有,我认为是更好等问题,但目前为止没有那么多票和的收藏)。这并不是说我关心的选票,当然,但是这是要表明,有什么我问(有点的一个需求量很大的诉诸公众的这里,但仍...)。

I never asked a question with this much upvotes, and I didn't even expect that (I have other questions that I regard as "better", but by far not as many votes and favs). Not that I care about votes, of course, but that is to show that there is a great demand for what I'm asking (a bit of an ad populum here, but still...).

答复意见

@ 里卡多·阿马拉尔的:

我真的对不起,如果我不太清楚:

I'm indeed sorry if I wasn't clear enough:

  • 任务的制定标准,并从它要求明确性是不同的问题。其中一个我很喜欢的Andr​​oid的原因之一是我们的自由有度,所以我非常清楚,规定最常见的做法是不可能的。
  • 我相信自由的概念中涉及到的概念,推倒重来
  • 此外,这些只是例子。有些事情并不清楚 ...这是外容器垫的内部意见,和利润?很多时候,这使得在选择的差异,拖等等,等等,这又转化为熟悉的外观和感觉的用户。有一件事感觉就像鸡蛋里挑骨头,但很快加起来有很多小的差异。并且用户会注意到它......它看起来像它缺乏最后的点睛之笔。
  • Mandating a standard and requesting unambiguity from it are different issues. One of the reasons I like Android is the degree of freedom we have, so I'm very much aware of the impossibility of mandating most of the common practices.
  • I believe it relates to the concept of "reinvent the wheel" within the concept of freedom.
  • Again, those were just examples. Some things are not clear... which are paddings of the outer container, and margins of the inner views? Many times that makes a difference in selectors, dragging etc. etc. etc., and that again translates into a familiar look and feel for the user. One thing feels like splitting hairs, but it quickly adds up to a lot of small differences. And the user notices it... it looks like it lacks that last "finishing touch".

@ 迈克尔·斯莱德的:

我知道他们的例子,他们可能已经wireframed的模板。至于说,我已经重复使用code从SDK,我知道他们只是例子,我们可以从他们的偏离。再次,毕竟这个时候,没有人接。

I know they're examples, that they may have been wireframed from templates. As said, I'm already reusing code from the SDK, and I know they're just examples and that we can deviate from them. Again, after all this time, nobody answered.

这是precision 可选性收益。这就是我想说的,并要求。因为它是一个推荐意见也并不意味着其准则可以是任何你想的那样。如果你这样做,这不是建议了。这是建议的整点,顺便说一句:提供implementarion理论不强迫任何人

Optionality benefits from precision. That's what I'm trying to say and ask. Because it's a recommendation doesn't mean its guidelines can be whatever you want them to be. If you do that, it's not the recommendation anymore. That's the whole point of recommendations, by the way: provide an implementarion theory without forcing anyone.

谢谢大家!

推荐答案

恨打破它给你,但它很可能是你想用绘图程序中创建的,并且没有例如去与他们的页面上的图像

Hate to break it to you but it's likely that the images on the page you like were created with a drawing program, and there are no example to go with them.

没有一个人究竟要着力打造的样品给你,你最好的办法是通过附带的Andr​​oid SDK的样本 - 他们将遵循的指导方针,在大多数情况下,

Without someone actually going to the effort to create samples for you, your best bet is to go through the samples that come with the android SDK - they will follow the guidelines in most cases.

请记住,他们只是指导方针。在一天它是由你来创造优美流畅的用户体验的结束,但您认为合适的。

And remember, they are just guidelines. At the end of the day it's up to you to create a pleasant and smooth user experience, however you see fit.

这篇关于指标和网格"匹配&QUOT是Android的布局的例子;建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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