]> git.ktnx.net Git - mobile-ledger.git/blob - app/src/main/res/layout/fragment_template_detail_source_selector.xml
more pronounced day/month delimiters in the transaction list
[mobile-ledger.git] / app / src / main / res / layout / fragment_template_detail_source_selector.xml
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.
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 <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
19     xmlns:app="http://schemas.android.com/apk/res-auto"
20     xmlns:tools="http://schemas.android.com/tools"
21     android:layout_width="match_parent"
22     android:layout_height="wrap_content"
23     android:longClickable="false"
24     >
25
26     <TextView
27         android:id="@+id/group_number"
28         android:layout_width="wrap_content"
29         android:layout_height="wrap_content"
30         android:layout_margin="@dimen/text_margin"
31         android:gravity="end"
32         android:minWidth="20sp"
33         android:text="1"
34         android:textAppearance="?attr/textAppearanceListItem"
35         app:layout_constraintStart_toStartOf="parent"
36         app:layout_constraintTop_toTopOf="parent"
37         tools:ignore="HardcodedText"
38         />
39     <TextView
40         android:id="@+id/colon"
41         android:layout_width="wrap_content"
42         android:layout_height="wrap_content"
43         android:layout_marginTop="@dimen/text_margin"
44         android:text=":"
45         android:textAppearance="?attr/textAppearanceListItem"
46         app:layout_constraintStart_toEndOf="@id/group_number"
47         app:layout_constraintTop_toTopOf="parent"
48         tools:ignore="HardcodedText"
49         />
50     <TextView
51         android:id="@+id/matched_text"
52         android:layout_width="0dp"
53         android:layout_height="wrap_content"
54         android:layout_margin="@dimen/text_margin"
55         android:textAppearance="?attr/textAppearanceListItem"
56         app:layout_constraintEnd_toEndOf="parent"
57         app:layout_constraintStart_toEndOf="@id/colon"
58         app:layout_constraintTop_toTopOf="parent"
59         />
60 </androidx.constraintlayout.widget.ConstraintLayout>