]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/layout/logcat_coordinatorlayout.xml
Fix downloads consuming massive CPU and locking the UI on slower CPUs. https://redmin...
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / logcat_coordinatorlayout.xml
index b21d6a64635682c3ba36ae5289461baecc79c17d..2c605a336ab8d77d73356593900b68826db4a325 100644 (file)
         android:layout_width="match_parent"
         android:orientation="vertical" >
 
+        <!-- The app bar theme must be specified here because the activity uses a `NoActionBar` theme.  The background is set programmatically based on the proxy status. -->
         <com.google.android.material.appbar.AppBarLayout
             android:id="@+id/logcat_appbarlayout"
             android:layout_height="wrap_content"
             android:layout_width="match_parent"
-            android:background="?android:attr/colorBackground" >
+            android:background="?android:attr/colorBackground"
+            android:theme="@style/PrivacyBrowserAppBar" >
 
             <androidx.appcompat.widget.Toolbar
                 android:id="@+id/logcat_toolbar"
@@ -48,6 +50,7 @@
             android:layout_width="match_parent" >
 
             <ScrollView
+                android:id="@+id/logcat_scrollview"
                 android:layout_height="wrap_content"
                 android:layout_width="match_parent" >