Blame view

app/src/main/res/layout/security1_display.xml 4.31 KB
d87c7c33   aarnaude   last commit?
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
  <?xml version="1.0" encoding="utf-8"?>
  <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/sec1"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical">
  
      <LinearLayout
          android:id="@+id/l1"
          android:layout_width="match_parent"
          android:layout_height="200dp"
          android:layout_alignParentTop="true"
          android:layout_marginTop="20dp"
          android:orientation="horizontal"
          android:showDividers="middle"
          android:weightSum="4">
  
          <ImageView
              android:id="@+id/water"
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:layout_weight="1"
              android:adjustViewBounds="true"
              android:src="@drawable/water" />
  
          <ImageView
              android:id="@+id/knife"
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:layout_weight="1"
              android:adjustViewBounds="true"
              android:src="@drawable/knife" />
  
          <ImageView
              android:id="@+id/iron"
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:layout_weight="1"
              android:adjustViewBounds="true"
              android:src="@drawable/iron" />
  
          <ImageView
              android:id="@+id/bleach"
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:layout_weight="1"
              android:adjustViewBounds="true"
              android:src="@drawable/bleach" />
  
      </LinearLayout>
  
  
      <LinearLayout
          android:id="@+id/l2"
          android:layout_width="match_parent"
          android:layout_height="200dp"
          android:layout_below="@id/l1"
          android:layout_marginTop="20dp"
          android:orientation="horizontal"
          android:showDividers="middle"
          android:weightSum="4">
  
          <ImageView
              android:id="@+id/pan"
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:layout_gravity="bottom"
              android:layout_weight="1"
              android:adjustViewBounds="true"
              android:src="@drawable/pan" />
  
          <ImageView
              android:id="@+id/pen"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_weight="1"
              android:adjustViewBounds="true"
              android:src="@drawable/pen" />
  
          <ImageView
              android:id="@+id/drugs"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_weight="1"
              android:adjustViewBounds="true"
              android:src="@drawable/drugs" />
  
          <ImageView
              android:id="@+id/bear"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_weight="1"
              android:adjustViewBounds="true"
              android:src="@drawable/bear" />
      </LinearLayout>
  
      <LinearLayout
          android:id="@+id/ll"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_margin="10dp"
          android:weightSum="12"
          android:layout_alignParentBottom="true">
  
          <Button
              android:id="@+id/button_id_home"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_weight="1"
              android:onClick="backHome"
              android:text="@string/home"
              android:textAppearance="@style/TextButtonFont" />
  
          <TextView
              android:id="@+id/cons_sec1"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_weight="10"
              android:textAppearance="@style/TextFont" />
  
          <Button
              android:id="@+id/announce_instruction"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:onClick="enonceConsigne"
              android:layout_weight="1"
              android:text="@string/instruction"
              android:textAppearance="@style/TextButtonFont" />
      </LinearLayout>
  
  </RelativeLayout>