]> git.ktnx.net Git - mobile-ledger.git/blob - app/src/main/res/layout/hue_dialog.xml
fix text color for the account name filter
[mobile-ledger.git] / app / src / main / res / layout / hue_dialog.xml
1 <?xml version="1.0" encoding="utf-8"?><!--
2   ~ Copyright © 2019 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     android:paddingStart="@dimen/activity_horizontal_margin"
23     android:paddingTop="@dimen/activity_vertical_margin"
24     android:paddingEnd="@dimen/activity_horizontal_margin"
25     android:paddingBottom="@dimen/activity_vertical_margin">
26
27     <net.ktnx.mobileledger.ui.HueRing
28         android:id="@+id/ring"
29         android:layout_width="wrap_content"
30         android:layout_height="wrap_content"
31         app:layout_constraintBottom_toTopOf="@id/button_pane"
32         app:layout_constraintEnd_toEndOf="parent"
33         app:layout_constraintStart_toStartOf="parent"
34         app:layout_constraintTop_toTopOf="parent" />
35
36     <androidx.constraintlayout.widget.ConstraintLayout
37         android:id="@+id/button_pane"
38         android:layout_width="0dp"
39         android:layout_height="wrap_content"
40         android:layout_marginTop="@dimen/activity_horizontal_margin"
41         app:layout_constraintBottom_toBottomOf="parent"
42         app:layout_constraintEnd_toEndOf="parent"
43         app:layout_constraintStart_toStartOf="parent"
44         app:layout_constraintTop_toBottomOf="@id/ring">
45
46         <TextView
47             android:id="@+id/btn_default"
48             style="@style/Base.TextAppearance.AppCompat.Button"
49             android:layout_width="wrap_content"
50             android:layout_height="wrap_content"
51             android:paddingStart="@dimen/fab_margin"
52             android:paddingEnd="@dimen/fab_margin"
53             android:text="@string/default_color_btn"
54             app:layout_constraintBottom_toBottomOf="parent"
55             app:layout_constraintEnd_toStartOf="@id/btn_ok"
56             app:layout_constraintStart_toStartOf="parent"
57             app:layout_constraintTop_toTopOf="parent" />
58
59         <TextView
60             android:id="@+id/btn_ok"
61             style="@style/Base.TextAppearance.AppCompat.Button"
62             android:layout_width="wrap_content"
63             android:layout_height="wrap_content"
64             android:paddingStart="@dimen/fab_margin"
65             android:paddingEnd="@dimen/fab_margin"
66             android:text="@string/btn_select_label"
67             app:layout_constraintBottom_toBottomOf="parent"
68             app:layout_constraintEnd_toEndOf="parent"
69             app:layout_constraintStart_toEndOf="@id/btn_default"
70             app:layout_constraintTop_toTopOf="parent" />
71     </androidx.constraintlayout.widget.ConstraintLayout>
72 </androidx.constraintlayout.widget.ConstraintLayout>