Blame view

partieAndroid/res/layout/activity_main.xml 2.98 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
  <?xml version="1.0" encoding="utf-8"?>

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

      android:id="@+id/layoutMain"

      android:layout_width="match_parent"

      android:layout_height="match_parent">

  

      <ImageButton

          android:layout_width="50dp"

          android:layout_height="50dp"

          android:id="@+id/download"

          android:adjustViewBounds="true"

          android:src="@drawable/dl"

          android:background="@color/colorPrimary"

          android:scaleType="fitCenter"

          android:layout_alignParentLeft="true"

          android:onClick="onClickDownload"/>

  

      <ImageButton

          android:layout_width="50dp"

          android:layout_height="50dp"

          android:layout_alignParentRight="true"

          android:src="@drawable/vomi"

          android:adjustViewBounds="true"

          android:background="@color/colorPrimary"

          android:scaleType="fitCenter"

          android:onClick="onClickVomi"/>

  

      <TextView

          android:id="@+id/text1"

          android:layout_width="match_parent"

          android:layout_below="@id/download"

          android:layout_height="wrap_content"

          android:text="@string/menu1"

          android:textSize="25dp"

          android:layout_marginBottom="5dp"

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

  

      <TextView

          android:layout_width="match_parent"

          android:layout_height="wrap_content"

          android:id="@+id/présence"

          android:textColor="@color/colorAccent"

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

  

      <ListView

          android:layout_width="match_parent"

          android:layout_height="wrap_content"

          android:id="@+id/list1"

          android:layout_below="@+id/text1"

          android:layout_above="@+id/layout1_1"/>

  

      <LinearLayout

          android:id="@+id/layout1_1"

          android:layout_width="match_parent"

          android:layout_height="160dp"

          android:layout_alignParentBottom="true"

          android:layout_margin="2dp"

          android:orientation="horizontal">

  

          <ImageButton

              android:id="@+id/boutonMedoc"

              android:layout_width="match_parent"

              android:layout_height="match_parent"

              android:layout_weight="1"

              android:adjustViewBounds="true"

              android:background="@color/colorPrimaryDark"

              android:scaleType="fitCenter"

              android:src="@drawable/pills"

              android:onClick="onClickGestionMedoc"/>

  

          <ImageButton

              android:id="@+id/boutonHistorique"

              android:layout_width="match_parent"

              android:layout_height="match_parent"

              android:layout_marginLeft="5dp"

              android:layout_weight="1"

              android:onClick="onClickHistorique"

              android:adjustViewBounds="true"

              android:background="@color/colorPrimaryDark"

              android:scaleType="fitCenter"

              android:src="@drawable/schedule" />

      </LinearLayout>

  </RelativeLayout>