Responsive layout application that is classified papers

How to create a refined UI interface (V): responsive layout papers

原标题:如何创建精致的UI界面(五):响应式布局篇

Five series to the last one it now! Today we look with a responsive UI, relative to the previous four parts, this last part will be a little harder, but after reading reading this article today, should not think so difficult. This article previously had almost written today, this version has been optimized I add.

  Today screen complex, multi-vendor equipment size is not uniform, since the advent of Phone X, the domestic mobile phone manufacturers a variety of Andrews X came out.

Various size flat-panel design difficulty adapting to rise, corporate-level, multi-terminal product side requires a consistent experience, as more designers we have a responsibility to learn how to do multi-terminal unified experience, improve design efficiency

Why learn a responsive layout

  First, it enables flexible interface elements can fit any size screen size, to ensure consistency and functional layout experience .

  There is no doubt, responsive layout designed for today's Android and IOS end fragmentation screen is very important, it will enable us to complete the design fit with minimal resources, it works by reading to determine the breakpoint system layout.

  In fact, the value of the breakpoint media queries, such as we usually do and Pad Phone adapter, or other terminal adapter, is by setting breakpoints to make the program reads the corresponding layout (set breakpoints to tell if the screen rate or screen size)

In response to the operating range of the layout

  Responsive layout is not only used more than at the end of the Web, of course, he is also the other terminals also use more, such as computer, pad, phone, and car systems (some need to be considered globally consistent project);

为什么响应式布局在今天运用依然是很重要的,因为目前使用的系统被2大厂商分离割据,微软移动领域的占比很少,暂不提,苹果一家自成一派,安卓系统占比市场很大,包括国内外很多厂商的定制化系统+自己出硬件设备,尺寸不一,这就导致如今碎片化屏幕

  我们作为软件服务提供商,当然希望一套设计能在多端使用,节省成本,同时保持一致的体验。因此响应式布局就这样一直很重要。

常用的布局模式

1. 流线布局

  流线布局:指在界面中的内容元素控件在屏幕显示区域内进行相对拉伸,以达到布局完整的目的,比如上面Pad应用横竖屏切换

2. 等比缩放

  等比缩放:定义是指在界面中元素在相对位置进行等比缩放,从而达到解决横竖屏显示相对较好的UI界面,这种布局不会对界面造成布局重构影响,开发成本低,适配简单,一般使用于音乐、视频、电商、杂志期刊App等领域带有图片宫格布局,界面等比放大后这种大图显示效果比较有视觉冲击力前提是需要足够高清的资源支撑

youtube的截图

3. 拓展布局

  拓展布局定义在屏幕可显示区域类元素增加或者减少,常用于应用商店、音乐、视频、电商等带有宫格布局等场景。

如上面youtube的截图就是布局最好示例。

4. 分栏布局

  分栏布局定义:界面布局结构发生改变,当然这种布局一般比较复杂,开发需要重构 UI 框架,一般在横屏及超大屏幕上面会使用这样的布局,比如超大寸PAD,智能电视,车机系统。

5. 流动布局

  流动布局定义界面元素可以根据新的屏幕比例或设备方向在组件内进行流动型布局,界面元素是可以位置发生改变的,这种布局开发成本高,适配有一定难度,但是效果还是不错的。

6. 重复布局

  重复布局定义:界面元素在横屏下有限空间内进行多列重复布局,一般最多3列,这种布局可以展示更多的资源,开发成本也有点高,因为布局发生变化。

苹果商店布局思路也是如此。

7. 固定布局

  固定布局定义:界面元素在横竖屏下面,固定使用同一种布局,做法是直接通过竖屏定义规则来适配横屏,开发成本低,效率高

  注意观察上图的播放器界面的元素图标位置的布局是否发生变化。

8. 大屏露出布局

  大屏露出布局:左侧由于屏幕小,所以通过汉堡菜单把导航内容隐藏起来,右侧在横屏上面,显示内容多,可以利用屏幕空间,把导航内容展开显示。

总结

  如果想要适配成本低,那么布局最好不要发生结构上大改变,比如相对布局,流线布局等等这种布局一般适配成本低,但是效果其实在某些UI布局不适用。

  那么上面8大布局大家看完后应该有所了解,如果要完全掌握理解透彻还需要跟着项目走上几遍。

  一般在一个终端软件设计时候,并不是只使用单一的一种布局,而是多种布局混合起来使用,比如流线布局、分屏、等比缩放混合使用,这样能达到布局灵活适配各种设备,当然需要前期定义一套适配方案。

Guess you like

Origin www.cnblogs.com/AbnerLc/p/11933064.html