android-system

command
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: BSD-3-Clause Imports: 9 Imported by: 0 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

Command android-system is a development example (step 25.7): a Material page that logs what the framework knows of the system on every build (the insets, the brightness, the text scale, the clock, the animations, the accessibility settings), and does what the variable GLUTTER_DEMO asks of the system's interface once it has started, so that the device tests can see the effect. It uses the public API only and runs on every platform.

GLUTTER_DEMO is a list of words separated by commas:

landscape, portrait    SystemChrome.setPreferredOrientations
immersive, leanback    SystemChrome.setEnabledSystemUIMode, the bars hidden
edge                   the mode edgeToEdge, edge-late the same three seconds later
style-dark             an overlay style with dark icons on a light bar, style-light the other
haptic, sound          HapticFeedback and SystemSound, one of each
keepon                 the screen stays on (the window's KeepScreenOn)

Run it on a device or the emulator with:

go run ./cmd/glutter-android run ./examples/dev/android-system

Jump to

Keyboard shortcuts

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