]> git.ktnx.net Git - mobile-ledger-staging.git/blobdiff - app/src/main/res/layout/transaction_list_row.xml
more material styles
[mobile-ledger-staging.git] / app / src / main / res / layout / transaction_list_row.xml
index 0e59507d460fe9423953eb20c6a6473c9c86ff95..966d9d28d5ad76f5384f3918a3a0201e0fc9f30a 100644 (file)
                     android:layout_height="wrap_content"
                     android:layout_weight="5"
                     android:text="---."
-                    android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
+                    android:textAppearance="@android:style/TextAppearance.Material.Medium"
+                    android:textColor="?textColor"
                     tools:ignore="HardcodedText" />
 
             </LinearLayout>
 
-            <LinearLayout
+            <View
                 android:id="@+id/transaction_row_header_border"
                 android:layout_width="match_parent"
-                android:layout_height="wrap_content"
+                android:layout_height="2dp"
                 android:alpha="0.3"
                 android:background="@drawable/dashed_border_1dp"
-                android:minHeight="2dp"
-                android:orientation="horizontal"
+                android:height="2dp"
                 app:layout_constraintEnd_toEndOf="parent"
                 app:layout_constraintStart_toStartOf="parent"
                 app:layout_constraintTop_toBottomOf="@+id/transaction_row_head" />
             android:paddingStart="4dp"
             android:paddingEnd="4dp"
             android:text="---------"
-            android:textColor="@android:color/white"
+            android:textColor="?android:attr/colorBackground"
             android:textStyle="bold"
             app:layout_constraintStart_toStartOf="parent"
             tools:ignore="HardcodedText" />
             android:paddingStart="4dp"
             android:paddingEnd="4dp"
             android:text="--.--.----"
-            android:textColor="@android:color/white"
+            android:textColor="?android:attr/colorBackground"
             android:textStyle="bold"
             app:layout_constraintEnd_toEndOf="parent"
             tools:ignore="HardcodedText" />