推荐的横向材料设计工具栏高度是多少 [英] What is the recommended material design toolbar height in landscape
问题描述
对于全息设计,根据Jake Wharton的建议,横向操作杆的建议高度为40dp: https://stackoverflow.com/a /7181591/72437
For holo design, the recommended action bar height is 40dp during landscape according to Jake Wharton : https://stackoverflow.com/a/7181591/72437
我想知道,对于材料设计,建议的工具栏高度是多少?
I was wondering, for material design, what is the recommended toolbar height?
我在Google设计指南中找不到任何信息: http://www.google.com/design/spec/components/toolbars.html
I can't find any info in Google design guideline : http://www.google.com/design/spec/components/toolbars.html
之所以这么问,是因为在横向模式下我的外观令人不快.推荐的解决方案是扩大文本大小: Android工具栏:横向模式
The reason I'm asking so, as I'm getting an unpleasant look during landscape mode. The recommended solution is to enlarge text size : Android Toolbar: small title text in landscape mode
我只是想知道,在横向模式下,我是否应该缩小工具栏的高度,而不是增大文本的大小?我倾向于看GMail应用.
I just wondering, instead of enlarging text size, should I just make toolbar height smaller, in landscape mode? I tend to look at GMail app.
似乎Google希望在横向显示时具有较小的文本大小和较小的工具栏高度.那么,横向显示的工具栏的确切高度是多少?
It seems that Google expect to have smaller text size, and smaller toolbar height during landscape. So, what is the exact height for landscaped toolbar?
推荐答案
Toolbar
是通用组件,可以用作品牌,导航和操作的主要操作栏,可以添加到UI的任何部分. ,它称为应用程序栏.
The Toolbar
is a generic component that can be added to any part of your UI - when used as the primary action bar for branding, navigation, and actions, it is called an App Bar.
根据应用栏上的指标,正确的高度为:
From the metrics on the App Bar, the correct heights are:
- 移动景观:48dp
- 移动人像:56dp
- 平板电脑/台式机:64dp
这篇关于推荐的横向材料设计工具栏高度是多少的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!