-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathactivity_history.xml
More file actions
98 lines (90 loc) · 4.02 KB
/
activity_history.xml
File metadata and controls
98 lines (90 loc) · 4.02 KB
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
<?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:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".HistoryActivity">
<ImageView
android:id="@+id/imageViewHistory"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_marginStart="24dp"
android:layout_marginTop="24dp"
android:background="?selectableItemBackgroundBorderless"
android:padding="4dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/arrow"
app:tint="?attr/tint" />
<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"
android:text="@string/history"
style="@style/titleTextStyle"
app:layout_constraintBottom_toBottomOf="@+id/imageViewHistory"
app:layout_constraintStart_toEndOf="@+id/imageViewHistory"
app:layout_constraintTop_toTopOf="@+id/imageViewHistory" />
<TextView
android:id="@+id/textView9"
style="@style/text_heading"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="32dp"
android:text="@string/overall_points"
app:layout_constraintStart_toStartOf="@+id/imageViewHistory"
app:layout_constraintTop_toBottomOf="@+id/textView" />
<TextView
android:id="@+id/textView17"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="2dp"
android:layout_marginTop="16dp"
android:text="@string/total_questions"
style="@style/text_heading"
app:layout_constraintStart_toStartOf="@+id/textView9"
app:layout_constraintTop_toBottomOf="@+id/textView9" />
<TextView
android:id="@+id/tvOverAllPointsHistory"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginBottom="11dp"
tools:text="60"
style="@style/text_heading"
android:textColor="@color/peach"
android:textSize="22sp"
app:layout_constraintBottom_toBottomOf="@+id/textView9"
app:layout_constraintStart_toEndOf="@+id/textView9"
app:layout_constraintTop_toTopOf="@+id/textView9" />
<TextView
android:id="@+id/tvTotalQuestionsHistory"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
tools:text="16"
style="@style/text_heading"
android:textColor="@color/peach"
android:textSize="22sp"
app:layout_constraintBottom_toBottomOf="@+id/textView17"
app:layout_constraintStart_toEndOf="@+id/textView17"
app:layout_constraintTop_toTopOf="@+id/textView17" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rvHistory"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginTop="16dp"
android:clipToPadding="false"
android:paddingBottom="16dp"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView17"
app:layout_constraintVertical_bias="0.0"
tools:itemCount="6"
tools:listitem="@layout/item_history" />
</androidx.constraintlayout.widget.ConstraintLayout>