Blame view

app/src/main/res/layout/tutorial3_display.xml 2.96 KB
4d5786fb   aarnaude   ajout scene 3 : d...
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
  <?xml version="1.0" encoding="utf-8"?>
  <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/tut3"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical">
  
      <TextView
          android:id="@+id/text3"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_centerHorizontal="true"
          android:layout_margin="20dp"
          android:text="Associe les carrés de même couleur ensemble."
          android:textSize="15sp" />
  
      <ImageView
          android:id="@+id/blue_rectangle31"
          android:layout_width="50dp"
          android:layout_height="50dp"
          android:layout_alignParentStart="true"
          android:layout_below="@id/text3"
          android:layout_margin="50dp"
          android:background="@drawable/blue_rectangle" />
  
  
      <ImageView
          android:id="@+id/red_rectangle31"
          android:layout_width="50dp"
          android:layout_height="50dp"
          android:layout_alignParentEnd="true"
          android:layout_below="@id/text3"
          android:layout_margin="50dp"
          android:background="@drawable/red_rectangle"
          android:nextFocusRight="@id/blue_rectangle31" />
  
      <ImageView
          android:id="@+id/green_rectangle31"
          android:layout_width="50dp"
          android:layout_height="50dp"
          android:layout_alignParentStart="true"
          android:layout_below="@id/blue_rectangle31"
          android:layout_margin="50dp"
          android:background="@drawable/green_rectangle" />
  
  
      <ImageView
          android:id="@+id/red_rectangle32"
          android:layout_width="50dp"
          android:layout_height="50dp"
          android:layout_alignParentEnd="true"
          android:layout_below="@id/red_rectangle31"
          android:layout_margin="50dp"
          android:background="@drawable/red_rectangle"
          android:nextFocusRight="@id/green_rectangle31" />
  
      <ImageView
          android:id="@+id/blue_rectangle32"
          android:layout_width="50dp"
          android:layout_height="50dp"
          android:layout_alignParentStart="true"
          android:layout_below="@id/green_rectangle31"
          android:layout_margin="50dp"
          android:background="@drawable/blue_rectangle" />
  
      <ImageView
          android:id="@+id/green_rectangle32"
          android:layout_width="50dp"
          android:layout_height="50dp"
          android:layout_alignParentEnd="true"
          android:layout_below="@id/red_rectangle32"
          android:layout_margin="50dp"
          android:background="@drawable/green_rectangle"
          android:nextFocusRight="@id/blue_rectangle32" />
  
      <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" />
  
  </RelativeLayout>