<?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:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal"
- android:paddingStart="8dp"
- android:paddingEnd="0dp">
+ >
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="5"
- android:orientation="vertical">
+ android:orientation="vertical"
+ >
+ <TextView
+ android:id="@+id/dummy_text"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:visibility="gone"
+ />
<TextView
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="@android:color/secondary_text_light"
- android:textStyle="normal"
- tools:ignore="HardcodedText" />
+ 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
android:id="@+id/transaction_list_acc_row_acc_comment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:alpha="0.75"
- android:paddingStart="8dp"
+ android:layout_marginStart="8dp"
+ android:layout_marginTop="-4dp"
android:text="account comment"
android:textAlignment="viewStart"
- android:textAppearance="@android:style/TextAppearance.Material.Small"
- android:textColor="@android:color/secondary_text_light"
- android:textStyle="italic"
- tools:ignore="HardcodedText,RtlSymmetry" />
+ style="@style/transaction_list_comment"
+ tools:ignore="HardcodedText,RtlSymmetry"
+ />
</LinearLayout>
<TextView
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"
+ android:textAppearance="@android:style/TextAppearance.Material.Small"
tools:ignore="HardcodedText" />
</LinearLayout>