]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/main_app_layout.xml
fix styling of "Last update: ..." text
[mobile-ledger.git] / app / src / main / res / layout / main_app_layout.xml
index 4b778d64ba31c0ca44709f068fda1d657a9c5f58..842b867f5d3ef2d3da1138aa1f570643fc0eb15f 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"
 
                     <TextView
                         android:id="@+id/transaction_last_update_label"
+                        android:textAppearance="@android:style/TextAppearance.Material.Small"
                         android:layout_width="wrap_content"
                         android:layout_height="wrap_content"
                         android:paddingStart="8dp"
                         android:paddingEnd="8dp"
                         android:text="@string/transactions_last_update_label"
-                        android:textColor="@android:color/tertiary_text_light" />
+                        />
 
                     <TextView
                         android:id="@+id/transactions_last_update"
-                        style="@android:style/Widget.DeviceDefault.Light.TextView"
+                        android:textAppearance="@android:style/TextAppearance.Material.Small"
                         android:layout_width="0dp"
                         android:layout_height="wrap_content"
                         android:layout_weight="1"
                         android:text="\?"
-                        android:textColor="@android:color/tertiary_text_light"
                         tools:ignore="HardcodedText" />
                 </LinearLayout>