From bcd38460be4f7f2b01a4fcdfd1e0423da363ce3e Mon Sep 17 00:00:00 2001 From: Abandoned Cart Date: Fri, 17 Feb 2023 19:55:59 -0500 Subject: [PATCH] Align ChipGroup to center when space exists --- app/src/main/res/layout/header_rom_filter.xml | 53 +++++++++++-------- 1 file changed, 32 insertions(+), 21 deletions(-) diff --git a/app/src/main/res/layout/header_rom_filter.xml b/app/src/main/res/layout/header_rom_filter.xml index dd3e8594..7a785715 100644 --- a/app/src/main/res/layout/header_rom_filter.xml +++ b/app/src/main/res/layout/header_rom_filter.xml @@ -1,29 +1,40 @@ - - - + + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" + android:scrollbars="none" + tools:ignore="MissingConstraints"> - - - + android:paddingStart="16dp" + android:paddingTop="16dp" + android:paddingEnd="16dp" + android:paddingBottom="4dp" + app:checkedChip="@id/all_chip" + app:chipSpacingHorizontal="16dp" + app:selectionRequired="true" + app:singleLine="true" + app:singleSelection="true"> + + + + +