1
|
<?xml version="1.0" encoding="utf-8"?>
|
2
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
3
|
android:id="@+id/menuGrid"
|
4
|
android:layout_width="wrap_content"
|
5
|
android:layout_height="wrap_content"
|
6
|
android:gravity="center"
|
7
|
android:orientation="vertical">
|
8
|
|
9
|
<Button
|
10
|
android:id="@+id/menuStars"
|
11
|
android:text="@string/stars"
|
12
|
android:layout_width="match_parent"
|
13
|
android:layout_height="0dp"
|
14
|
android:layout_weight="1.0"
|
15
|
android:paddingRight="10dp"
|
16
|
android:paddingLeft="10dp"
|
17
|
android:singleLine="true"
|
18
|
android:backgroundTint="@color/dark_grey"
|
19
|
android:gravity="center"/>
|
20
|
|
21
|
<Button
|
22
|
android:id="@+id/menuSolver"
|
23
|
android:text="@string/solver"
|
24
|
android:layout_width="match_parent"
|
25
|
android:layout_height="0dp"
|
26
|
android:layout_weight="1.0"
|
27
|
android:paddingRight="10dp"
|
28
|
android:paddingLeft="10dp"
|
29
|
android:singleLine="true"
|
30
|
android:backgroundTint="@color/dark_grey"
|
31
|
android:gravity="center"/>
|
32
|
|
33
|
<Button
|
34
|
android:id="@+id/menuHighScores"
|
35
|
android:text="@string/scores"
|
36
|
android:layout_width="match_parent"
|
37
|
android:layout_height="0dp"
|
38
|
android:layout_weight="1.0"
|
39
|
android:paddingRight="10dp"
|
40
|
android:paddingLeft="10dp"
|
41
|
android:singleLine="true"
|
42
|
android:backgroundTint="@color/dark_grey"
|
43
|
android:gravity="center"/>
|
44
|
|
45
|
<Button
|
46
|
android:id="@+id/menuPrettyPatterns"
|
47
|
android:text="@string/patterns"
|
48
|
android:layout_width="match_parent"
|
49
|
android:layout_height="0dp"
|
50
|
android:layout_weight="1.0"
|
51
|
android:paddingRight="10dp"
|
52
|
android:paddingLeft="10dp"
|
53
|
android:singleLine="true"
|
54
|
android:backgroundTint="@color/dark_grey"
|
55
|
android:gravity="center"/>
|
56
|
|
57
|
<Button
|
58
|
android:id="@+id/menuTutorials"
|
59
|
android:text="@string/tutorials"
|
60
|
android:layout_width="match_parent"
|
61
|
android:layout_height="0dp"
|
62
|
android:layout_weight="1.0"
|
63
|
android:paddingRight="10dp"
|
64
|
android:paddingLeft="10dp"
|
65
|
android:singleLine="true"
|
66
|
android:backgroundTint="@color/dark_grey"
|
67
|
android:gravity="center"/>
|
68
|
|
69
|
<Button
|
70
|
android:id="@+id/menuBandaged"
|
71
|
android:text="@string/bandaged"
|
72
|
android:layout_width="match_parent"
|
73
|
android:layout_height="0dp"
|
74
|
android:layout_weight="1.0"
|
75
|
android:paddingRight="10dp"
|
76
|
android:paddingLeft="10dp"
|
77
|
android:singleLine="true"
|
78
|
android:backgroundTint="@color/dark_grey"
|
79
|
android:gravity="center"/>
|
80
|
|
81
|
<Button
|
82
|
android:id="@+id/menuNew"
|
83
|
android:text="@string/whatsnew"
|
84
|
android:layout_width="match_parent"
|
85
|
android:layout_height="0dp"
|
86
|
android:layout_weight="1.0"
|
87
|
android:paddingRight="10dp"
|
88
|
android:paddingLeft="10dp"
|
89
|
android:singleLine="true"
|
90
|
android:backgroundTint="@color/dark_grey"
|
91
|
android:gravity="center"/>
|
92
|
|
93
|
<TextView
|
94
|
android:id="@+id/menuLevels"
|
95
|
android:layout_width="match_parent"
|
96
|
android:text="@string/levels"
|
97
|
android:layout_height="0dp"
|
98
|
android:layout_weight="0.6"
|
99
|
android:gravity="center"/>
|
100
|
|
101
|
<LinearLayout
|
102
|
android:layout_width="match_parent"
|
103
|
android:layout_height="0dp"
|
104
|
android:layout_weight="1.0"
|
105
|
android:gravity="center"
|
106
|
android:orientation="horizontal">
|
107
|
|
108
|
<Button
|
109
|
android:id="@+id/level1"
|
110
|
android:text="@string/level1"
|
111
|
android:layout_width="30dp"
|
112
|
android:layout_height="30dp"
|
113
|
android:paddingRight="10dp"
|
114
|
android:paddingLeft="10dp"
|
115
|
android:backgroundTint="@color/dark_grey"/>
|
116
|
<Button
|
117
|
android:id="@+id/level2"
|
118
|
android:text="@string/level2"
|
119
|
android:layout_width="30dp"
|
120
|
android:layout_height="30dp"
|
121
|
android:paddingRight="10dp"
|
122
|
android:paddingLeft="10dp"
|
123
|
android:backgroundTint="@color/dark_grey"/>
|
124
|
<Button
|
125
|
android:id="@+id/level3"
|
126
|
android:text="@string/level3"
|
127
|
android:layout_width="30dp"
|
128
|
android:layout_height="30dp"
|
129
|
android:paddingRight="10dp"
|
130
|
android:paddingLeft="10dp"
|
131
|
android:backgroundTint="@color/dark_grey"/>
|
132
|
</LinearLayout>
|
133
|
|
134
|
<LinearLayout
|
135
|
android:layout_width="match_parent"
|
136
|
android:layout_height="0dp"
|
137
|
android:layout_weight="1.0"
|
138
|
android:gravity="center"
|
139
|
android:orientation="horizontal">
|
140
|
|
141
|
<Button
|
142
|
android:id="@+id/level4"
|
143
|
android:text="@string/level4"
|
144
|
android:layout_width="30dp"
|
145
|
android:layout_height="30dp"
|
146
|
android:paddingRight="10dp"
|
147
|
android:paddingLeft="10dp"
|
148
|
android:backgroundTint="@color/dark_grey"/>
|
149
|
<Button
|
150
|
android:id="@+id/level5"
|
151
|
android:text="@string/level5"
|
152
|
android:layout_width="30dp"
|
153
|
android:layout_height="30dp"
|
154
|
android:paddingRight="10dp"
|
155
|
android:paddingLeft="10dp"
|
156
|
android:backgroundTint="@color/dark_grey"/>
|
157
|
<Button
|
158
|
android:id="@+id/level6"
|
159
|
android:text="@string/level6"
|
160
|
android:layout_width="30dp"
|
161
|
android:layout_height="30dp"
|
162
|
android:paddingRight="10dp"
|
163
|
android:paddingLeft="10dp"
|
164
|
android:backgroundTint="@color/dark_grey"/>
|
165
|
</LinearLayout>
|
166
|
|
167
|
<LinearLayout
|
168
|
android:layout_width="match_parent"
|
169
|
android:layout_height="0dp"
|
170
|
android:layout_weight="1.0"
|
171
|
android:gravity="center"
|
172
|
android:orientation="horizontal">
|
173
|
|
174
|
<Button
|
175
|
android:id="@+id/level7"
|
176
|
android:text="@string/level7"
|
177
|
android:layout_width="30dp"
|
178
|
android:layout_height="30dp"
|
179
|
android:paddingRight="10dp"
|
180
|
android:paddingLeft="10dp"
|
181
|
android:backgroundTint="@color/dark_grey"/>
|
182
|
<Button
|
183
|
android:id="@+id/level8"
|
184
|
android:text="@string/level8"
|
185
|
android:layout_width="30dp"
|
186
|
android:layout_height="30dp"
|
187
|
android:paddingRight="10dp"
|
188
|
android:paddingLeft="10dp"
|
189
|
android:backgroundTint="@color/dark_grey"/>
|
190
|
<Button
|
191
|
android:id="@+id/levelM"
|
192
|
android:text="@string/levelM"
|
193
|
android:layout_width="30dp"
|
194
|
android:layout_height="30dp"
|
195
|
android:paddingRight="10dp"
|
196
|
android:paddingLeft="10dp"
|
197
|
android:backgroundTint="@color/dark_grey"/>
|
198
|
</LinearLayout>
|
199
|
</LinearLayout>
|