]> git.ktnx.net Git - mobile-ledger.git/blob - app/src/main/res/layout/transaction_list_row.xml
working transaction list retrieval
[mobile-ledger.git] / app / src / main / res / layout / transaction_list_row.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3
4 <!--
5   ~ Copyright © 2018 Damyan Ivanov.
6   ~ This file is part of Mobile-Ledger.
7   ~ Mobile-Ledger is free software: you can distribute it and/or modify it
8   ~ under the term of the GNU General Public License as published by
9   ~ the Free Software Foundation, either version 3 of the License, or
10   ~ (at your opinion), any later version.
11   ~
12   ~ Mobile-Ledger is distributed in the hope that it will be useful,
13   ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
14   ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15   ~ GNU General Public License terms for details.
16   ~
17   ~ You should have received a copy of the GNU General Public License
18   ~ along with Mobile-Ledger. If not, see <https://www.gnu.org/licenses/>.
19   -->
20
21 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
22     xmlns:tools="http://schemas.android.com/tools"
23     android:id="@+id/transaction_row"
24     android:layout_width="match_parent"
25     android:layout_height="wrap_content"
26     android:gravity="center_vertical"
27     android:minHeight="36dp"
28     android:orientation="horizontal"
29     android:paddingStart="8dp"
30     android:paddingEnd="8dp"
31     tools:showIn="@layout/transaction_list_fragment">
32
33     <!--android:button="@drawable/checkbox_star_black"-->
34
35     <TextView
36         android:id="@+id/transaction_row_description"
37         style="@style/account_summary_account_name"
38         android:text="Sample description goes here."
39         tools:ignore="HardcodedText" />
40
41     <TableLayout
42         android:id="@+id/transaction_row_acc_amounts"
43         android:layout_width="wrap_content"
44         android:layout_height="match_parent">
45
46         <TableRow>
47
48             <TextView
49                 style="@style/account_summary_amounts"
50                 android:text="Sample account name"
51                 tools:ignore="HardcodedText" />
52
53             <TextView
54                 style="@style/account_summary_amounts"
55                 android:text="123,45\n678,90"
56                 tools:ignore="HardcodedText" />
57         </TableRow>
58
59         <TableRow>
60
61             <TextView
62                 style="@style/account_summary_amounts"
63                 android:text="Sample account name"
64                 tools:ignore="HardcodedText" />
65
66             <TextView
67                 style="@style/account_summary_amounts"
68                 android:text="123,45\n678,90"
69                 tools:ignore="HardcodedText" />
70         </TableRow>
71     </TableLayout>
72 </LinearLayout>