<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright 2019-2020,2022-2023 Soren Stoutner <soren@stoutner.com>.
+ Copyright 2019-2020, 2022-2024 Soren Stoutner <soren@stoutner.com>.
- This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android>.
+ This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android/>.
Privacy Browser Android is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
android:background="?android:attr/colorBackground"
android:visibility="invisible" />
- <!-- `android:max` changes the maximum `ProgressBar` value from 10000 to 100 to match progress percentage.
- `android:layout_height="2dp"` works best for API >= 23, but `3dp` is required for visibility on API <= 22.-->
+ <!-- `android:max` changes the maximum `ProgressBar` value from 10000 to 100 to match progress percentage. -->
<ProgressBar
android:id="@+id/progress_bar"
style="?android:attr/progressBarStyleHorizontal"
- android:layout_height="3dp"
+ android:layout_height="2dp"
android:layout_width="match_parent"
android:max="100"
- android:progressTint="?attr/progressTintColor"
+ android:progressTint="@color/blue_text"
android:progressBackgroundTint="@color/transparent"
android:visibility="gone" />
</FrameLayout>