feat: Add loading progress indicator
CI / build (push) Has been cancelled
CI / lint (push) Has been cancelled

- ProgressBar in activity_main.xml (top of screen)
- LoadingProgress.kt utility with WebChromeClient
- Shows during page load, hides on complete
- Smooth UX with slight hide delay

Integration: webView.setupProgressBar(binding.progressBar)
This commit is contained in:
2026-02-03 15:17:27 +00:00
parent 3c0c31fe67
commit 95036915f6
3 changed files with 60 additions and 0 deletions
+13
View File
@@ -8,6 +8,19 @@
android:layout_width="match_parent"
android:layout_height="match_parent" />
<!-- Loading progress bar (top of screen) -->
<ProgressBar
android:id="@+id/progressBar"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:layout_width="match_parent"
android:layout_height="4dp"
android:layout_gravity="top"
android:indeterminate="false"
android:max="100"
android:progress="0"
android:progressTint="@color/progress_color"
android:visibility="gone" />
<!-- Invisible admin tap area (top-left corner) -->
<View
android:id="@+id/adminTapArea"