Skip to content

Commit

Permalink
Configurable margin between option items
Browse files Browse the repository at this point in the history
  • Loading branch information
FikriMilano committed Feb 7, 2023
1 parent 62368ae commit 0e38ff7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
android:orientation="vertical"
app:flow_horizontalBias="0"
app:flow_horizontalGap="@dimen/radio_button_item_gap"
app:flow_verticalGap="@dimen/padding_default"
app:flow_verticalGap="@dimen/option_item_margin"
app:flow_horizontalStyle="packed"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
android:layout_height="wrap_content"
app:flow_horizontalBias="0"
app:flow_horizontalGap="@dimen/radio_button_item_gap"
app:flow_verticalGap="@dimen/padding_default"
app:flow_verticalGap="@dimen/option_item_margin"
app:flow_horizontalStyle="packed"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
android:layout_height="wrap_content"
app:flow_horizontalBias="0"
app:flow_horizontalGap="@dimen/radio_button_item_gap"
app:flow_verticalGap="@dimen/padding_default"
app:flow_verticalGap="@dimen/option_item_margin"
app:flow_horizontalStyle="packed"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
Expand Down
1 change: 1 addition & 0 deletions datacapture/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<dimen name="item_margin_vertical">8dp</dimen>
<dimen name="item_margin_top">16dp</dimen>
<dimen name="header_margin_bottom">16dp</dimen>
<dimen name="option_item_margin">16dp</dimen>
<dimen name="prefix_padding_end">5dp</dimen>
<dimen name="answer_option_checkbox_margin_vertical">2dp</dimen>
<dimen name="padding_drop_down">16dp</dimen>
Expand Down

0 comments on commit 0e38ff7

Please sign in to comment.