Skip to content

Commit

Permalink
Fix horizontal list alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensousa committed Sep 4, 2024
1 parent c56f253 commit 55765a8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sample/src/main/res/layout/horizontal_adapter_list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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" />


</LinearLayout>

0 comments on commit 55765a8

Please sign in to comment.