1 <?xml version="1.0" encoding="utf-8"?>
3 ~ Copyright © 2019 Damyan Ivanov.
4 ~ This file is part of Mobile-Ledger.
5 ~ Mobile-Ledger is free software: you can distribute it and/or modify it
6 ~ under the term of the GNU General Public License as published by
7 ~ the Free Software Foundation, either version 3 of the License, or
8 ~ (at your opinion), any later version.
10 ~ Mobile-Ledger is distributed in the hope that it will be useful,
11 ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 ~ GNU General Public License terms for details.
15 ~ You should have received a copy of the GNU General Public License
16 ~ along with Mobile-Ledger. If not, see <https://www.gnu.org/licenses/>.
19 <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
20 xmlns:app="http://schemas.android.com/apk/res-auto"
21 xmlns:tools="http://schemas.android.com/tools"
22 android:id="@+id/profile_list_item"
23 android:layout_width="match_parent"
24 android:layout_height="wrap_content"
25 android:layout_gravity="center_horizontal"
26 android:foregroundGravity="center_vertical"
27 android:paddingVertical="@dimen/nav_header_vertical_spacing">
30 android:id="@+id/profile_list_edit_button"
31 android:layout_width="wrap_content"
32 android:layout_height="wrap_content"
33 android:layout_marginEnd="16dp"
34 android:layout_weight="9"
35 android:drawableStart="@drawable/ic_mode_edit_black_24dp"
37 app:layout_constraintBottom_toBottomOf="parent"
38 app:layout_constraintEnd_toEndOf="parent"
39 app:layout_constraintTop_toTopOf="parent" />
42 android:id="@+id/profile_list_radio"
43 android:layout_width="wrap_content"
44 android:layout_height="wrap_content"
45 android:layout_marginStart="16dp"
46 android:layout_weight="9"
47 app:layout_constraintBottom_toBottomOf="parent"
48 app:layout_constraintStart_toStartOf="parent"
49 app:layout_constraintTop_toTopOf="parent"
50 tools:ignore="HardcodedText" />
53 android:id="@+id/title"
54 style="@style/TextAppearance.AppCompat.Large"
55 android:layout_width="0dp"
56 android:layout_height="wrap_content"
57 android:layout_marginStart="16dp"
58 android:layout_marginEnd="16dp"
59 android:text="Profile name"
60 app:layout_constraintEnd_toStartOf="@id/profile_list_edit_button"
61 app:layout_constraintStart_toEndOf="@id/profile_list_radio"
62 app:layout_constraintTop_toTopOf="parent"
63 tools:ignore="HardcodedText" />
66 android:id="@+id/subtitle"
67 style="@style/TextAppearance.AppCompat.Medium"
68 android:layout_width="0dp"
69 android:layout_height="wrap_content"
70 android:layout_marginStart="16dp"
71 android:layout_marginEnd="16dp"
72 android:text="Sub-heading"
73 app:layout_constraintBottom_toBottomOf="parent"
74 app:layout_constraintEnd_toStartOf="@id/profile_list_edit_button"
75 app:layout_constraintStart_toEndOf="@id/profile_list_radio"
76 app:layout_constraintTop_toBottomOf="@id/title"
77 tools:ignore="HardcodedText" />
80 </android.support.constraint.ConstraintLayout>