]> git.ktnx.net Git - mobile-ledger.git/blob - app/src/main/res/layout/templates_fallback_divider.xml
more pronounced day/month delimiters in the transaction list
[mobile-ledger.git] / app / src / main / res / layout / templates_fallback_divider.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     android:layout_width="match_parent"
21     android:layout_height="wrap_content"
22     >
23     <TextView
24         android:id="@+id/label"
25         android:layout_width="0dp"
26         android:layout_height="wrap_content"
27         android:background="?table_row_light_bg"
28         android:gravity="center_vertical|end"
29         android:minHeight="@dimen/thumb_row_height"
30         android:paddingHorizontal="@dimen/text_margin"
31         android:paddingVertical="@dimen/half_text_margin"
32         android:text="@string/fallback_templates_divider"
33         android:textAppearance="@android:style/TextAppearance.Material.Widget.Toolbar.Title"
34         android:textColor="?android:textColorSecondary"
35         android:textStyle="italic"
36         app:layout_constraintEnd_toEndOf="parent"
37         app:layout_constraintStart_toStartOf="parent"
38         app:layout_constraintTop_toTopOf="parent"
39         />
40 </androidx.constraintlayout.widget.ConstraintLayout>