4
4
xmlns : tools =" http://schemas.android.com/tools"
5
5
android : id =" @+id/activity_main"
6
6
android : layout_width =" match_parent"
7
+ android : background =" #B9F6CA"
7
8
android : layout_height =" match_parent"
8
9
android : paddingBottom =" @dimen/activity_vertical_margin"
9
10
android : paddingLeft =" @dimen/activity_horizontal_margin"
10
11
android : paddingRight =" @dimen/activity_horizontal_margin"
11
12
android : paddingTop =" @dimen/activity_vertical_margin"
12
13
tools : context =" com.example.android.connect.MainActivity" >
13
14
15
+ <TextView
16
+ android : id =" @+id/textView"
17
+ android : layout_width =" match_parent"
18
+ android : layout_height =" wrap_content"
19
+ android : layout_above =" @+id/playagain"
20
+ android : layout_centerHorizontal =" true"
21
+ android : layout_marginBottom =" 39dp"
22
+ android : textStyle =" bold"
23
+ android : layout_centerInParent =" true"
24
+ android : text =" The Complete Developer Workshop 2017"
25
+ android : textAppearance =" @style/TextAppearance.AppCompat.Medium" />
26
+
14
27
<GridLayout
15
28
android : layout_width =" wrap_content"
16
29
android : layout_height =" 360dp"
158
171
android : layout_height =" wrap_content"
159
172
android : padding =" 30dp"
160
173
android : id =" @+id/playagainlayout"
161
- android : background =" @android:color/holo_green_light"
162
- android : layout_alignTop =" @+id/playagain"
163
- android : layout_centerHorizontal =" true"
164
- android : visibility =" invisible" >
174
+ android : background =" #FFAB00"
175
+ android : visibility =" invisible"
176
+ android : layout_centerVertical =" true"
177
+ android : layout_centerInParent =" true"
178
+ >
165
179
166
180
<TextView
167
181
android : text =" TextView"
168
182
android : layout_width =" wrap_content"
169
183
android : layout_height =" wrap_content"
170
184
android : textSize =" 30sp"
185
+ android : textStyle =" bold"
186
+ android : textColor =" #33691E"
171
187
android : id =" @+id/winmsg" />
172
188
173
189
<Button
174
- android : text = " Play Again "
175
- android : layout_width =" wrap_content "
190
+ android : id = " @+id/buttonagain "
191
+ android : layout_width =" match_parent "
176
192
android : layout_height =" wrap_content"
177
193
android : layout_centerVertical =" true"
178
-
194
+ android : backgroundTint = " @color/colorPrimaryDark "
179
195
android : onClick =" playAgain"
180
- android : id =" @+id/buttonagain" />
196
+ android : text =" Play Again"
197
+ android : textStyle =" bold"
198
+ android : textColor =" #FFC107" />
181
199
</LinearLayout >
182
- </RelativeLayout >
200
+
201
+ </RelativeLayout >
0 commit comments