layout_display_result.xml 12.5 KB
Newer Older
1
<?xml version="1.0" encoding="utf-8"?>
2
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
Mathilde BALLOUHEY's avatar
Mathilde BALLOUHEY committed
3
4
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
5
6
    android:layout_width="match_parent"
    android:layout_height="match_parent"
7
    android:fillViewport="true">
8

Mathilde BALLOUHEY's avatar
Mathilde BALLOUHEY committed
9
    <androidx.constraintlayout.widget.ConstraintLayout
10
        android:layout_width="match_parent"
11
        android:layout_height="wrap_content"
12
        tools:context=".DisplayResultActivity">
13
14

        <LinearLayout
15
16
            android:id="@+id/linearLayout2"
            android:layout_width="0dp"
17
            android:layout_height="wrap_content"
18
19
20
21
22
23
24
25
26
            android:layout_marginStart="16dp"
            android:layout_marginTop="8dp"
            android:layout_marginEnd="16dp"
            android:orientation="horizontal"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent">

            <androidx.constraintlayout.widget.ConstraintLayout
27
                android:layout_width="match_parent"
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
                android:layout_height="match_parent"
                android:layout_weight="1">

                <ImageView
                    android:id="@+id/img_displayResult_gif"
                    android:layout_width="match_parent"
                    android:layout_height="0dp"
                    android:layout_marginEnd="8dp"
                    android:contentDescription="Gif rigolo"
                    android:scaleType="fitCenter"
                    android:src="@drawable/abc_vector_test"
                    app:layout_constraintBottom_toTopOf="@+id/lbl_displayResult_gif"
                    app:layout_constraintEnd_toEndOf="parent"
                    app:layout_constraintStart_toStartOf="parent"
                    app:layout_constraintTop_toTopOf="parent" />

                <TextView
                    android:id="@+id/lbl_displayResult_gif"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:text="Click for more infos or more GIF"
                    android:textSize="14sp"
                    app:layout_constraintBottom_toBottomOf="parent"
                    app:layout_constraintEnd_toEndOf="parent"
                    app:layout_constraintStart_toStartOf="parent" />
            </androidx.constraintlayout.widget.ConstraintLayout>

            <LinearLayout
56
57
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
58
59
60
61
62
63
64
65
                android:layout_weight="1"
                android:orientation="vertical">

                <TextView
                    android:id="@+id/lbl_displayResult_class"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginEnd="32dp"
66
                    android:layout_marginBottom="16dp"
67
68
                    android:text="TextView"
                    android:textAppearance="@style/AppTextTitle"
Mathilde BALLOUHEY's avatar
Mathilde BALLOUHEY committed
69
                    android:textSize="22sp" />
70
71
72
73
74

                <TextView
                    android:id="@+id/lbl_displayResult_description"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
75
                    android:layout_marginBottom="16dp"
76
77
                    android:text="TextView" />

78
79
80
81
82
83
84
85
                <TextView
                    android:id="@+id/lbl_displayResult_system"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginBottom="16dp"
                    android:text="TextView"
                    android:textColor="#97FFFFFF" />

86
87
88
89
                <com.google.android.material.floatingactionbutton.FloatingActionButton
                    android:id="@+id/btn_displayResult_favourite"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
90
                    android:layout_gravity="right"
91
92
93
94
95
96
97
                    android:backgroundTint="@color/transparence"
                    android:clickable="true"
                    app:elevation="0px"
                    app:fabSize="auto"
                    app:rippleColor="@color/transparence"
                    app:srcCompat="@drawable/ic_baseline_star_border_24" />
            </LinearLayout>
98
        </LinearLayout>
99
100


101
        <TextView
102
            android:id="@+id/lbl_displayResult_titlePersonnality"
103
104
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
105
            android:layout_marginTop="32dp"
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
            android:text="Personality"
            app:layout_constraintStart_toStartOf="@+id/linearLayout2"
            app:layout_constraintTop_toBottomOf="@+id/linearLayout2" />

        <TextView
            android:id="@+id/lbl_displayResult_personality"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_marginStart="16dp"
            android:layout_marginTop="8dp"
            android:text="TextView"
            app:layout_constraintEnd_toEndOf="@+id/linearLayout2"
            app:layout_constraintStart_toStartOf="@+id/lbl_displayResult_titlePersonnality"
            app:layout_constraintTop_toBottomOf="@+id/lbl_displayResult_titlePersonnality" />

        <TextView
            android:id="@+id/lbl_displayResult_titleCaracteristics"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="24dp"
126
127
128
            android:text="Caracteristics"
            android:textSize="20sp"
            app:layout_constraintStart_toStartOf="@+id/linearLayout2"
129
            app:layout_constraintTop_toBottomOf="@+id/lbl_displayResult_personality" />
130
131

        <LinearLayout
132
133
            android:id="@+id/linearLayout"
            android:layout_width="0dp"
134
            android:layout_height="wrap_content"
