]> git.ktnx.net Git - mobile-ledger-staging.git/blobdiff - app/src/main/res/layout/transaction_list_row.xml
convert the last update global header to a list header
[mobile-ledger-staging.git] / app / src / main / res / layout / transaction_list_row.xml
index 0de115b130b230b238f80fe144e729df67da9506..a8940553ee5b151447072283013a0a1c2007aff9 100644 (file)
@@ -32,9 +32,9 @@
         android:layout_height="wrap_content"
         android:layout_margin="8dp"
         android:visibility="visible"
-        app:cardBackgroundColor="?table_row_light_bg"
-        app:cardUseCompatPadding="false"
         app:cardCornerRadius="0dp"
+        app:cardElevation="2dp"
+        app:cardUseCompatPadding="false"
         >
 
         <androidx.constraintlayout.widget.ConstraintLayout
                     android:layout_width="match_parent"
                     android:layout_height="wrap_content"
                     android:text="---."
-                    android:textColor="?textColor"
                     android:textAppearance="@android:style/TextAppearance.Material.Medium"
                     android:textStyle="bold"
                     tools:ignore="HardcodedText"
                     />
                 <TextView
                     android:id="@+id/transaction_comment"
+                    style="@style/transaction_list_comment"
                     android:layout_width="match_parent"
                     android:layout_height="wrap_content"
                     android:layout_marginStart="0dp"
                     android:layout_marginTop="0dp"
                     android:text="Comment text"
-                    android:textAppearance="@android:style/TextAppearance.Material.Small"
-                    android:textColor="?commentColor"
                     tools:ignore="HardcodedText"
                     />
             </LinearLayout>
             />
 
     </androidx.constraintlayout.widget.ConstraintLayout>
+    <include layout="@layout/last_update_layout" />
 
 </FrameLayout>
\ No newline at end of file