Skip to content

Commit dadf1b7

Browse files
committed
Adjust RWC/NHA checkbox position and copy
1 parent 866deca commit dadf1b7

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

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

+9-8
Original file line numberDiff line numberDiff line change
@@ -173,23 +173,24 @@
173173
</com.google.android.material.textfield.TextInputLayout>
174174

175175
<CheckBox
176-
android:id="@+id/nhaCheckBox"
176+
android:id="@+id/rwcCheckBox"
177177
android:layout_width="wrap_content"
178178
android:layout_height="wrap_content"
179-
android:layout_marginTop="@dimen/spacing_standard"
180-
android:text="@string/check_box_no_home_advantage"
181-
app:layout_constraintTop_toBottomOf="@id/awayTeamTextInputLayout"
179+
android:text="@string/check_box_rugby_world_cup"
180+
app:layout_constraintTop_toTopOf="@id/nhaCheckBox"
181+
app:layout_constraintBottom_toBottomOf="@id/nhaCheckBox"
182182
app:layout_constraintStart_toStartOf="@id/startGuideline" />
183183

184184
<CheckBox
185-
android:id="@+id/rwcCheckBox"
186-
android:layout_width="wrap_content"
185+
android:id="@+id/nhaCheckBox"
186+
android:layout_width="0dp"
187187
android:layout_height="wrap_content"
188188
android:layout_marginTop="@dimen/spacing_standard"
189189
android:layout_marginStart="@dimen/spacing_standard"
190-
android:text="@string/check_box_rugby_world_cup"
190+
android:text="@string/check_box_no_home_advantage"
191191
app:layout_constraintTop_toBottomOf="@id/awayTeamTextInputLayout"
192-
app:layout_constraintStart_toEndOf="@id/nhaCheckBox" />
192+
app:layout_constraintStart_toEndOf="@id/rwcCheckBox"
193+
app:layout_constraintEnd_toEndOf="@id/endGuideline" />
193194

194195
<com.google.android.material.button.MaterialButton
195196
android:id="@+id/addOrEditButton"

Diff for: app/src/main/res/values/strings.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
<string name="hint_away_team">Away team</string>
2323
<string name="hint_points">Points</string>
2424

25-
<string name="check_box_no_home_advantage">No home advantage</string>
2625
<string name="check_box_rugby_world_cup">Rugby World Cup</string>
26+
<string name="check_box_no_home_advantage">No home advantage (neutral venue)</string>
2727

2828
<string name="ranking_previous_position_up" translatable="false">(↑%d)</string>
2929
<string name="ranking_previous_position_down" translatable="false">(↓%d)</string>

0 commit comments

Comments
 (0)