]> git.ktnx.net Git - mobile-ledger-staging.git/blobdiff - app/src/main/res/layout/transaction_list_row.xml
further theme fixes
[mobile-ledger-staging.git] / app / src / main / res / layout / transaction_list_row.xml
index 6cfe719de829c2927e960f154ba4dfa7ed3dc7cc..e34444a984d637837f212719f502f29d134e7101 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 
 <!--
-  ~ Copyright © 2019 Damyan Ivanov.
+  ~ Copyright © 2020 Damyan Ivanov.
   ~ This file is part of MoLe.
   ~ MoLe is free software: you can distribute it and/or modify it
   ~ under the term of the GNU General Public License as published by
         style="@style/Widget.MaterialComponents.CardView"
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
-        android:layout_marginHorizontal="@dimen/activity_horizontal_margin"
-        android:layout_marginVertical="1dp"
+        android:layout_margin="8dp"
         android:visibility="visible"
-        app:cardCornerRadius="4dp"
-        app:cardElevation="2dp"
+        app:cardBackgroundColor="?table_row_light_bg"
         app:cardUseCompatPadding="false"
+        app:cardCornerRadius="0dp"
         >
 
         <androidx.constraintlayout.widget.ConstraintLayout
@@ -44,7 +43,6 @@
             android:layout_height="wrap_content"
             android:gravity="center_vertical"
             android:minHeight="36dp"
-            android:orientation="horizontal"
             android:padding="8dp"
             >
 
 
                 <TextView
                     android:id="@+id/transaction_row_description"
-                    style="@style/account_summary_account_name"
                     android:layout_width="match_parent"
                     android:layout_height="wrap_content"
                     android:text="---."
                     android:textAppearance="@android:style/TextAppearance.Material.Medium"
+                    android:textStyle="bold"
                     tools:ignore="HardcodedText"
                     />
                 <TextView
                     android:id="@+id/transaction_comment"
                     android:layout_width="match_parent"
                     android:layout_height="wrap_content"
-                    android:layout_marginStart="8dp"
+                    android:layout_marginStart="0dp"
+                    android:layout_marginTop="0dp"
                     android:text="Comment text"
-                    android:textStyle="italic"
                     tools:ignore="HardcodedText"
+                    style="@style/transaction_list_comment"
                     />
             </LinearLayout>
 
@@ -83,7 +82,6 @@
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
                 android:layout_marginTop="8dp"
-                android:layout_weight="5"
                 android:orientation="vertical"
                 app:layout_constraintEnd_toEndOf="parent"
                 app:layout_constraintStart_toStartOf="parent"