]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/transaction_list_row_accounts_table_row.xml
add small margin between account name and its amount in transaction list
[mobile-ledger.git] / app / src / main / res / layout / transaction_list_row_accounts_table_row.xml
index 5dbed6054eb006f6ba5320d80f4dd990153334c6..ac2853b4405a15258b00da496b7a16ba4660112c 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?><!--
-  ~ Copyright © 2020 Damyan Ivanov.
+  ~ Copyright © 2021 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
             android:id="@+id/transaction_list_acc_row_acc_name"
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
-            android:text="another acc name"
+            android:breakStrategy="high_quality"
             android:textAlignment="viewStart"
             android:textAppearance="@android:style/TextAppearance.Material.Small"
             tools:ignore="HardcodedText"
+            android:hyphenationFrequency="full"
+            android:text="one:very:long:account:name:that:needs:to:wrap:to:more:tnan:one:line:two:would:be:nice:but:the:more:the:better:and:the:better:"
             />
 
         <TextView
@@ -65,6 +67,7 @@
         android:layout_height="wrap_content"
         android:layout_gravity="top|end"
         android:layout_marginEnd="0dp"
+        android:layout_marginStart="@dimen/half_text_margin"
         android:minWidth="60dp"
         android:text="---,--"
         android:textAlignment="viewEnd"