Blame view

app/src/main/res/layout/activity_main.xml 5.18 KB
af6964e6   Edmur LOPES   create new git
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
  <?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"
2d1b24f6   rcavalie   modifications pou...
31
          android:textSize="@dimen/txtmenu"
af6964e6   Edmur LOPES   create new git
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
          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"
2d1b24f6   rcavalie   modifications pou...
48
          android:textSize="@dimen/txtmenu"
af6964e6   Edmur LOPES   create new git
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
          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"
2d1b24f6   rcavalie   modifications pou...
65
          android:textSize="@dimen/txtmenu"
af6964e6   Edmur LOPES   create new git
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
          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"
2d1b24f6   rcavalie   modifications pou...
81
          android:textSize="@dimen/txtmenu"
af6964e6   Edmur LOPES   create new git
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
          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"
2d1b24f6   rcavalie   modifications pou...
97
          android:textSize="@dimen/txtmenu"
af6964e6   Edmur LOPES   create new git
98
99
100
101
102
103
104
105
106
107
108
109
110
          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"
4a09720e   rcavalie   finalisation du p...
111
112
113
114
115
          android:layout_alignParentTop="true"
          android:layout_alignParentLeft="true"
          android:layout_alignParentStart="true"
          android:layout_marginBottom="32dp"
          android:layout_alignBottom="@+id/telechargement" />
af6964e6   Edmur LOPES   create new git
116
117
118
  
      <Button
          android:id="@+id/telechargement"
af6964e6   Edmur LOPES   create new git
119
          android:layout_width="wrap_content"
4a09720e   rcavalie   finalisation du p...
120
121
122
123
          android:layout_height="wrap_content"
          android:backgroundTint="@color/colorPrimary"
          android:onClick="demande_mdp"
          android:text="Administrateur"
af6964e6   Edmur LOPES   create new git
124
          android:textColor="@android:color/background_light"
2d1b24f6   rcavalie   modifications pou...
125
          android:textSize="@dimen/txtmenu"
af6964e6   Edmur LOPES   create new git
126
          tools:ignore="HardcodedText,UnusedAttribute"
4a09720e   rcavalie   finalisation du p...
127
128
129
130
          android:layout_marginBottom="11dp"
          android:layout_above="@+id/hop_jour"
          android:layout_alignLeft="@+id/hop_jour"
          android:layout_alignStart="@+id/hop_jour" />
af6964e6   Edmur LOPES   create new git
131
132
  
  </RelativeLayout>