Skip to main content

Phone and tablet

An application built with Liberty Next is used as it is on a phone and a tablet: nothing is designed twice. The layout follows the width of the screen; on a desktop nothing changes for a mouse.

The builders — the Studio, the designers — and the authoring of an Explorer analysis remain desktop layouts.


At a glance​

☰CustomersSearch…Filters1001ACME⋮CityLyonStatusOpenSales repM. DupontCredit limit50 000+31002Beta SARL⋮CityNantesStatusOn holdSales repA. MartinCredit limit20 000+3Showing 1–50 of 312‹›The menu is a draweropened by this buttonThe card's headingthe first two columnsFour lineslabel · value, blanks skipped+N opens the restthe other columnsSearch and filtersthe filter panel, full widthRow actionsthe same menu as on a desktopThe pagercounts the whole result

On a phone​

Below 768 px:

ElementBecomes
MenuA drawer, opened by the Menu button at the top left.
HeaderIts buttons sit in a row of their own above the tabs, which scroll sideways.
DialogsFull screen.
GridA list: each row a card.
Record formIts fields in one column; its tabs scroll.
Filters, periodEach filter takes the whole width; the period picker shows its presets as a row above one month.

A row as a card​

A card has a heading — the first two columns, side by side and larger — then four lines label · value; +N opens the rest. A blank value gives no line, and a field shown as a code and its label is one line.

The search, the pager, the row menu (Row actions) and Bulk edit are there. Sorting and the header filters are wide-screen gestures: use the filter panel.

Choosing what a card shows​

A column decides for itself with its Card setting, in the column settings:

ValueEffect
titleThe column is in the card's heading.
showThe column always has a line.
hideThe column is never shown on a card.
blankThe grid decides: the first two columns are the heading, the next four are lines, the others open with +N.

On a tablet​

From 768 to 1100 px — a tablet in portrait — the menu is the icon rail, whatever the mode saved on a desktop: its button opens it over the page, a tap elsewhere folds it back. The header's buttons take their short form so that the tabs keep their room. Grids and forms keep their desktop layout.


The menu's right edge is dragged to resize it, from 180 to 460 px; the width is remembered on the browser, and a double click gives the default back. A menu entry's label takes two lines instead of being cut; its full text stays in the tooltip.


Tips & best practices​

  • Put the two columns that identify a row first — a number and a name — or set them to title: they are the heading of every card.
  • Set to hide the technical columns a phone user never reads.
  • Give long labels a short form in the dictionary: a card line is label · value.
  • Check the screens meant for the field on a real phone before delivering.