]> git.ktnx.net Git - mobile-ledger.git/commitdiff
"fix" background of templates toolbar
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 3 Mar 2021 20:06:21 +0000 (22:06 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 3 Mar 2021 20:06:21 +0000 (22:06 +0200)
this needs a better fix, but the workaround present in the other
activities will do for now

app/src/main/res/layout/activity_templates.xml

index a60a650f0779027b0c07dfefd5c832766bcddd50..b6d87071a8631a8525b7aa74e11ea619c4ddf4b6 100644 (file)
         android:layout_width="match_parent"
         android:layout_height="@dimen/toolbar_height"
         android:fitsSystemWindows="true"
-        android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
+        android:theme="@style/AppTheme.AppBarOverlay"
         >
         <androidx.appcompat.widget.Toolbar
             android:id="@+id/toolbar"
             android:layout_width="match_parent"
             android:layout_height="match_parent"
+            android:background="?attr/colorPrimary"
             app:layout_collapseMode="pin"
-            app:popupTheme="@style/ThemeOverlay.AppCompat.DayNight"
+            app:popupTheme="@style/AppTheme.PopupOverlay"
             />
     </com.google.android.material.appbar.AppBarLayout>