]> git.ktnx.net Git - mobile-ledger.git/blob - app/src/main/res/layout/pattern_layout.xml
fdeea8c1cb7ed2a78ac97c861ca4ceb4b3e3111b
[mobile-ledger.git] / app / src / main / res / layout / pattern_layout.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/pattern_name"
25         android:layout_width="0dp"
26         android:layout_height="wrap_content"
27         android:layout_marginStart="@dimen/text_margin"
28         android:layout_marginEnd="@dimen/text_margin"
29         app:layout_constraintBottom_toBottomOf="parent"
30         app:layout_constraintEnd_toStartOf="@id/edit_button"
31         app:layout_constraintStart_toStartOf="parent"
32         app:layout_constraintTop_toTopOf="parent"
33         />
34     <ImageButton
35         android:id="@+id/edit_button"
36         android:layout_width="@dimen/toolbar_height"
37         android:layout_height="@dimen/toolbar_height"
38         android:contentDescription="@string/edit_button_description"
39         android:src="@drawable/ic_mode_edit_black_24dp"
40         app:layout_constraintBottom_toBottomOf="parent"
41         app:layout_constraintEnd_toEndOf="parent"
42         app:layout_constraintTop_toTopOf="parent"
43         />
44 </androidx.constraintlayout.widget.ConstraintLayout>