Skip to content

Commit

Permalink
fix(bank-sdk): Fix tablet margins in RA
Browse files Browse the repository at this point in the history
PP-814
  • Loading branch information
abolfazlimahdi committed Sep 13, 2024
1 parent 9568fc9 commit ef85239
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/gc_small"

app:layout_constraintTop_toBottomOf="@id/total_label"
app:layout_constraintStart_toStartOf="@id/total_label"
tools:text="€242.99" />
Expand Down Expand Up @@ -73,7 +74,7 @@
<com.google.android.material.button.MaterialButton
style="@style/GiniCaptureTheme.Widget.Button.UnelevatedButton"
android:id="@+id/gbs_pay"
android:layout_width="@dimen/gc_tablet_width"
android:layout_width="@dimen/gc_tablet_width_margin_applied"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/gc_large_24"
android:layout_marginBottom="@dimen/gc_large_24"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,8 @@

<net.gini.android.capture.view.InjectedViewContainer
android:id="@+id/gbs_bottom_bar_navigation"
android:layout_width="@dimen/gc_tablet_width"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingHorizontal="@dimen/gc_large_20"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<com.google.android.material.button.MaterialButton
android:id="@+id/gbs_pay"
style="@style/GiniCaptureTheme.Widget.Button.UnelevatedButton"
android:layout_width="@dimen/gc_tablet_width"
android:layout_width="@dimen/gc_tablet_width_margin_applied"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/gc_large"
android:layout_marginTop="@dimen/gc_large_24"
Expand Down
1 change: 1 addition & 0 deletions capture-sdk/sdk/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<dimen name="gc_file_import_paragraphs_margin">50dp</dimen>

<dimen name="gc_tablet_width">582dp</dimen>
<dimen name="gc_tablet_width_margin_applied">542dp</dimen>

<dimen name="gc_camera_pane_width">124dp</dimen>
<dimen name="gc_give_permission_button_width">120dp</dimen>
Expand Down

0 comments on commit ef85239

Please sign in to comment.