Material Design 学习笔记 -- Layout --> Responsive UI

本文介绍了Material Design响应式用户界面的设计原则,包括断点宽度、网格布局、边距与间隔等关键元素,并详细阐述了不同屏幕尺寸下界面的可见性和行为变化,以及随着屏幕空间增加而采用的响应式模式。

Responsive UI

原贴地址

Breakpoints

For optimal user experience, material design user interfaces should adapt layouts for the following breakpoint widths: 480, 600, 840, 960, 1280, 1440, and 1600dp.



Grid

Material design’s responsive UI is based on a 12-column grid layout. This grid creates visual consistency between layouts, while allowing flexibility across a wide variety of designs. The number of grid columns varies based on the breakpoint system.

Margins and Gutters

The responsive grid focuses on consistent margin and gutter widths, rather than column width. Material design margins and columns follow an 8dp square baseline grid. Margins and gutters can be 8, 16, 24, or 40dp wide.

Surface behaviors

When a screen size changes, the UI adapts using the following surface-specific behaviors.

Visibility

Behavior

Definition

Permanent

When screen space is available, a surface is always visible.

Persistent

Surface visibility can be toggled between visible and hidden. When visible, interacting with other elements on the screen does not change visibility.

Temporary

Surface visibility can be toggled between visible and hidden. When visible, interacting with other elements on the screen toggles the surface to become hidden or minimized.

Patterns

As screen space increases, the following responsive patterns may be applied:

  • Reveal
  • Transform
  • Divide
  • Reflow
  • Expand
  • Position
Resizer (可查看Google的Material Design界面示例)
http://material.io/resizer/


评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值