fix rematch to not show anything when ordering can't be supported

This commit is contained in:
Eric House 2024-01-18 09:07:01 -08:00
parent 8bfb4f07b2
commit 7085a36cfd
2 changed files with 18 additions and 9 deletions

View file

@ -145,6 +145,8 @@ public class RematchConfigView extends LinearLayout
button.setChecked( true );
}
}
} else {
findViewById( R.id.ro_stuff) .setVisibility( View.GONE );
}
}
}

View file

@ -28,17 +28,24 @@
android:focusable="false"
/>
<TextView android:id="@+id/explanation"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="@string/expl_rematch_order"
/>
<LinearLayout android:id="@+id/ro_stuff"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
>
<RadioGroup android:id="@+id/group"
android:orientation="vertical"
android:layout_width="match_parent"
<TextView android:id="@+id/explanation"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="@string/expl_rematch_order"
/>
<RadioGroup android:id="@+id/group"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
</LinearLayout>
</org.eehouse.android.xw4.RematchConfigView>