Skip to content

Commit d01acc6

Browse files
committed
fix product dialog padding
1 parent 3f71af3 commit d01acc6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ui/src/main/res/layout/dialog_product_confirmation.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,16 +118,17 @@
118118
<android.support.v7.widget.AppCompatButton
119119
android:id="@+id/addToCart"
120120
style="@style/SnabbleButton"
121-
android:layout_width="wrap_content"
121+
android:layout_width="272dp"
122122
android:layout_height="wrap_content"
123123
android:layout_below="@+id/quantity"
124124
android:layout_centerHorizontal="true"
125125
android:text="@string/Snabble.Scanner.addToCart" />
126126

127+
127128
<!-- invisible view as a margin, marginBottom does not work on API 16-18 -->
128129
<View
129130
android:layout_width="match_parent"
130-
android:layout_height="24dp"
131+
android:layout_height="16dp"
131132
android:layout_below="@id/addToCart"
132133
android:visibility="invisible" />
133134
</RelativeLayout>

0 commit comments

Comments
 (0)