]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/transaction_list_row.xml
less demanding transaction row template
[mobile-ledger.git] / app / src / main / res / layout / transaction_list_row.xml
index 64b4fe7290baceaf6397467e437fabacf19ba9e9..f2ed7572fb1187dbbcd4ddefd531c019268d5536 100644 (file)
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
 
-
 <!--
   ~ Copyright © 2018 Damyan Ivanov.
   ~ This file is part of Mobile-Ledger.
@@ -20,6 +19,7 @@
 
 <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:app="http://schemas.android.com/apk/res-auto"
+    xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
     android:layout_margin="8dp"
@@ -30,9 +30,7 @@
     app:layout_constraintStart_toStartOf="parent"
     app:layout_goneMarginBottom="8dp">
 
-    <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
-        xmlns:app="http://schemas.android.com/apk/res-auto"
-        xmlns:tools="http://schemas.android.com/tools"
+    <android.support.constraint.ConstraintLayout
         android:id="@+id/transaction_row"
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
@@ -55,7 +53,7 @@
                 android:layout_width="0dp"
                 android:layout_height="wrap_content"
                 android:layout_weight="5"
-                android:text="Sample description goes here."
+                android:text="---."
                 android:textStyle="bold"
                 tools:ignore="HardcodedText" />
 
                     android:layout_width="0dp"
                     android:layout_height="wrap_content"
                     android:layout_weight="5"
-                    android:text="Account name, a really long one. A very very very long one. It may even spawn on more than two lines -- three, four or more."
+                    android:text="---"
                     android:textAlignment="viewStart"
                     tools:ignore="HardcodedText" />
 
                     android:layout_height="wrap_content"
                     android:layout_marginEnd="0dp"
                     android:minWidth="60dp"
-                    android:text="€ 123,45"
+                    android:text="€ --,--"
                     android:textAlignment="viewEnd"
                     tools:ignore="HardcodedText" />
             </LinearLayout>
                     android:layout_width="0dp"
                     android:layout_height="wrap_content"
                     android:layout_weight="5"
-                    android:text="Account name, a really long one. A very very very long one. It may even spawn on more than two lines -- three, four or more."
+                    android:text="---"
                     android:textAlignment="viewStart"
                     tools:ignore="HardcodedText" />
 
                     android:layout_height="wrap_content"
                     android:layout_marginEnd="0dp"
                     android:minWidth="60dp"
-                    android:text="-14 678,90"
+                    android:text="---,--"
                     android:textAlignment="viewEnd"
                     tools:ignore="HardcodedText" />
             </LinearLayout>