-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcell_ticket.xml
99 lines (91 loc) · 4.04 KB
/
cell_ticket.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
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/cell_ticket"
android:layout_width="match_parent"
android:layout_height="120dp">
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline_cell1_ticket"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_percent="0.25" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline_cell2_ticket"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_percent="0.82" />
<TextView
android:id="@+id/textView_name_cell_Ticket"
android:layout_width="0dp"
android:layout_height="0dp"
android:gravity="center"
android:textSize="36sp"
app:autoSizeTextType="uniform"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/guideline_cell1_ticket"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:text="神泉谷" />
<TextView
android:id="@+id/textView_time_cell_Ticket"
android:layout_width="0dp"
android:layout_height="0dp"
android:gravity="center"
android:textSize="24sp"
app:autoSizeTextType="uniform"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/guideline_cell2_ticket"
app:layout_constraintStart_toStartOf="@+id/guideline_cell1_ticket"
app:layout_constraintTop_toTopOf="parent"
tools:text="9:00am-6:00pm" />
<TextView
android:id="@+id/textView_price_cell_Ticket"
android:layout_width="0dp"
android:layout_height="0dp"
android:gravity="center"
android:textSize="36sp"
app:autoSizeTextType="uniform"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@+id/guideline_cell2_ticket"
app:layout_constraintTop_toTopOf="parent"
tools:text="35" />
<View
android:id="@+id/divider_h_cell_Ticket"
android:layout_width="0dp"
android:layout_height="2dp"
android:layout_marginStart="16dp"
android:layout_marginLeft="16dp"
android:layout_marginEnd="16dp"
android:layout_marginRight="16dp"
android:background="?android:attr/listDivider"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="parent" />
<View
android:id="@+id/divider_v1_cell_Ticket"
android:layout_width="2dp"
android:layout_height="0dp"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp"
android:background="?android:attr/listDivider"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/guideline_cell1_ticket"
app:layout_constraintStart_toStartOf="@+id/guideline_cell1_ticket"
app:layout_constraintTop_toTopOf="parent" />
<View
android:id="@+id/divider_v2_cell_Ticket"
android:layout_width="2dp"
android:layout_height="0dp"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp"
android:background="?android:attr/listDivider"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/guideline_cell2_ticket"
app:layout_constraintStart_toStartOf="@+id/guideline_cell2_ticket"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>