Skip to content

Commit

Permalink
Fix: extra spacing for last item at bottom side
Browse files Browse the repository at this point in the history
  • Loading branch information
kukadiajayesh committed Nov 9, 2023
1 parent e88a66a commit 7670a09
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions library/src/main/res/layout/sequence_step.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,14 @@
android:paddingLeft="0dp"
android:paddingEnd="16dp"
android:paddingRight="16dp"
android:paddingBottom="16dp"
tools:layout_width="64dp"
tools:text="30 Nov" />

<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical"
android:paddingBottom="16dp">
android:orientation="vertical">


<LinearLayout
Expand Down
2 changes: 1 addition & 1 deletion library/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
<dimen name="sequence_active_step_padding_bottom">16dp</dimen>
<dimen name="sequence_anchor_min_width">48dp</dimen>
<dimen name="sequence_anchor_max_width">80dp</dimen>
<dimen name="step_vertical_space">4dp</dimen>
<dimen name="step_vertical_space">16dp</dimen>
</resources>
3 changes: 1 addition & 2 deletions sample/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
android:id="@+id/sequenceLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
app:stepVerticalSpace="4dp">
app:stepVerticalSpace="16dp">

<com.transferwise.sequencelayout.SequenceStep
android:layout_width="match_parent"
Expand Down

0 comments on commit 7670a09

Please sign in to comment.