theme_display.xml
3.3 KB
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
<?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:background="@color/colorPrimary">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@id/button_id_home"
android:orientation="horizontal"
android:weightSum="2">
<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_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" />
<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" />
<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" />
</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>
<Button
android:id="@+id/button_id_home"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:onClick="backHome"
android:text="@string/home"
android:textAppearance="@style/TextFont" />
</RelativeLayout>