Browse Source

align user info toolbar theming with main toolbar theming

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 5 năm trước cách đây
mục cha
commit
ae2dcbea33
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/main/res/layout/toolbar_user_information.xml

+ 2 - 2
src/main/res/layout/toolbar_user_information.xml

@@ -25,7 +25,7 @@
     android:id="@+id/appbar"
     android:layout_width="match_parent"
     android:layout_height="@dimen/nav_drawer_header_height"
-    android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
+    android:theme="@style/ThemeOverlay.MaterialComponents.Dark.ActionBar">
 
     <RelativeLayout
         android:layout_width="match_parent"
@@ -42,7 +42,7 @@
             android:id="@id/toolbar"
             android:layout_width="match_parent"
             android:layout_height="?attr/actionBarSize"
-            app:popupTheme="@style/ThemeOverlay.AppCompat.Light"/>
+            app:popupTheme="@style/Theme.AppCompat.DayNight.NoActionBar" />
 
         <LinearLayout
             android:layout_width="match_parent"