1 <?xml version="1.0" encoding="utf-8"?><!--
2 ~ Copyright © 2021 Damyan Ivanov.
3 ~ This file is part of MoLe.
4 ~ MoLe is free software: you can distribute it and/or modify it
5 ~ under the term of the GNU General Public License as published by
6 ~ the Free Software Foundation, either version 3 of the License, or
7 ~ (at your opinion), any later version.
9 ~ MoLe is distributed in the hope that it will be useful,
10 ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 ~ GNU General Public License terms for details.
14 ~ You should have received a copy of the GNU General Public License
15 ~ along with MoLe. If not, see <https://www.gnu.org/licenses/>.
18 <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
19 xmlns:app="http://schemas.android.com/apk/res-auto"
20 android:layout_width="match_parent"
21 android:layout_height="wrap_content"
22 android:minHeight="@dimen/thumb_row_height"
23 android:padding="@dimen/half_text_margin"
27 android:id="@+id/account_name"
28 android:layout_width="0dp"
29 android:layout_height="wrap_content"
30 android:text="TextView\non two lines"
31 android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
32 app:layout_constraintEnd_toEndOf="parent"
33 app:layout_constraintStart_toStartOf="parent"
34 app:layout_constraintTop_toTopOf="parent"
37 android:id="@+id/amounts"
38 android:layout_width="0dp"
39 android:layout_height="wrap_content"
40 android:layout_marginStart="@dimen/text_margin"
42 android:text="TextView"
43 android:textAppearance="@style/TextAppearance.MaterialComponents.Body2"
44 app:layout_constraintBottom_toBottomOf="parent"
45 app:layout_constraintEnd_toEndOf="parent"
46 app:layout_constraintStart_toStartOf="parent"
47 app:layout_constraintTop_toBottomOf="@id/account_name"
48 app:layout_goneMarginStart="0dp"
50 </androidx.constraintlayout.widget.ConstraintLayout>