Blame view

partieAndroid/res/layout/modif_layout.xml 3.3 KB
b8e00f52   martin.rohmer   mise à dispositio...
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
  <?xml version="1.0" encoding="utf-8"?>

  <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"

      android:layout_width="match_parent" android:layout_height="match_parent"

      android:id="@+id/modif_layout">

  

      <ImageView

          android:layout_width="100dp"

          android:layout_height="100dp"

          android:id="@+id/logo"

          android:adjustViewBounds="true"

          android:background="@color/colorPrimaryDark"

          android:scaleType="fitCenter"

          android:layout_alignParentLeft="true"

          android:layout_alignParentStart="true"/>

  

      <TextView

          android:layout_width="wrap_content"

          android:layout_height="wrap_content"

          android:id="@+id/nom1"

          android:layout_toRightOf="@id/logo"

          android:layout_alignTop="@id/logo"

          android:textSize="25dp"

          android:layout_marginLeft="5dp"

          android:textColor="@color/colorAccent"/>

  

      <TextView

          android:layout_width="wrap_content"

          android:layout_height="wrap_content"

          android:id="@+id/nom2"

          android:layout_below="@id/nom1"

          android:textSize="20dp"

          android:layout_alignBottom="@id/logo"

          android:layout_toRightOf="@id/logo"

          android:layout_marginLeft="5dp"/>

  

      <ImageButton

          android:layout_width="50dp"

          android:layout_height="50dp"

          android:id="@+id/infoMedoc"

          android:layout_alignParentRight="true"

          android:layout_below="@+id/nom2"

          android:src="@drawable/info"

          android:adjustViewBounds="true"

          android:background="@color/colorPrimary"

          android:scaleType="fitCenter"

          android:onClick="onClickInfos"/>

  

      <ListView

          android:layout_width="match_parent"

          android:layout_height="wrap_content"

          android:id="@+id/listePrises"

          android:layout_below="@+id/texte"/>

  

      <ImageButton

          android:layout_width="60dp"

          android:layout_height="60dp"

          android:id="@+id/buttonChecked"

          android:src="@drawable/checked"

          android:adjustViewBounds="true"

          android:scaleType="fitCenter"

          android:background="@color/colorPrimary"

          android:onClick="onClickRetour"

          android:layout_marginBottom="10dp"

          android:layout_alignParentBottom="true"

          android:layout_alignParentRight="true" />

  

      <TextView

          android:layout_width="wrap_content"

          android:layout_height="wrap_content"

          android:id="@+id/texte"

          android:textSize="20dp"

          android:textColor="@color/colorAccent"

          android:text="@string/modif1"

          android:layout_alignBottom="@+id/infoMedoc"

          android:layout_alignParentLeft="true"

          android:layout_alignParentStart="true" />

  

      <ImageButton

          android:layout_width="60dp"

          android:layout_height="60dp"

          android:id="@+id/buttonAjoutPrise"

          android:src="@drawable/plus"

          android:adjustViewBounds="true"

          android:scaleType="fitCenter"

          android:background="@color/colorPrimary"

          android:onClick="onClickAjoutPrise"

          android:layout_above="@+id/buttonChecked"

          android:layout_alignParentRight="true"

          android:layout_alignParentEnd="true"

          android:layout_marginBottom="10dp"/>

  

  </RelativeLayout>