Blame view

app/src/main/res/layout/activity_main.xml 5.07 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
  <?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"
f7f76a9b   rcavalie   adaptation tablette
27
          android:background="@color/colorPrimary"
af6964e6   Edmur LOPES   create new git
28
29
30
          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
          tools:ignore="HardcodedText,UnusedAttribute"
          android:onClick="send_age2"
          android:layout_alignRight="@+id/age1"
          android:layout_alignEnd="@+id/age1"
          android:layout_alignLeft="@+id/age1"
f7f76a9b   rcavalie   adaptation tablette
37
          android:layout_alignStart="@+id/age1"/>
af6964e6   Edmur LOPES   create new git
38
39
40
41
42
43
  
      <Button
          android:text="14 - 18 ans"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:id="@+id/age3"
f7f76a9b   rcavalie   adaptation tablette
44
          android:background="@color/colorPrimary"
af6964e6   Edmur LOPES   create new git
45
46
47
          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
          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"
f7f76a9b   rcavalie   adaptation tablette
61
          android:background="@color/colorPrimary"
af6964e6   Edmur LOPES   create new git
62
63
64
          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
          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"
f7f76a9b   rcavalie   adaptation tablette
78
          android:background="@color/colorPrimary"
af6964e6   Edmur LOPES   create new git
79
          android:textColor="@android:color/background_light"
2d1b24f6   rcavalie   modifications pou...
80
          android:textSize="@dimen/txtmenu"
af6964e6   Edmur LOPES   create new git
81
82
83
84
85
86
87
88
89
90
          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"
f7f76a9b   rcavalie   adaptation tablette
91
          android:background="@color/colorPrimary"
af6964e6   Edmur LOPES   create new git
92
93
94
95
          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...
96
          android:textSize="@dimen/txtmenu"
af6964e6   Edmur LOPES   create new git
97
98
99
100
101
102
103
104
105
106
107
108
109
          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"
f7f76a9b   rcavalie   adaptation tablette
110
          android:layout_above="@+id/telechargement"
4a09720e   rcavalie   finalisation du p...
111
112
          android:layout_alignParentLeft="true"
          android:layout_alignParentStart="true"
f7f76a9b   rcavalie   adaptation tablette
113
          android:layout_marginBottom="12dp" />
af6964e6   Edmur LOPES   create new git
114
115
116
  
      <Button
          android:id="@+id/telechargement"
af6964e6   Edmur LOPES   create new git
117
          android:layout_width="wrap_content"
4a09720e   rcavalie   finalisation du p...
118
          android:layout_height="wrap_content"
f7f76a9b   rcavalie   adaptation tablette
119
          android:background="@color/colorPrimary"
4a09720e   rcavalie   finalisation du p...
120
121
          android:onClick="demande_mdp"
          android:text="Administrateur"
af6964e6   Edmur LOPES   create new git
122
          android:textColor="@android:color/background_light"
2d1b24f6   rcavalie   modifications pou...
123
          android:textSize="@dimen/txtmenu"
af6964e6   Edmur LOPES   create new git
124
          tools:ignore="HardcodedText,UnusedAttribute"
4a09720e   rcavalie   finalisation du p...
125
126
127
128
          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
129
130
  
  </RelativeLayout>