From 7085a36cfd98ba3058304c6fff61831455628481 Mon Sep 17 00:00:00 2001 From: Eric House Date: Thu, 18 Jan 2024 09:07:01 -0800 Subject: [PATCH] fix rematch to not show anything when ordering can't be supported --- .../android/xw4/RematchConfigView.java | 2 ++ .../src/main/res/layout/rematch_config.xml | 25 ++++++++++++------- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/RematchConfigView.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/RematchConfigView.java index 8d528bcfd..2aaa2895a 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/RematchConfigView.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/RematchConfigView.java @@ -145,6 +145,8 @@ public class RematchConfigView extends LinearLayout button.setChecked( true ); } } + } else { + findViewById( R.id.ro_stuff) .setVisibility( View.GONE ); } } } diff --git a/xwords4/android/app/src/main/res/layout/rematch_config.xml b/xwords4/android/app/src/main/res/layout/rematch_config.xml index 3adc6200b..1c5bc1c3e 100644 --- a/xwords4/android/app/src/main/res/layout/rematch_config.xml +++ b/xwords4/android/app/src/main/res/layout/rematch_config.xml @@ -28,17 +28,24 @@ android:focusable="false" /> - + - + + +