activity_main.xml
4.95 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
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/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin"
tools:context="ssrmarcsautelet.automation.appli.ssrmarcsautelet.MainActivity"
android:background="@color/colorPrimaryDark">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/textView5" />
<Button
android:text="7 - 13 ans"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/age2"
android:backgroundTint="@color/colorPrimary"
android:layout_marginBottom="76dp"
android:layout_above="@+id/savoir_plus"
android:textColor="@android:color/background_light"
android:textSize="24sp"
tools:ignore="HardcodedText,UnusedAttribute"
android:onClick="send_age2"
android:layout_alignRight="@+id/age1"
android:layout_alignEnd="@+id/age1"
android:layout_alignLeft="@+id/age1"
android:layout_alignStart="@+id/age1" />
<Button
android:text="14 - 18 ans"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/age3"
android:backgroundTint="@color/colorPrimary"
android:layout_above="@+id/savoir_plus"
android:layout_marginBottom="12dp"
android:textColor="@android:color/background_light"
android:textSize="24sp"
tools:ignore="HardcodedText,UnusedAttribute"
android:onClick="send_age3"
android:layout_alignLeft="@+id/age2"
android:layout_alignStart="@+id/age2"
android:layout_alignRight="@+id/age2"
android:layout_alignEnd="@+id/age2" />
<Button
android:text="3 - 6 ans"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/age1"
android:backgroundTint="@color/colorPrimary"
android:layout_marginBottom="15dp"
android:layout_above="@+id/age2"
android:textColor="@android:color/background_light"
android:textSize="24sp"
tools:ignore="HardcodedText,UnusedAttribute"
android:onClick="send_age1"
android:layout_alignRight="@+id/hop_jour"
android:layout_alignEnd="@+id/hop_jour"
android:layout_alignLeft="@+id/hop_jour"
android:layout_alignStart="@+id/hop_jour" />
<Button
android:text="@string/en_savoir_plus"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/savoir_plus"
android:backgroundTint="@color/colorPrimary"
android:layout_marginBottom="26dp"
android:textColor="@android:color/background_light"
android:textSize="24sp"
tools:ignore="UnusedAttribute"
android:onClick="send_savoirplus"
android:layout_alignParentBottom="true"
android:layout_alignLeft="@+id/age3"
android:layout_alignStart="@+id/age3"
android:layout_alignRight="@+id/age3"
android:layout_alignEnd="@+id/age3" />
<Button
android:text="Hôpital de jour"
android:backgroundTint="@color/colorPrimary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@android:color/background_light"
android:id="@+id/hop_jour"
android:textSize="24sp"
tools:ignore="HardcodedText,UnusedAttribute"
android:layout_marginBottom="15dp"
android:onClick="send_hop"
android:layout_above="@+id/age1"
android:layout_centerHorizontal="true" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@drawable/image"
android:id="@+id/imageView6"
tools:ignore="RtlHardcoded"
android:contentDescription="@string/ok"
android:layout_marginTop="59dp"
android:layout_below="@+id/textView5"
android:layout_centerHorizontal="true" />
<Button
android:id="@+id/telechargement"
android:backgroundTint="@color/colorPrimary"
android:layout_width="wrap_content"
android:textColor="@android:color/background_light"
android:textSize="24sp"
tools:ignore="HardcodedText,UnusedAttribute"
android:layout_height="wrap_content"
android:text="MàJ"
android:layout_alignBottom="@+id/savoir_plus"
android:layout_alignRight="@+id/imageView6"
android:layout_alignEnd="@+id/imageView6" />
</RelativeLayout>