7
7
tools : context =" .MainActivity" >
8
8
9
9
<androidx .constraintlayout.widget.Guideline
10
- android : id =" @+id/logoGuideline "
10
+ android : id =" @+id/statusGuideline "
11
11
android : layout_width =" wrap_content"
12
12
android : layout_height =" wrap_content"
13
13
android : orientation =" horizontal"
14
- app : layout_constraintGuide_percent =" 0.16 " />
14
+ app : layout_constraintGuide_percent =" 0.2 " />
15
15
16
- <LinearLayout
17
- android : id =" @+id/headingContainer "
16
+ <ImageView
17
+ android : id =" @+id/logoImage "
18
18
android : layout_width =" match_parent"
19
- android : layout_height =" wrap_content"
20
- android : paddingBottom =" 20dp"
21
- app : layout_constraintBottom_toBottomOf =" @+id/logoGuideline"
22
- app : layout_constraintTop_toTopOf =" @+id/logoGuideline"
23
- app : layout_constraintStart_toStartOf =" parent"
24
- app : layout_constraintEnd_toEndOf =" parent" >
25
-
26
- <ImageView
27
- android : id =" @+id/logoImage"
28
- android : layout_width =" wrap_content"
29
- android : layout_height =" wrap_content"
30
- android : paddingStart =" 16dp"
31
- android : contentDescription =" The HTTP Toolkit Logo"
32
- app : srcCompat =" @drawable/ic_transparent_icon" />
19
+ android : layout_height =" match_parent"
20
+ android : alpha =" 0.3"
21
+ android : tint =" #fff"
22
+ android : layout_marginBottom =" 120dp"
23
+ app : srcCompat =" @drawable/ic_transparent_icon"
24
+ tools : ignore =" ContentDescription" />
33
25
34
- <View
35
- android : layout_width =" 0dp"
36
- android : layout_height =" 0dp"
37
- android : layout_weight =" 1" />
38
-
39
- <TextView
40
- android : id =" @+id/statusText"
41
- style =" @style/StatusText"
42
- android : layout_width =" wrap_content"
43
- android : layout_height =" wrap_content"
44
- android : layout_gravity =" center"
45
- android : text =" @string/disconnected_status"
46
- android : textSize =" 30sp" />
47
-
48
- <View
49
- android : layout_width =" 0dp"
50
- android : layout_height =" 0dp"
51
- android : layout_weight =" 1" />
52
-
53
- </LinearLayout >
26
+ <TextView
27
+ android : id =" @+id/statusText"
28
+ style =" @style/StatusText"
29
+ android : layout_width =" wrap_content"
30
+ android : layout_height =" wrap_content"
31
+ android : layout_gravity =" center"
32
+ android : text =" @string/disconnected_status"
33
+ android : textSize =" 30sp"
34
+ app : layout_constraintBottom_toBottomOf =" @+id/statusGuideline"
35
+ app : layout_constraintTop_toTopOf =" @+id/statusGuideline"
36
+ app : layout_constraintEnd_toEndOf =" parent"
37
+ app : layout_constraintStart_toStartOf =" parent" />
54
38
55
39
<LinearLayout
56
40
android : id =" @+id/statusDetailContainer"
57
41
android : layout_width =" wrap_content"
58
42
android : layout_height =" wrap_content"
43
+ android : layout_marginTop =" 16dp"
59
44
android : layout_marginStart =" 16dp"
60
45
android : layout_marginEnd =" 16dp"
61
46
app : layout_constrainedWidth =" true"
62
47
app : layout_constraintEnd_toEndOf =" parent"
63
48
app : layout_constraintStart_toStartOf =" parent"
64
- app : layout_constraintTop_toBottomOf =" @+id/headingContainer "
49
+ app : layout_constraintTop_toBottomOf =" @+id/statusText "
65
50
android : orientation =" vertical" />
66
51
67
52
<com .google.android.material.card.MaterialCardView
68
- android : layout_height =" wrap_content"
53
+ android : id =" @+id/materialCardView"
54
+ style =" @style/PortraitButtonsCard"
69
55
android : layout_width =" match_parent"
56
+ android : layout_height =" wrap_content"
70
57
android : layout_marginStart =" 16dp"
71
58
android : layout_marginEnd =" 16dp"
72
59
app : layout_constraintBottom_toBottomOf =" parent"
73
60
app : layout_constraintEnd_toEndOf =" parent"
74
- app : layout_constraintStart_toStartOf =" parent"
75
- style =" @style/PortraitButtonsCard"
76
- >
61
+ app : layout_constraintStart_toStartOf =" parent" >
62
+
77
63
<LinearLayout
78
64
android : id =" @+id/buttonLayoutContainer"
79
65
android : layout_width =" match_parent"
80
66
android : layout_height =" wrap_content"
67
+ android : clipToPadding =" false"
81
68
android : orientation =" vertical"
82
69
android : paddingStart =" 16dp"
83
- android : paddingEnd =" 16dp"
84
70
android : paddingTop =" 12dp"
85
- android : paddingBottom =" 10dp"
86
- android : clipToPadding =" false" >
87
- </LinearLayout >
71
+ android : paddingEnd =" 16dp"
72
+ android : paddingBottom =" 10dp" />
88
73
</com .google.android.material.card.MaterialCardView>
89
74
90
75
</androidx .constraintlayout.widget.ConstraintLayout>
0 commit comments