Chapter 4

Phones and tablets

On Android phones, tablets and foldables, Statiko gives you the same beam workspace as on the desktop, arranged for small screens and touch. The features, inputs and numbers are the same: every result comes from the same calculation as on the desktop. This chapter shows where things move on a phone, how a touch tablet differs from the desktop, and how Back, the keyboard and rotation behave.

Which layout you get

Statiko picks the layout from the size of the window, not from the kind of device:

WindowLayout
Narrower than 600 dp (phones)The phone layout: one column with Model, Results and Checks tabs.
600 to 839 dp (small tablets, open foldables)The same phone layout, with a wider drawing.
Less than 480 dp tallThe phone layout at any width. Panes scroll, and sheets take at most 85 % of the height.
Touch tablets 840 dp and widerThe desktop regions of Chapter 3 with a touch menu.

On a foldable in book or tabletop posture, the whole workspace sits on one side of the fold, sized to that side. The other side shows Not available yet.

Source: spec/beam/phone-and-tablet.md rules 1 to 4.

The phone workspace

At the top of the phone workspace is the app bar. It holds:

  • a back arrow to the launcher;
  • the analysis title, which you tap to switch analysis;
  • the Settings cog, which opens the settings as a full-screen sheet;
  • More actions, with Save project, Project properties, which opens the project properties as a full-screen sheet, and Close to launcher.

Below the title, a subtitle shows the calculation state, such as Calculating… or Results outdated, in full. Under the app bar are three tabs:

  • Model: the structural system drawing, then the inputs. When no result can be produced, for example for an unstable beam, the notice with the reason heads this tab.
  • Results: the graph toolbar and the result graphs.
  • Checks: the summary, the check cards and Report.

While a calculation runs, the Results and Checks tabs show a small turning indicator, so you can see when they are being refreshed.

Switching analysis

Tap the analysis title to open the analysis switcher, a sheet that slides up from the bottom and lists the analyses in the project. Pick one, or close the sheet with Done.

Source: spec/beam/phone-and-tablet.md rules 6 to 10.

Editing on a phone

When you tap an input on the Model tab, its editor opens as a sheet from the bottom, with a handle, a dimmed background and Done. Done stays above the on-screen keyboard, so you can always close the editor.

Unfinished entries such as - or 1, stay as you typed them and are not treated as a value until they are valid, so you can finish typing. With a hardware keyboard, Tab follows the order on screen, including the unit buttons.

The structural system keeps its full symbol sizes on the phone, in a drawing 247 dp tall. On the Results tab, each graph is 280 dp high. Graph list with tabs is the default, and the toolbar above the graphs keeps the viewing and layout choices, including the dual-axis graph (Chapter 11).

On the Checks tab you see either the list of checks or one opened check, never both. Tap a check card to open it, and use Back to return to the list (Chapter 12).

Source: spec/beam/phone-and-tablet.md rules 11 to 15.

Touch tablets

A touch tablet 840 dp or wider shows the same regions as the desktop: the inspector, the drawing and graphs and, from 1200 dp, the checks column. There are no window controls. The desktop menu bar is replaced by a ☰ button, Main menu, which holds the same five sections: File, Edit, View, Model and Help. At the right are the Settings cog, Undo and Redo.

Every touch target is at least 48 dp. On a tablet, editors open inline under their card instead of as sheets.

Source: spec/beam/phone-and-tablet.md rules 16 and 17.

Android Back, rotation and text size

Back closes the innermost thing first. Each press closes, in this order:

  1. the settings;
  2. the report's Custom page;
  3. the report export view, like Cancel, keeping what you chose;
  4. an opened check;
  5. an open editor sheet;
  6. the analysis switcher;
  7. the workspace itself, back to the launcher. If the project has unsaved changes, Unsaved changes asks first whether to save.

Phones stay in portrait. Tablets and foldables rotate, and when you rotate or fold the device, Statiko keeps the project, the analysis, the selected tab, an open editor with what you are typing, and the selected combination.

With large text (up to 200 %), input values move under their labels, a region may switch to the next smaller layout, and titles wrap rather than being cut off. Units and the status text are never truncated.

Source: spec/beam/phone-and-tablet.md rules 5, 18 and 19.

Reports on phones and tablets

Report on the phone Checks tab, and Export PDF report… in the tablet menu, open the report export view. Below 840 dp it fills the screen, with a Back button, the detail choice, the form sections and the footer. At 840 dp and wider it opens as a centred dialog. As on the desktop, both are disabled with No current result is available for a report. Calculate first. when there is no result to report. Back and Cancel return to the beam and keep your choices.

Below 600 dp, Custom opens as its own page with Back to export options. From 600 to 839 dp it opens in place. On a foldable the export view stays on one side of the fold.

Source: spec/beam/phone-and-tablet.md rules 20 to 22.