File tree 4 files changed +12
-43
lines changed
4 files changed +12
-43
lines changed Original file line number Diff line number Diff line change 9
9
>
10
10
11
11
12
- <RelativeLayout
13
- android : gravity =" center"
12
+ <GridLayout
14
13
android : layout_width =" 300dp"
15
- android : layout_height =" match_parent"
14
+ android : layout_height =" wrap_content"
15
+ android : layout_gravity =" center_vertical"
16
16
android : layout_marginLeft =" 10dp"
17
17
android : layout_marginRight =" 10dp"
18
+ android : columnCount =" 2"
18
19
>
19
20
20
21
<ImageView
30
31
android : id =" @+id/llamas"
31
32
android : layout_width =" 150dp"
32
33
android : layout_height =" 118dp"
33
- android : layout_toRightOf =" @+id/mount_zao"
34
34
android : scaleType =" fitXY"
35
35
/>
36
36
39
39
android : id =" @+id/rainbow_bridge"
40
40
android : layout_width =" 150dp"
41
41
android : layout_height =" 118dp"
42
- android : layout_below =" @+id/mount_zao"
43
-
44
42
android : scaleType =" fitXY"
45
43
/>
46
44
47
45
<ImageView
48
46
android : src =" @drawable/tulip"
49
47
android : id =" @+id/tulip"
50
-
51
48
android : layout_width =" 150dp"
52
49
android : layout_height =" 118dp"
53
- android : layout_toRightOf =" @+id/rainbow_bridge"
54
-
55
-
56
- android : layout_below =" @+id/llamas"
57
50
android : scaleType =" fitXY"
58
51
/>
59
52
60
- </RelativeLayout >
53
+ </GridLayout >
61
54
62
55
63
56
<LinearLayout android : orientation =" vertical"
Original file line number Diff line number Diff line change 44
44
android : textColor =" @android:color/white"
45
45
android : singleLine =" false" />
46
46
47
- <TextView
48
- android : layout_width =" wrap_content"
49
- android : layout_height =" wrap_content"
50
- android : maxWidth =" 240dp"
51
- android : layout_gravity =" center"
52
- android : textAlignment =" center"
53
- android : paddingTop =" 16dp"
54
- android : gravity =" center_horizontal" />
55
-
56
47
<Button
57
48
android : layout_width =" 120dp"
58
49
android : layout_height =" 40dp"
50
+ android : layout_marginTop =" 16dp"
59
51
android : text =" @string/welcome_final_button_text"
60
52
android : id =" @+id/welcomeYesButton"
61
53
android : layout_gravity =" center"
Original file line number Diff line number Diff line change 9
9
android : weightSum =" 1"
10
10
android : layout_centerHorizontal =" true" >
11
11
12
- <RelativeLayout
13
- android : gravity =" center"
14
- android : layout_width =" match_parent"
12
+ <GridLayout
13
+ android : layout_width =" wrap_content"
15
14
android : layout_height =" 240dp"
15
+ android : layout_gravity =" center_horizontal"
16
16
android : layout_marginLeft =" 10dp"
17
17
android : layout_marginRight =" 10dp"
18
+ android : columnCount =" 2"
18
19
>
19
20
20
21
<ImageView
30
31
android : id =" @+id/llamas"
31
32
android : layout_width =" 150dp"
32
33
android : layout_height =" 118dp"
33
- android : layout_toRightOf =" @+id/mount_zao"
34
34
android : scaleType =" fitXY"
35
35
/>
36
36
39
39
android : id =" @+id/rainbow_bridge"
40
40
android : layout_width =" 150dp"
41
41
android : layout_height =" 118dp"
42
- android : layout_below =" @+id/mount_zao"
43
-
44
42
android : scaleType =" fitXY"
45
43
/>
46
44
47
45
<ImageView
48
46
android : src =" @drawable/tulip"
49
47
android : id =" @+id/tulip"
50
-
51
48
android : layout_width =" 150dp"
52
49
android : layout_height =" 118dp"
53
- android : layout_toRightOf =" @+id/rainbow_bridge"
54
-
55
-
56
- android : layout_below =" @+id/llamas"
57
50
android : scaleType =" fitXY"
58
51
/>
59
52
60
- </RelativeLayout >
53
+ </GridLayout >
61
54
62
55
<TextView
63
56
android : layout_width =" 295dp"
Original file line number Diff line number Diff line change 48
48
android : singleLine =" false"
49
49
/>
50
50
51
- <TextView
52
- android : layout_width =" wrap_content"
53
- android : layout_height =" wrap_content"
54
- android : maxWidth =" 240dp"
55
- android : layout_gravity =" center"
56
- android : textAlignment =" center"
57
- android : paddingTop =" 16dp"
58
- android : gravity =" center_horizontal"
59
- />
60
-
61
51
<Button
62
52
android : layout_width =" 120dp"
63
53
android : layout_height =" 40dp"
54
+ android : layout_marginTop =" 16dp"
64
55
android : text =" @string/welcome_final_button_text"
65
56
android : id =" @+id/welcomeYesButton"
66
57
android : layout_gravity =" center"
You can’t perform that action at this time.
0 commit comments