]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/layout/webview_framelayout_top_appbar.xml
Remove all the custom attr entries. https://redmine.stoutner.com/issues/1189
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / webview_framelayout_top_appbar.xml
index a404f30447649d2703db999e34a33ed0cece278b..417bb311dc4ed70f5601ba12e0eac42a95b21e1e 100644 (file)
@@ -1,9 +1,9 @@
 <?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>