]> git.ktnx.net Git - mobile-ledger.git/blob - app/src/main/res/layout/account_summary_row.xml
unnecessary full class name
[mobile-ledger.git] / app / src / main / res / layout / account_summary_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/account_summary_row"
24     android:layout_width="match_parent"
25     android:layout_height="wrap_content"
26     android:gravity="center_vertical"
27     android:minHeight="?attr/android:actionBarSize"
28     android:orientation="horizontal"
29     android:paddingStart="8dp"
30     android:paddingEnd="8dp"
31     tools:showIn="@id/account_root">
32
33     <CheckBox
34         android:id="@+id/account_row_check"
35         android:layout_width="wrap_content"
36         android:layout_height="match_parent"
37         android:button="@drawable/checkbox_star_black" />
38
39     <TextView
40         android:id="@+id/account_row_acc_name"
41         style="@style/account_summary_account_name"
42         android:text="Account name, a really long one. A very very very long one. It may even spawn on more than two lines -- three, four or more." />
43
44     <TextView
45         android:id="@+id/account_row_acc_amounts"
46         style="@style/account_summary_amounts"
47         android:text="123,45\n678,90" />
48 </LinearLayout>