]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/layout/bookmarks_coordinatorlayout.xml
Fix the app bar and options menu icon colors. https://redmine.stoutner.com/issues/618
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / bookmarks_coordinatorlayout.xml
index 798759336d438ca38c2eff6f61133546324d14e6..20a88a0ea5558164c1be3e967ae0b6b8fd5d1315 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. -->
         <com.google.android.material.appbar.AppBarLayout
             android:id="@+id/bookmarks_appbarlayout"
             android:layout_height="wrap_content"
             android:layout_width="match_parent"
-            android:background="?android:attr/colorBackground" >
+            android:background="?android:attr/colorBackground"
+            android:theme="@style/ThemeOverlay.AppCompat.DayNight.ActionBar" >
 
             <androidx.appcompat.widget.Toolbar
                 android:id="@+id/bookmarks_toolbar"