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.
Advanced Mode on Android shows Hotwire's stock full-screen loading view, a centered gray
ProgressBarfromhotwire_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
createProgressViewis 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 1restores it. This cost real debugging time once already.