OpenCode AI e9899d2e6d
Some checks failed
Android CI Build / check (push) Has been cancelled
Android CI Build / package-apks (push) Has been cancelled
Docs Deploy / build (push) Has been cancelled
Module Market Check / Validate modules/ (push) Has been cancelled
Module Market Publish / Generate submissions.json (push) Has been cancelled
Docs Deploy / deploy (push) Has been cancelled
Initial DruksCode V2: fresh fork of web-to-app (f3b488e) with DruksCode identity
- Package rename com.webtoapp -> br.com.drukstech.codeapp
- Product rename WebToApp/web-to-app -> DruksCode/drukscode
- Design system Wta* -> Dkc*
- applicationId br.com.drukstech.codeapp (.play for gplay flavor)
- rootProject.name DruksCode
- Fresh git history (upstream kept as remote for sync)
2026-09-12 02:42:02 +02:00

34 lines
2.1 KiB
Markdown

# Browser Toolbar
Controls the in-app browser toolbar (the bar with back/forward/refresh/title/URL).
**Where:** the **Browser toolbar** card in the [Edit Common Config](/guide/app-actions/edit-common-config/) editor.
## Options
- **Browser toolbar** — the master switch (`browserToolbarEnabled`). **Off by default**: the page renders with no toolbar at all, fullscreen-like. Turning it on shows the toolbar with **every item on**; trim individual buttons from there. Turning it off again flips every item off — a re-enable always starts from the all-on slate.
- **Toolbar items** — while the toolbar is enabled, each button has its own switch:
- show title (`toolbarShowTitle`)
- show URL (`toolbarShowUrl`)
- show back (`toolbarShowBack`)
- show forward (`toolbarShowForward`)
- show refresh (`toolbarShowRefresh`)
- show console button (`toolbarShowConsole`)
- show find-in-page button (`toolbarShowFind`)
A toolbar with only some items still renders (e.g. console alone); the preview and the exported APK share the same visibility rule, so what you trim is what ships.
## Runtime toolbar panels
These panels open **from the toolbar at runtime** (inside the generated APK or the host preview). Their toolbar buttons are gated by the build-time items above — hide the item and the button disappears:
- **Console** — a toolbar button opens a console panel showing `console.log` / error output. Useful for debugging the loaded page at runtime.
- **Find in page** — a toolbar button opens a native bottom search bar with live match counting and previous/next navigation, powered by the WebView engine (`findAllAsync`). The keyboard is raised automatically when the bar opens.
Page zoom is no longer a toolbar action — it is a build-time setting under [Advanced Settings](/guide/app-actions/edit-common-config/advanced-settings).
## Notes
- For hiding the system status/navigation bars, see [Fullscreen Mode](/guide/app-actions/edit-common-config/fullscreen).
- A floating back button can be enabled under [Special Settings](/guide/app-actions/edit-common-config/special-settings) — handy when the toolbar (and its back button) is hidden.