From 55765a8fe0f63d5bae21dcfdef7bdd12b9092161 Mon Sep 17 00:00:00 2001 From: Ruben Sousa Date: Wed, 4 Sep 2024 22:13:44 +0200 Subject: [PATCH] Fix horizontal list alignment --- sample/src/main/res/layout/horizontal_adapter_list.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sample/src/main/res/layout/horizontal_adapter_list.xml b/sample/src/main/res/layout/horizontal_adapter_list.xml index 5252bae8..2a8f203b 100644 --- a/sample/src/main/res/layout/horizontal_adapter_list.xml +++ b/sample/src/main/res/layout/horizontal_adapter_list.xml @@ -26,13 +26,14 @@ android:clipChildren="false" android:gravity="center" android:orientation="horizontal" - app:dpadRecyclerViewChildAlignmentFraction="0.5" + app:dpadRecyclerViewChildAlignmentFraction="0" app:dpadRecyclerViewFocusOutBack="false" app:dpadRecyclerViewFocusOutFront="false" app:dpadRecyclerViewItemEdgeSpacing="@dimen/list_margin_start" app:dpadRecyclerViewItemSpacing="@dimen/item_spacing" app:dpadRecyclerViewParentAlignmentEdge="min_max" - app:dpadRecyclerViewParentAlignmentFraction="0.5" /> + app:dpadRecyclerViewParentAlignmentFraction="0" + app:dpadRecyclerViewParentAlignmentOffset="@dimen/list_margin_start" /> \ No newline at end of file