Blame view

app/src/main/res/layout/tutorial2_display.xml 1.39 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"
713264a5   aarnaude   ajout drag n drop...
11
          android:layout_margin="5dp"
99fbb132   aarnaude   resolution bug dr...
12
13
14
          android:layout_centerHorizontal="true"
          android:text="Fais glisser le rectangle bleu sur le rectangle rouge."
          android:textSize="15sp" />
d55d5943   aarnaude   resolution Bravo
15
  
713264a5   aarnaude   ajout drag n drop...
16
17
18
19
20
      <ImageView
          android:id="@+id/blue_rectangle"
          android:layout_width="50dp"
          android:layout_height="50dp"
          android:layout_margin="50dp"
99fbb132   aarnaude   resolution bug dr...
21
22
          android:layout_centerHorizontal="true"
          android:background="@drawable/blue_rectangle" />
713264a5   aarnaude   ajout drag n drop...
23
  
713264a5   aarnaude   ajout drag n drop...
24
  
99fbb132   aarnaude   resolution bug dr...
25
26
27
28
29
30
      <ImageView
          android:id="@+id/red_rectangle"
          android:layout_width="50dp"
          android:layout_height="50dp"
          android:layout_centerInParent="true"
          android:background="@drawable/red_rectangle" />
713264a5   aarnaude   ajout drag n drop...
31
  
99fbb132   aarnaude   resolution bug dr...
32
33
34
35
36
37
38
39
40
      <Button
          android:id="@+id/button_id_home"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true"
          android:layout_alignParentLeft="true"
          android:layout_margin="5dp"
          android:onClick="backHome"
          android:text="@string/home" />
d55d5943   aarnaude   resolution Bravo
41
42
  
  </RelativeLayout>