Blame view

app/src/main/res/layout/tutorial2_display.xml 1.62 KB
d55d5943   aarnaude   resolution Bravo
1
2
  <?xml version="1.0" encoding="utf-8"?>
  <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
99fbb132   aarnaude   resolution bug dr...
3
      android:id="@+id/tut2"
d55d5943   aarnaude   resolution Bravo
4
5
6
7
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical">
  
d55d5943   aarnaude   resolution Bravo
8
9
10
      <TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
c13d9bc3   aarnaude   activity consigne...
11
          android:layout_alignParentBottom="true"
99fbb132   aarnaude   resolution bug dr...
12
          android:layout_centerHorizontal="true"
c13d9bc3   aarnaude   activity consigne...
13
14
          android:maxWidth="500dp"
          android:layout_margin="20dp"
99fbb132   aarnaude   resolution bug dr...
15
          android:text="Fais glisser le rectangle bleu sur le rectangle rouge."
c13d9bc3   aarnaude   activity consigne...
16
          android:textAppearance="@style/TextFont" />
d55d5943   aarnaude   resolution Bravo
17
  
713264a5   aarnaude   ajout drag n drop...
18
19
      <ImageView
          android:id="@+id/blue_rectangle"
c13d9bc3   aarnaude   activity consigne...
20
21
22
23
24
          android:layout_width="70dp"
          android:layout_height="70dp"
          android:layout_alignParentStart="true"
          android:layout_centerVertical="true"
          android:layout_margin="100dp"
99fbb132   aarnaude   resolution bug dr...
25
          android:background="@drawable/blue_rectangle" />
713264a5   aarnaude   ajout drag n drop...
26
  
713264a5   aarnaude   ajout drag n drop...
27
  
99fbb132   aarnaude   resolution bug dr...
28
29
      <ImageView
          android:id="@+id/red_rectangle"
c13d9bc3   aarnaude   activity consigne...
30
31
32
33
34
          android:layout_width="70dp"
          android:layout_height="70dp"
          android:layout_alignParentEnd="true"
          android:layout_centerVertical="true"
          android:layout_margin="100dp"
99fbb132   aarnaude   resolution bug dr...
35
          android:background="@drawable/red_rectangle" />
713264a5   aarnaude   ajout drag n drop...
36
  
99fbb132   aarnaude   resolution bug dr...
37
38
39
40
41
      <Button
          android:id="@+id/button_id_home"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true"
4d5786fb   aarnaude   ajout scene 3 : d...
42
          android:layout_alignParentStart="true"
c13d9bc3   aarnaude   activity consigne...
43
          android:layout_margin="10dp"
99fbb132   aarnaude   resolution bug dr...
44
45
          android:onClick="backHome"
          android:text="@string/home" />
d55d5943   aarnaude   resolution Bravo
46
47
  
  </RelativeLayout>