10
10
android : layout_height =" match_parent"
11
11
android : weightSum =" 1" >
12
12
13
- <Button
13
+ <TextView
14
14
android : layout_width =" wrap_content"
15
15
android : layout_height =" wrap_content"
16
- android : text =" @string/button_complete_plasma_leak_minigame"
17
- android : layout_marginBottom =" 20dp"
18
- android : onClick =" complete"
19
- android : id =" @+id/button_complete_plasma"
20
- android : layout_alignParentBottom =" true"
21
- android : layout_centerHorizontal =" true" />
16
+ android : text =" @string/description_plasma_leak_minigame"
17
+ android : clickable =" false"
18
+ android : id =" @+id/textView"
19
+ android : layout_alignParentTop =" true"
20
+ android : layout_margin =" 16dp" />
22
21
23
- <ProgressBar
24
- style =" ?android:attr/progressBarStyleHorizontal"
25
- android : layout_width =" wrap_content"
22
+ <RelativeLayout
23
+ android : layout_width =" match_parent"
26
24
android : layout_height =" wrap_content"
27
- android : id =" @+id/mini_game_progress_bar"
28
- android : minHeight =" 20dp"
29
- android : minWidth =" 300dp"
30
- android : clickable =" false"
31
- android : layout_above =" @+id/button_complete_plasma"
32
- android : layout_centerHorizontal =" true" />
25
+ android : layout_below =" @id/textView"
26
+ android : id =" @+id/input_section"
27
+ android : paddingLeft =" 16dp"
28
+ android : paddingRight =" 16dp" >
33
29
34
30
<RadioGroup
35
31
android : layout_width =" match_parent"
36
32
android : layout_height =" match_parent"
37
33
android : layout_alignParentLeft =" true"
38
- android : layout_alignParentStart =" true"
39
- android : layout_marginLeft =" 52dp"
40
- android : layout_marginTop =" 52dp" >
34
+ android : layout_alignParentStart =" true" >
41
35
<RadioButton android : id =" @+id/radio1"
42
36
android : layout_width =" wrap_content"
43
37
android : layout_height =" wrap_content"
67
61
android : text =" Remove Bolts"
68
62
android : id =" @+id/button"
69
63
android : layout_alignParentTop =" true"
70
- android : layout_marginTop =" 20dp"
71
- android : onClick =" removeBolts"
72
- android : layout_toRightOf =" @+id/button_complete_plasma"
73
- android : layout_toEndOf =" @+id/button_complete_plasma" />
64
+ android : layout_alignParentRight =" true"
65
+ android : onClick =" removeBolts" />
74
66
75
67
<Button
76
68
android : layout_width =" wrap_content"
77
69
android : layout_height =" wrap_content"
78
70
android : text =" Repair Pipes"
79
71
android : id =" @+id/button2"
72
+ android : layout_alignParentRight =" true"
80
73
android : layout_below =" @id/button"
81
- android : onClick =" repairPipe"
82
- android : layout_toRightOf =" @+id/button_complete_plasma"
83
- android : layout_toEndOf =" @+id/button_complete_plasma" />
74
+ android : onClick =" repairPipe" />
84
75
85
76
<Button
86
77
android : layout_width =" wrap_content"
87
78
android : layout_height =" wrap_content"
88
79
android : text =" Insert Bolts"
89
80
android : id =" @+id/button3"
90
81
android : onClick =" insertBolts"
91
- android : layout_below =" @id/button2"
92
- android : layout_toRightOf =" @+id/button_complete_plasma"
93
- android : layout_toEndOf =" @+id/button_complete_plasma" />
82
+ android : layout_alignParentRight =" true"
83
+ android : layout_below =" @id/button2" />
94
84
95
- <TextView
85
+ </RelativeLayout >
86
+
87
+ <ProgressBar
88
+ style =" ?android:attr/progressBarStyleHorizontal"
96
89
android : layout_width =" wrap_content"
97
- android : layout_height =" 148dp"
98
- android : text =" INSTRUCTIONS: \n\n Select room \n Remove 5 bolts \n Repair pipe 10 times \n Re-insert the bolts"
90
+ android : layout_height =" wrap_content"
91
+ android : id =" @+id/progressbar"
92
+ android : minHeight =" 10dp"
93
+ android : minWidth =" 300dp"
94
+ android : layout_marginTop =" 16dp"
99
95
android : clickable =" false"
100
- android : id =" @+id/textView"
101
- android : layout_alignBottom =" @+id/button3"
102
- android : layout_alignLeft =" @+id/mini_game_progress_bar"
103
- android : layout_alignStart =" @+id/mini_game_progress_bar" />
96
+ android : layout_below =" @+id/input_section"
97
+ android : layout_centerHorizontal =" true" />
104
98
99
+ <Button
100
+ android : layout_width =" wrap_content"
101
+ android : layout_height =" wrap_content"
102
+ android : text =" @string/button_complete_plasma_leak_minigame"
103
+ android : layout_marginTop =" 16dp"
104
+ android : layout_marginBottom =" 16dp"
105
+ android : onClick =" complete"
106
+ android : id =" @+id/button_complete_plasma"
107
+ android : layout_below =" @id/progressbar"
108
+ android : layout_centerHorizontal =" true" />
105
109
106
110
</RelativeLayout >
107
111
</ScrollView >
0 commit comments