]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/transaction_list_row_accounts_table_row.xml
hint account name wrapping after the colon to help long accounts
[mobile-ledger.git] / app / src / main / res / layout / transaction_list_row_accounts_table_row.xml
index 5e058d07a15e5627cef42b9ca208c47a64033ce0..ceea9acfe2845f048561f72c3e5148be28e8a95a 100644 (file)
@@ -21,8 +21,7 @@
     android:layout_height="wrap_content"
     android:gravity="center_vertical"
     android:orientation="horizontal"
-    android:paddingStart="8dp"
-    android:paddingEnd="0dp">
+    >
 
     <LinearLayout
         android:layout_width="0dp"
             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"
-            android:textColor="?textColor"
-            android:textStyle="normal"
             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
@@ -57,8 +56,7 @@
             android:layout_marginTop="-4dp"
             android:text="account comment"
             android:textAlignment="viewStart"
-            android:textAppearance="@android:style/TextAppearance.Material.Small"
-            android:textColor="?commentColor"
+            style="@style/transaction_list_comment"
             tools:ignore="HardcodedText,RtlSymmetry"
             />
     </LinearLayout>
@@ -72,7 +70,6 @@
         android:minWidth="60dp"
         android:text="---,--"
         android:textAlignment="viewEnd"
-        android:textColor="?textColor"
         android:textAppearance="@android:style/TextAppearance.Material.Small"
         tools:ignore="HardcodedText" />
 </LinearLayout>