]> git.ktnx.net Git - mobile-ledger.git/blob - app/src/main/res/layout/templates_fallback_divider.xml
acff196225680195b730bebd4d19b4a33f7d8582
[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/top_text"
25         android:layout_width="wrap_content"
26         android:layout_height="wrap_content"
27         android:text=" "
28         app:layout_constraintStart_toStartOf="parent"
29         app:layout_constraintTop_toTopOf="parent"
30         />
31     <TextView
32         android:id="@+id/label"
33         android:layout_width="0dp"
34         android:layout_height="wrap_content"
35         android:layout_marginEnd="@dimen/text_margin"
36         android:gravity="end"
37         android:text="@string/fallback_templates_divider"
38         android:textStyle="italic"
39         app:layout_constraintEnd_toEndOf="parent"
40         app:layout_constraintTop_toBottomOf="@id/divider"
41         />
42     <View
43         android:id="@+id/divider"
44         android:layout_width="0dp"
45         android:layout_height="1dp"
46         android:layout_marginHorizontal="@dimen/text_margin"
47         android:background="?colorPrimary"
48         app:layout_constraintEnd_toEndOf="parent"
49         app:layout_constraintStart_toStartOf="parent"
50         app:layout_constraintTop_toBottomOf="@id/top_text"
51         />
52 </androidx.constraintlayout.widget.ConstraintLayout>