Blame view

app/src/main/res/layout/tutorial4_display.xml 6.2 KB
48365340   aarnaude   ajout scène 4 tri...
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
  <?xml version="1.0" encoding="utf-8"?>
  <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/tut4"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical">
  
      <LinearLayout
          android:id="@+id/linear51"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:weightSum="3">
  
          <ImageView
              android:id="@+id/anchor_blue_rectangle"
              android:layout_width="match_parent"
              android:layout_height="300dp"
              android:layout_weight="1"
              android:background="@drawable/blue_rectangle" />
  
  
          <ImageView
              android:id="@+id/anchor_red_rectangle"
              android:layout_width="match_parent"
              android:layout_height="300dp"
              android:layout_weight="1"
              android:background="@drawable/red_rectangle"
              android:nextFocusRight="@id/anchor_blue_rectangle" />
  
          <ImageView
              android:id="@+id/anchor_green_rectangle"
              android:layout_width="match_parent"
              android:layout_height="300dp"
              android:layout_weight="1"
              android:background="@drawable/green_rectangle"
              android:nextFocusRight="@id/anchor_red_rectangle" />
  
      </LinearLayout>
  
      <ImageView
          android:id="@+id/blue_rectangle41"
          android:layout_width="70dp"
          android:layout_height="70dp"
          android:layout_alignParentStart="true"
          android:layout_below="@id/linear51"
          android:layout_margin="50dp"
          android:background="@drawable/blue_rectangle" />
  
  
      <ImageView
          android:id="@+id/red_rectangle41"
          android:layout_width="70dp"
          android:layout_height="70dp"
          android:layout_below="@id/linear51"
          android:layout_margin="50dp"
          android:layout_toEndOf="@id/blue_rectangle41"
          android:background="@drawable/red_rectangle" />
  
      <ImageView
          android:id="@+id/green_rectangle41"
          android:layout_width="70dp"
          android:layout_height="70dp"
          android:layout_below="@id/linear51"
          android:layout_margin="50dp"
          android:layout_toEndOf="@id/red_rectangle41"
          android:background="@drawable/green_rectangle" />
  
      <ImageView
          android:id="@+id/blue_rectangle42"
          android:layout_width="70dp"
          android:layout_height="70dp"
          android:layout_below="@id/linear51"
          android:layout_margin="50dp"
          android:layout_toEndOf="@id/green_rectangle41"
          android:background="@drawable/blue_rectangle" />
  
  
      <ImageView
          android:id="@+id/red_rectangle42"
          android:layout_width="70dp"
          android:layout_height="70dp"
          android:layout_below="@id/linear51"
          android:layout_margin="50dp"
          android:layout_toEndOf="@id/blue_rectangle42"
          android:background="@drawable/red_rectangle" />
  
      <ImageView
          android:id="@+id/green_rectangle42"
          android:layout_width="70dp"
          android:layout_height="70dp"
          android:layout_below="@id/linear51"
          android:layout_margin="50dp"
          android:layout_toEndOf="@id/red_rectangle42"
          android:background="@drawable/green_rectangle" />
  
  
      <ImageView
          android:id="@+id/red_rectangle43"
          android:layout_width="70dp"
          android:layout_height="70dp"
          android:layout_alignParentStart="true"
          android:layout_below="@id/blue_rectangle41"
          android:layout_margin="50dp"
          android:background="@drawable/red_rectangle" />
  
      <ImageView
          android:id="@+id/green_rectangle43"
          android:layout_width="70dp"
          android:layout_height="70dp"
          android:layout_below="@id/blue_rectangle41"
          android:layout_margin="50dp"
          android:layout_toEndOf="@id/red_rectangle43"
          android:background="@drawable/green_rectangle" />
  
      <ImageView
          android:id="@+id/blue_rectangle43"
          android:layout_width="70dp"
          android:layout_height="70dp"
          android:layout_below="@id/blue_rectangle41"
          android:layout_margin="50dp"
          android:layout_toEndOf="@id/green_rectangle43"
          android:background="@drawable/blue_rectangle" />
  
  
      <ImageView
          android:id="@+id/red_rectangle44"
          android:layout_width="70dp"
          android:layout_height="70dp"
          android:layout_below="@id/blue_rectangle41"
          android:layout_margin="50dp"
          android:layout_toEndOf="@id/blue_rectangle43"
          android:background="@drawable/red_rectangle" />
  
      <ImageView
          android:id="@+id/green_rectangle44"
          android:layout_width="70dp"
          android:layout_height="70dp"
          android:layout_below="@id/blue_rectangle41"
          android:layout_margin="50dp"
          android:layout_toEndOf="@id/red_rectangle44"
          android:background="@drawable/green_rectangle" />
  
  
      <ImageView
          android:id="@+id/blue_rectangle44"
          android:layout_width="70dp"
          android:layout_height="70dp"
          android:layout_below="@id/blue_rectangle41"
          android:layout_margin="50dp"
          android:layout_toEndOf="@id/green_rectangle44"
          android:background="@drawable/blue_rectangle" />
  
      <TextView
4fbbe27a   aarnaude   ajout de la fonct...
154
          android:id="@+id/cons_tut4"
48365340   aarnaude   ajout scène 4 tri...
155
156
157
158
159
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true"
          android:layout_centerHorizontal="true"
          android:layout_margin="20dp"
48365340   aarnaude   ajout scène 4 tri...
160
161
162
163
164
165
166
167
168
169
170
171
172
          android:textAppearance="@style/TextFont" />
  
  
      <Button
          android:id="@+id/button_id_home"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true"
          android:layout_alignParentStart="true"
          android:layout_margin="5dp"
          android:onClick="backHome"
          android:text="@string/home" />
  
4fbbe27a   aarnaude   ajout de la fonct...
173
174
175
176
177
178
179
180
181
      <Button
          android:id="@+id/announce_instruction"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true"
          android:layout_alignParentEnd="true"
          android:layout_margin="20dp"
          android:onClick="enonceConsigne"
          android:text="@string/instruction" />
48365340   aarnaude   ajout scène 4 tri...
182
  </RelativeLayout>