properly override the main toolbar theme
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 17 May 2020 19:42:03 +0000 (22:42 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 17 May 2020 19:42:03 +0000 (22:42 +0300)
app/src/main/res/layout/main_app_layout.xml

index 47d2df6..80aa5b2 100644 (file)
@@ -23,7 +23,6 @@
     android:layout_height="match_parent"
     android:background="?android:attr/colorBackground"
     android:orientation="vertical"
-    android:theme="@style/AppTheme.AppBarOverlay"
     tools:context=".ui.activity.MainActivity">
 
 
@@ -55,6 +54,7 @@
                 android:layout_width="match_parent"
                 android:layout_height="?attr/actionBarSize"
                 android:background="?colorPrimary"
+                android:theme="@style/AppTheme.AppBarOverlay"
                 app:popupTheme="@style/AppTheme.PopupOverlay"
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintStart_toStartOf="parent"