浏览代码

align user info toolbar theming with main toolbar theming

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 5 年之前
父节点
当前提交
ae2dcbea33
共有 1 个文件被更改,包括 2 次插入2 次删除
  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"