新的 Android Material design 中的 Action Bar(Toolbar) 图标应该有多大?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/25235896/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 09:15:55  来源:igfitidea点击:

How big should Action Bar(Toolbar) icons be in the new Android Material design?

androidandroid-5.0-lollipopmaterial-design

提问by user3928288

I tried searching the design guidelines, but I couldn't find anything related to this. I am trying to figure out the optimal size for Action bar icons in the new L release. Here is an example of what I am trying to achieve:

我尝试搜索设计指南,但找不到与此相关的任何内容。我正在尝试找出新 L 版本中操作栏图标的最佳大小。这是我试图实现的一个例子:

screenshot

截屏

I tried the previous 48dp size, but it looks a lot bigger than the ones in that picture.

我尝试了之前的 48dp 尺寸,但它看起来比那张图片中的要大很多。

回答by ianhanniballake

From Material Design Keylines Touch Target Size, size for icons is 24dp

Material Design Keylines Touch Target Size,图标的大小是24dp

回答by Marius

Full icon size should be 24dpwith a "live" area of 20dp. See this answer: https://stackoverflow.com/a/14908467/3979479

完整的图标大小应该24dp有一个“活动”区域20dp。看到这个答案:https: //stackoverflow.com/a/14908467/3979479