135
136
137
138
139
140
141
142
143
            android:layout_marginStart="16dp"
            android:layout_marginTop="8dp"
            android:orientation="horizontal"
            app:layout_constraintEnd_toEndOf="@+id/linearLayout2"
            app:layout_constraintStart_toStartOf="@+id/lbl_displayResult_titleCaracteristics"
            app:layout_constraintTop_toBottomOf="@+id/lbl_displayResult_titleCaracteristics">

            <LinearLayout
                android:layout_width="wrap_content"
144
                android:layout_height="wrap_content"
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
                android:layout_weight="1"
                android:orientation="vertical">

                <TextView
                    android:id="@+id/lbl_displayResult_str"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:text="TextView" />

                <TextView
                    android:id="@+id/lbl_displayResult_dex"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:text="TextView" />
            </LinearLayout>

            <LinearLayout
                android:layout_width="wrap_content"
163
                android:layout_height="wrap_content"
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
                android:layout_weight="1"
                android:orientation="vertical">

                <TextView
                    android:id="@+id/lbl_displayResult_int"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:text="TextView" />

                <TextView
                    android:id="@+id/lbl_displayResult_con"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:text="TextView" />
            </LinearLayout>

            <LinearLayout
                android:layout_width="wrap_content"
182
                android:layout_height="wrap_content"
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
                android:layout_weight="1"
                android:orientation="vertical">

                <TextView
                    android:id="@+id/lbl_displayResult_wis"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:text="TextView" />

                <TextView
                    android:id="@+id/lbl_displayResult_cha"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:text="TextView" />
            </LinearLayout>
198
199
200

        </LinearLayout>

201
202
203
204
        <TextView
            android:id="@+id/lbl_displayResult_titleSkills"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
205
            android:layout_marginTop="24dp"
206
207
208
209
210
211
212
213
214
215
216
217
218
            android:text="Skills"
            android:textSize="20sp"
            app:layout_constraintStart_toStartOf="@+id/lbl_displayResult_titleCaracteristics"
            app:layout_constraintTop_toBottomOf="@+id/linearLayout" />

        <TextView
            android:id="@+id/lbl_displayResult_skills"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_marginStart="16dp"
            android:layout_marginTop="8dp"
            android:text="TextView"
            app:layout_constraintEnd_toEndOf="@+id/linearLayout"
219
            app:layout_constraintStart_toStartOf="@+id/lbl_displayResult_titleSkills"
220
221
            app:layout_constraintTop_toBottomOf="@+id/lbl_displayResult_titleSkills" />

222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
        <TextView
            android:id="@+id/lbl_displayRsult_titleSpells"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="24dp"
            android:text="Spells"
            app:layout_constraintStart_toStartOf="@+id/lbl_displayResult_titleSkills"
            app:layout_constraintTop_toBottomOf="@+id/lbl_displayResult_skills" />

        <TextView
            android:id="@+id/lbl_displayResult_spells"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_marginStart="16dp"
            android:layout_marginTop="8dp"
            android:text="TextView"
            app:layout_constraintEnd_toEndOf="@+id/lbl_displayResult_skills"
            app:layout_constraintStart_toStartOf="@+id/lbl_displayRsult_titleSpells"
            app:layout_constraintTop_toBottomOf="@+id/lbl_displayRsult_titleSpells" />

242
243
244
245
        <TextView
            android:id="@+id/lbl_displayResult_titleEquipements"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
246
            android:layout_marginTop="24dp"
247
248
249
            android:text="Equipements"
            android:textSize="20sp"
            app:layout_constraintStart_toStartOf="@+id/lbl_displayResult_titleSkills"
250
            app:layout_constraintTop_toBottomOf="@+id/lbl_displayResult_spells" />
251
252
253
254
255

        <TextView
            android:id="@+id/lbl_displayResult_equipements"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
256
            android:layout_marginStart="16dp"
257
258
259
            android:layout_marginTop="8dp"
            android:text="TextView"
            app:layout_constraintEnd_toEndOf="@+id/lbl_displayResult_skills"
260
            app:layout_constraintStart_toStartOf="@+id/lbl_displayResult_titleEquipements"
261
262
            app:layout_constraintTop_toBottomOf="@+id/lbl_displayResult_titleEquipements" />

263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
        <TextView
            android:id="@+id/lbl_displatResult_titleSaves"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="24dp"
            android:text="Saves"
            app:layout_constraintStart_toStartOf="@+id/lbl_displayResult_titleEquipements"
            app:layout_constraintTop_toBottomOf="@+id/lbl_displayResult_equipements" />

        <TextView
            android:id="@+id/lbl_displayResult_saves"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_marginStart="16dp"
            android:layout_marginTop="8dp"
            android:text="TextView"
            app:layout_constraintEnd_toEndOf="@+id/lbl_displayResult_equipements"
            app:layout_constraintStart_toStartOf="@+id/lbl_displatResult_titleSaves"
            app:layout_constraintTop_toBottomOf="@+id/lbl_displatResult_titleSaves" />

283
284
    </androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>