mobile-ui

command
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2026 License: MIT Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

mobile-ui shows Tango's self-drawn UI (packages ui and ui/mobile) as a full-screen page through uihost.Open: no WebView. It runs unchanged on desktop (go run ./examples/mobile-ui, a phone-sized window) and on iOS (tan build -platform ios-simulator in this directory, or bash mobile/ios/build.sh examples/mobile-ui). See docs/specs/mobile-canvas.md §6.3.

Three tabs: a list page (rows, switches, a tap counter, and overlays that the system Back action closes plus a WebView page with an attached self-drawn overlay: overlays.go, web.go), a form page (text fields of every keyboard kind stacked down to the bottom of the screen, to exercise the soft keyboard, input methods and keyboard avoidance) and a settings page that shows how the window is drawn: the text engine (text.Engine()), the renderer (uihost.Renderer), the window size, scale, safe area and keyboard inset, and the followed system settings, plus a stepper and a slider for a screen reader's adjust gestures. The app logs the same facts at start, every tap it sees and every value committed in the form, so a device run can be checked from the console.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL