Blame view

app/src/main/res/layout/theme_display.xml 3.3 KB
6b23e70e   aarnaude   first commit
1
2
3
4
  <?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"
a5c66bd7   aarnaude   modif boutons/typ...
5
      android:background="@color/colorPrimary">
6b23e70e   aarnaude   first commit
6
  
a5c66bd7   aarnaude   modif boutons/typ...
7
8
9
10
11
12
      <LinearLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_above="@id/button_id_home"
          android:orientation="horizontal"
          android:weightSum="2">
6b23e70e   aarnaude   first commit
13
  
a5c66bd7   aarnaude   modif boutons/typ...
14
15
16
17
18
19
          <LinearLayout
              android:layout_width="0dp"
              android:layout_height="match_parent"
              android:layout_weight="1"
              android:orientation="vertical"
              android:weightSum="3">
6b23e70e   aarnaude   first commit
20
  
a5c66bd7   aarnaude   modif boutons/typ...
21
22
23
24
25
26
27
28
              <Button
                  android:id="@+id/button_id_health"
                  android:layout_width="match_parent"
                  android:layout_height="0dp"
                  android:layout_weight="1"
                  android:onClick="healthPage"
                  android:text="@string/health"
                  android:textAppearance="@style/TextFont" />
6b23e70e   aarnaude   first commit
29
  
a5c66bd7   aarnaude   modif boutons/typ...
30
31
32
33
34
35
36
              <Button
                  android:id="@+id/button_id_security"
                  android:layout_width="match_parent"
                  android:layout_height="0dp"
                  android:layout_weight="1"
                  android:text="@string/security"
                  android:textAppearance="@style/TextFont" />
6b23e70e   aarnaude   first commit
37
  
a5c66bd7   aarnaude   modif boutons/typ...
38
39
40
41
42
43
44
              <Button
                  android:id="@+id/button_id_sociability"
                  android:layout_width="match_parent"
                  android:layout_height="0dp"
                  android:layout_weight="1"
                  android:text="@string/sociability"
                  android:textAppearance="@style/TextFont" />
6b23e70e   aarnaude   first commit
45
  
a5c66bd7   aarnaude   modif boutons/typ...
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
          </LinearLayout>
  
          <LinearLayout
              android:layout_width="0dp"
              android:layout_height="match_parent"
              android:layout_weight="1"
              android:orientation="vertical"
              android:weightSum="3">
  
              <Button
                  android:id="@+id/button_id_hygiene"
                  android:layout_width="match_parent"
                  android:layout_height="0dp"
                  android:layout_weight="1"
                  android:onClick="hygienePage"
                  android:text="@string/hygiene"
                  android:textAppearance="@style/TextFont" />
  
  
              <Button
                  android:id="@+id/button_id_independence"
                  android:layout_width="match_parent"
                  android:layout_height="0dp"
                  android:layout_weight="1"
                  android:text="@string/independence"
                  android:textAppearance="@style/TextFont" />
  
  
              <Button
                  android:id="@+id/button_id_food"
                  android:layout_width="match_parent"
                  android:layout_height="0dp"
                  android:layout_weight="1"
                  android:onClick="foodPage"
                  android:text="@string/food"
                  android:textAppearance="@style/TextFont" />
  
          </LinearLayout>
      </LinearLayout>
6b23e70e   aarnaude   first commit
85
86
87
  
      <Button
          android:id="@+id/button_id_home"
a5c66bd7   aarnaude   modif boutons/typ...
88
          android:layout_width="match_parent"
6b23e70e   aarnaude   first commit
89
90
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true"
6b23e70e   aarnaude   first commit
91
          android:onClick="backHome"
a5c66bd7   aarnaude   modif boutons/typ...
92
93
          android:text="@string/home"
          android:textAppearance="@style/TextFont" />
6b23e70e   aarnaude   first commit
94
95
  
  </RelativeLayout>