]> git.ktnx.net Git - mobile-ledger.git/blob - app/src/main/res/layout/transaction_list_row_accounts_table_row.xml
drop a couple of global colour values
[mobile-ledger.git] / app / src / main / res / layout / transaction_list_row_accounts_table_row.xml
1 <?xml version="1.0" encoding="utf-8"?><!--
2   ~ Copyright © 2020 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.
8   ~
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.
13   ~
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/>.
16   -->
17
18 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19     xmlns:tools="http://schemas.android.com/tools"
20     android:layout_width="match_parent"
21     android:layout_height="wrap_content"
22     android:gravity="center_vertical"
23     android:orientation="horizontal"
24     android:paddingStart="8dp"
25     android:paddingEnd="0dp">
26
27     <LinearLayout
28         android:layout_width="0dp"
29         android:layout_height="wrap_content"
30         android:layout_weight="5"
31         android:orientation="vertical"
32         >
33         <TextView
34             android:id="@+id/dummy_text"
35             android:layout_width="wrap_content"
36             android:layout_height="wrap_content"
37             android:visibility="gone"
38             />
39
40         <TextView
41             android:id="@+id/transaction_list_acc_row_acc_name"
42             android:layout_width="match_parent"
43             android:layout_height="wrap_content"
44             android:text="another acc name"
45             android:textAlignment="viewStart"
46             android:textAppearance="@android:style/TextAppearance.Material.Small"
47             android:textColor="?textColor"
48             android:textStyle="normal"
49             tools:ignore="HardcodedText"
50             />
51
52         <TextView
53             android:id="@+id/transaction_list_acc_row_acc_comment"
54             android:layout_width="match_parent"
55             android:layout_height="wrap_content"
56             android:layout_marginStart="8dp"
57             android:layout_marginTop="-4dp"
58             android:text="account comment"
59             android:textAlignment="viewStart"
60             android:textAppearance="@android:style/TextAppearance.Material.Small"
61             android:textColor="?commentColor"
62             tools:ignore="HardcodedText,RtlSymmetry"
63             />
64     </LinearLayout>
65
66     <TextView
67         android:id="@+id/transaction_list_acc_row_acc_amount"
68         android:layout_width="wrap_content"
69         android:layout_height="wrap_content"
70         android:layout_gravity="top|end"
71         android:layout_marginEnd="0dp"
72         android:minWidth="60dp"
73         android:text="---,--"
74         android:textAlignment="viewEnd"
75         android:textColor="?textColor"
76         android:textAppearance="@android:style/TextAppearance.Material.Small"
77         tools:ignore="HardcodedText" />
78 </LinearLayout>