Skip to content

Commit 82c6804

Browse files
committed
Improve height matching for team/points inputs
1 parent 50fc09f commit 82c6804

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: app/src/main/res/layout/include_add_edit_match_bottom_sheet.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
<com.google.android.material.textfield.TextInputLayout
113113
android:id="@+id/homePointsTextInputLayout"
114114
android:layout_width="@dimen/width_points"
115-
android:layout_height="wrap_content"
115+
android:layout_height="0dp"
116116
android:hint="@string/hint_points"
117117
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
118118
app:layout_constraintTop_toTopOf="@id/homeTeamTextInputLayout"
@@ -122,7 +122,7 @@
122122
<com.google.android.material.textfield.TextInputEditText
123123
android:id="@+id/homePointsEditText"
124124
android:layout_width="match_parent"
125-
android:layout_height="wrap_content"
125+
android:layout_height="match_parent"
126126
android:inputType="number"
127127
android:maxLength="@integer/max_length_points" />
128128

@@ -155,7 +155,7 @@
155155
<com.google.android.material.textfield.TextInputLayout
156156
android:id="@+id/awayPointsTextInputLayout"
157157
android:layout_width="@dimen/width_points"
158-
android:layout_height="wrap_content"
158+
android:layout_height="0dp"
159159
android:hint="@string/hint_points"
160160
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
161161
app:layout_constraintTop_toTopOf="@id/awayTeamTextInputLayout"
@@ -165,7 +165,7 @@
165165
<com.google.android.material.textfield.TextInputEditText
166166
android:id="@+id/awayPointsEditText"
167167
android:layout_width="match_parent"
168-
android:layout_height="wrap_content"
168+
android:layout_height="match_parent"
169169
android:inputType="number"
170170
android:maxLength="@integer/max_length_points" />
171171

0 commit comments

Comments
 (0)