]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/layout/bookmarks_databaseview_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_databaseview_coordinatorlayout.xml
index 414ab2f91d3d45dbc5647999e68d8826ba3ac181..49a913f365e44a1233b31562b4f501db9a14b2a6 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_databaseview_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_databaseview_toolbar"