Skip to content

PaintOutStatusBarOptions

Options for paintOutStatusBar.

Import:

import type { PaintOutStatusBarOptions } from 'obsidian-integration-testing';

Signature:

export interface PaintOutStatusBarOptions

Properties

PropertyTypeDescription
edgeMarginInPixels?numberHow far in from each edge the clear-of-chrome check reads.
heightInPixelsnumberHow tall the device's status bar is, in framebuffer pixels.

**Measured, never assumed, and deliberately without a default.** 24dp at a density of 320 is 48px, and that is one AVD's number rather than a constant of Android. Measure it on a frame: the bar's own content occupies the top rows, a few empty rows follow, and the app's top chrome starts at exactly this offset.
sampleInsetInPixels?numberHow far above the band's bottom edge the fill color is sampled, in pixels.

Links to this page: