1
|
<?xml version="1.0" encoding="utf-8"?>
|
2
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
3
|
android:id="@+id/relativeLayout"
|
4
|
android:layout_width="match_parent"
|
5
|
android:layout_height="match_parent"
|
6
|
android:weightSum="1.0"
|
7
|
android:orientation="vertical">
|
8
|
|
9
|
<LinearLayout
|
10
|
android:id="@+id/hiddenBar"
|
11
|
android:layout_width="match_parent"
|
12
|
android:layout_height="0dp"
|
13
|
android:layout_weight="0.00"
|
14
|
android:gravity="center"
|
15
|
android:orientation="horizontal"
|
16
|
android:background="?darkC">
|
17
|
</LinearLayout>
|
18
|
|
19
|
<LinearLayout
|
20
|
android:id="@+id/upperBar"
|
21
|
android:layout_width="match_parent"
|
22
|
android:layout_height="0dp"
|
23
|
android:layout_weight="0.08"
|
24
|
android:gravity="center"
|
25
|
android:weightSum="1.0"
|
26
|
android:orientation="horizontal"
|
27
|
android:background="?darkC"
|
28
|
android:baselineAligned="false">
|
29
|
|
30
|
<LinearLayout
|
31
|
android:layout_width="0dp"
|
32
|
android:layout_height="match_parent"
|
33
|
android:layout_weight="0.2"
|
34
|
android:orientation="horizontal"
|
35
|
android:gravity="center"
|
36
|
android:background="@android:color/transparent">
|
37
|
|
38
|
<ImageButton
|
39
|
android:id="@+id/buttonScores"
|
40
|
android:adjustViewBounds="true"
|
41
|
android:scaleType="fitCenter"
|
42
|
android:layout_width="wrap_content"
|
43
|
android:layout_height="match_parent"
|
44
|
android:onClick="onScores"
|
45
|
android:background="@android:color/transparent"
|
46
|
android:src="@drawable/ui_podium"/>
|
47
|
|
48
|
</LinearLayout>
|
49
|
|
50
|
<LinearLayout
|
51
|
android:layout_width="0dp"
|
52
|
android:layout_height="match_parent"
|
53
|
android:layout_weight="0.6"
|
54
|
android:orientation="horizontal"
|
55
|
android:gravity="center"
|
56
|
android:background="@android:color/transparent">
|
57
|
|
58
|
<ImageButton
|
59
|
android:id="@+id/buttonSettings"
|
60
|
android:adjustViewBounds="true"
|
61
|
android:scaleType="fitCenter"
|
62
|
android:layout_width="wrap_content"
|
63
|
android:layout_height="match_parent"
|
64
|
android:onClick="onSettings"
|
65
|
android:background="@android:color/transparent"
|
66
|
android:src="@drawable/ui_settings"/>
|
67
|
|
68
|
</LinearLayout>
|
69
|
|
70
|
<LinearLayout
|
71
|
android:layout_width="0dp"
|
72
|
android:layout_height="match_parent"
|
73
|
android:layout_weight="0.2"
|
74
|
android:orientation="horizontal"
|
75
|
android:gravity="center"
|
76
|
android:background="@android:color/transparent">
|
77
|
|
78
|
<ImageButton
|
79
|
android:id="@+id/buttonBandage"
|
80
|
android:adjustViewBounds="true"
|
81
|
android:scaleType="fitCenter"
|
82
|
android:layout_width="wrap_content"
|
83
|
android:layout_height="match_parent"
|
84
|
android:onClick="onBandage"
|
85
|
android:background="@android:color/transparent"
|
86
|
android:src="@drawable/ui_bandaged"/>
|
87
|
|
88
|
</LinearLayout>
|
89
|
|
90
|
</LinearLayout>
|
91
|
|
92
|
<ScrollView
|
93
|
android:id="@+id/objectScroll"
|
94
|
android:layout_width="match_parent"
|
95
|
android:layout_height="0dp"
|
96
|
android:layout_weight="0.84"
|
97
|
android:background="?lightC">
|
98
|
</ScrollView>
|
99
|
|
100
|
<LinearLayout
|
101
|
android:id="@+id/lowerBar"
|
102
|
android:layout_width="match_parent"
|
103
|
android:layout_height="0dp"
|
104
|
android:layout_weight="0.08"
|
105
|
android:orientation="horizontal"
|
106
|
android:background="?darkC">
|
107
|
|
108
|
<RelativeLayout
|
109
|
android:id="@+id/bottomLayout"
|
110
|
android:layout_width="match_parent"
|
111
|
android:layout_height="match_parent"
|
112
|
android:paddingEnd="10dp"
|
113
|
android:paddingStart="10dp">
|
114
|
|
115
|
<ImageButton
|
116
|
android:id="@+id/buttonAbout"
|
117
|
android:layout_alignParentStart="true"
|
118
|
android:adjustViewBounds="true"
|
119
|
android:scaleType="fitCenter"
|
120
|
android:layout_width="wrap_content"
|
121
|
android:layout_height="match_parent"
|
122
|
android:onClick="onAbout"
|
123
|
android:background="@android:color/transparent"
|
124
|
android:src="@drawable/ui_info"/>
|
125
|
|
126
|
<ImageButton
|
127
|
android:id="@+id/buttonUpdates"
|
128
|
android:layout_centerHorizontal="true"
|
129
|
android:adjustViewBounds="true"
|
130
|
android:scaleType="fitCenter"
|
131
|
android:layout_width="wrap_content"
|
132
|
android:layout_height="match_parent"
|
133
|
android:onClick="onUpdates"
|
134
|
android:background="@android:color/transparent"
|
135
|
android:src="@drawable/ui_download"/>
|
136
|
|
137
|
<TextView
|
138
|
android:id="@+id/bubbleUpdates"
|
139
|
android:adjustViewBounds="true"
|
140
|
android:layout_width="wrap_content"
|
141
|
android:layout_height="wrap_content"
|
142
|
android:layout_alignTop="@+id/buttonUpdates"
|
143
|
android:layout_alignEnd="@+id/buttonUpdates"
|
144
|
android:scaleType="fitCenter"
|
145
|
android:textColor="#FFF"
|
146
|
android:textSize="16sp"
|
147
|
android:textStyle="bold"
|
148
|
android:background="@drawable/badge_circle"/>
|
149
|
|
150
|
<ImageButton
|
151
|
android:id="@+id/buttonExit"
|
152
|
android:adjustViewBounds="true"
|
153
|
android:layout_alignParentEnd="true"
|
154
|
android:scaleType="fitCenter"
|
155
|
android:layout_width="wrap_content"
|
156
|
android:layout_height="match_parent"
|
157
|
android:onClick="onExit"
|
158
|
android:background="@android:color/transparent"
|
159
|
android:src="@drawable/ui_exit"/>
|
160
|
|
161
|
</RelativeLayout>
|
162
|
|
163
|
</LinearLayout>
|
164
|
|
165
|
</LinearLayout>
|