-
Notifications
You must be signed in to change notification settings - Fork 0
/
control_row_three_decked.xml
111 lines (89 loc) · 4.11 KB
/
control_row_three_decked.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/whiteBackground"
android:paddingBottom="8dp">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/icon"
tools:src="@drawable/ic_arrow_back"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginTop="8dp"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
android:layout_marginStart="@dimen/activity_horizontal_margin" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/title"
style="@style/text_list_title"
tools:text="Title"
android:textColor="@color/colorPrimaryLight"
android:layout_marginTop="16dp"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toEndOf="@id/icon"
app:layout_constraintEnd_toStartOf="@id/balanceLayout"
app:layout_goneMarginStart="@dimen/activity_horizontal_margin" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/description"
style="@style/text_list_description"
tools:text="description"
android:layout_marginTop="4dp"
android:layout_marginEnd="8dp"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintStart_toStartOf="@id/title"
app:layout_constraintTop_toBottomOf="@id/title"
app:layout_constraintEnd_toStartOf="@id/balanceLayout"
app:layout_goneMarginStart="@dimen/activity_horizontal_margin" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/description2"
style="@style/text_list_description"
tools:text="description"
android:layout_marginTop="4dp"
android:layout_marginStart="@dimen/activity_horizontal_margin"
android:layout_marginEnd="8dp"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/barrier"
app:layout_constraintEnd_toEndOf="parent" />
<com.colvir.core.ui.layouts.RepeaterView
android:id="@+id/balanceLayout"
android:orientation="vertical"
app:repeaterView_layout="@layout/control_row_balance"
tools:layout_width="100dp"
tools:layout_height="50dp"
tools:background="#CCCCCC"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/activity_horizontal_margin"
app:layout_constraintTop_toTopOf="@id/title"
app:layout_constraintEnd_toEndOf="parent" />
<androidx.constraintlayout.widget.Barrier
android:id="@+id/barrier"
app:barrierDirection="bottom"
android:layout_width="match_parent"
android:layout_height="0dp"
app:constraint_referenced_ids="description,balanceLayout,icon" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/description3"
style="@style/text_list_description"
tools:text="description"
android:gravity="end"
android:layout_marginTop="4dp"
android:layout_marginHorizontal="@dimen/activity_horizontal_margin"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/barrier"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_goneMarginBottom="8dp" />
</androidx.constraintlayout.widget.ConstraintLayout>