Skip to content

Commit

Permalink
Configurable margin bottom for header
Browse files Browse the repository at this point in the history
  • Loading branch information
FikriMilano committed Feb 7, 2023
1 parent b5586b5 commit 62368ae
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/item_margin_horizontal"
android:layout_marginTop="@dimen/padding_default"
android:layout_marginTop="@dimen/header_margin_bottom"
android:orientation="horizontal"
>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/padding_default"
android:layout_marginBottom="@dimen/header_margin_bottom"
/>

<androidx.constraintlayout.widget.ConstraintLayout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/padding_default"
android:layout_marginBottom="@dimen/header_margin_bottom"
/>

<androidx.constraintlayout.widget.ConstraintLayout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/padding_default"
android:layout_marginBottom="@dimen/header_margin_bottom"
/>

<com.google.android.material.textfield.TextInputLayout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/padding_default"
android:layout_marginBottom="@dimen/header_margin_bottom"
/>

<LinearLayout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/padding_default"
android:layout_marginBottom="@dimen/header_margin_bottom"
/>

<com.google.android.material.textfield.TextInputLayout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/padding_default"
android:layout_marginBottom="@dimen/header_margin_bottom"
/>

<androidx.constraintlayout.widget.ConstraintLayout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/padding_default"
android:layout_marginBottom="@dimen/header_margin_bottom"
/>

<com.google.android.material.textfield.TextInputLayout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/padding_default"
android:layout_marginBottom="@dimen/header_margin_bottom"
/>

<com.google.android.material.textfield.TextInputLayout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/padding_default"
android:layout_marginBottom="@dimen/header_margin_bottom"
/>

<com.google.android.material.textfield.TextInputLayout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/padding_default"
android:layout_marginBottom="@dimen/header_margin_bottom"
/>

<androidx.constraintlayout.widget.ConstraintLayout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/padding_default"
android:layout_marginBottom="@dimen/header_margin_bottom"
/>

<com.google.android.material.slider.Slider
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 @@ -18,6 +18,7 @@
<dimen name="item_margin_horizontal">16dp</dimen>
<dimen name="item_margin_vertical">8dp</dimen>
<dimen name="item_margin_top">16dp</dimen>
<dimen name="header_margin_bottom">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 62368ae

Please sign in to comment.