]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/main_app_layout.xml
use toolbar height that changes with font size
[mobile-ledger.git] / app / src / main / res / layout / main_app_layout.xml
index 4b778d64ba31c0ca44709f068fda1d657a9c5f58..daf3bd22fd82e22b5cf3750000322c8be887d8fc 100644 (file)
@@ -21,9 +21,8 @@
     android:id="@+id/main_app_layout"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    android:background="@color/backgroundColor"
+    android:background="?android:attr/colorBackground"
     android:orientation="vertical"
-    android:theme="@style/AppTheme.AppBarOverlay"
     tools:context=".ui.activity.MainActivity">
 
 
@@ -53,8 +52,9 @@
             <androidx.appcompat.widget.Toolbar
                 android:id="@+id/toolbar"
                 android:layout_width="match_parent"
-                android:layout_height="?attr/actionBarSize"
+                android:layout_height="@dimen/toolbar_height"
                 android:background="?colorPrimary"
+                android:theme="@style/AppTheme.AppBarOverlay"
                 app:popupTheme="@style/AppTheme.PopupOverlay"
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintStart_toStartOf="parent"