Blame view

app/src/main/res/layout/theme_display.xml 3.39 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
              <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"
d87c7c33   aarnaude   last commit?
28
                  android:textAppearance="@style/TextButtonFont" />
6b23e70e   aarnaude   first commit
29
  
a5c66bd7   aarnaude   modif boutons/typ...
30
31
32
33
34
              <Button
                  android:id="@+id/button_id_security"
                  android:layout_width="match_parent"
                  android:layout_height="0dp"
                  android:layout_weight="1"
d87c7c33   aarnaude   last commit?
35
                  android:onClick="securityPage"
a5c66bd7   aarnaude   modif boutons/typ...
36
                  android:text="@string/security"
d87c7c33   aarnaude   last commit?
37
                  android:textAppearance="@style/TextButtonFont" />
6b23e70e   aarnaude   first commit
38
  
a5c66bd7   aarnaude   modif boutons/typ...
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"
d87c7c33   aarnaude   last commit?
45
                  android:textAppearance="@style/TextButtonFont" />
6b23e70e   aarnaude   first commit
46
  
a5c66bd7   aarnaude   modif boutons/typ...
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
          </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"
d87c7c33   aarnaude   last commit?
63
                  android:textAppearance="@style/TextButtonFont" />
a5c66bd7   aarnaude   modif boutons/typ...
64
65
66
67
68
69
70
71
  
  
              <Button
                  android:id="@+id/button_id_independence"
                  android:layout_width="match_parent"
                  android:layout_height="0dp"
                  android:layout_weight="1"
                  android:text="@string/independence"
d87c7c33   aarnaude   last commit?
72
                  android:textAppearance="@style/TextButtonFont" />
a5c66bd7   aarnaude   modif boutons/typ...
73
74
75
76
77
78
79
80
81
  
  
              <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"
d87c7c33   aarnaude   last commit?
82
                  android:textAppearance="@style/TextButtonFont" />
a5c66bd7   aarnaude   modif boutons/typ...
83
84
85
  
          </LinearLayout>
      </LinearLayout>
6b23e70e   aarnaude   first commit
86
87
88
  
      <Button
          android:id="@+id/button_id_home"
a5c66bd7   aarnaude   modif boutons/typ...
89
          android:layout_width="match_parent"
6b23e70e   aarnaude   first commit
90
91
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true"
6b23e70e   aarnaude   first commit
92
          android:onClick="backHome"
a5c66bd7   aarnaude   modif boutons/typ...
93
          android:text="@string/home"
d87c7c33   aarnaude   last commit?
94
          android:textAppearance="@style/TextButtonFont" />
6b23e70e   aarnaude   first commit
95
96
  
  </RelativeLayout>