Skip to content

Advanced Mode: brand the Android full-screen loading view #97

Description

@joemasilotti

Advanced Mode on Android shows Hotwire's stock full-screen loading view, a centered gray ProgressBar from hotwire_progress.xml, while a screen loads. There is no way for an app to brand it, so it is the one surface in an otherwise themed app that looks like someone else's default.

Overriding createProgressView is the hook. At minimum it should pick up the app's configured background and accent colors instead of the platform defaults.

Cosmetic, so it was deliberately left out of 0.12.0.

Note for whoever picks this up

A frozen-looking spinner here is usually not a bug in the view. Android's animations honor animator_duration_scale, and CI sets it to zero to stabilize instrumented tests, which leaves it set on that device afterward. adb shell settings put global animator_duration_scale 1 restores it. This cost real debugging time once already.

Metadata

Metadata

Assignees

No one assigned

    Labels

    androidiOS implements this but Android does not.enhancementNew feature or request

    Type

    No type

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions