|
5 | 5 | android:layout_width="match_parent" |
6 | 6 | android:layout_height="wrap_content"> |
7 | 7 |
|
8 | | - <LinearLayout |
| 8 | + <ScrollView |
9 | 9 | android:layout_width="match_parent" |
10 | 10 | android:layout_height="match_parent" |
11 | | - android:orientation="vertical" |
12 | | - android:gravity="center"> |
13 | | - <io.snabble.sdk.ui.scanner.BarcodeView |
14 | | - android:id="@+id/checkout_id_code" |
15 | | - android:layout_width="match_parent" |
16 | | - android:layout_height="168dp" |
17 | | - android:background="?android:attr/windowBackground" |
18 | | - app:format="DATA_MATRIX" |
19 | | - tools:ignore="RtlHardcoded" /> |
20 | | - |
21 | | - <TextView |
22 | | - android:id="@+id/message" |
| 11 | + android:layout_above="@+id/cancel" |
| 12 | + android:fillViewport="true"> |
| 13 | + <LinearLayout |
23 | 14 | android:layout_width="match_parent" |
24 | 15 | android:layout_height="wrap_content" |
25 | | - android:layout_gravity="center" |
26 | | - android:gravity="center" |
27 | | - android:padding="16dp" |
28 | | - android:text="@string/Snabble.Payment.presentCode" |
29 | | - android:textSize="17sp" /> |
| 16 | + android:orientation="vertical" |
| 17 | + android:gravity="center"> |
| 18 | + <io.snabble.sdk.ui.scanner.BarcodeView |
| 19 | + android:id="@+id/checkout_id_code" |
| 20 | + android:layout_width="match_parent" |
| 21 | + android:layout_height="168dp" |
| 22 | + android:background="?android:attr/windowBackground" |
| 23 | + app:format="DATA_MATRIX" |
| 24 | + tools:ignore="RtlHardcoded" /> |
30 | 25 |
|
31 | | - <ProgressBar |
32 | | - android:layout_width="wrap_content" |
33 | | - android:layout_height="wrap_content" |
34 | | - android:layout_marginTop="16dp" |
35 | | - android:indeterminate="true"/> |
| 26 | + <TextView |
| 27 | + android:id="@+id/message" |
| 28 | + android:layout_width="match_parent" |
| 29 | + android:layout_height="wrap_content" |
| 30 | + android:layout_gravity="center" |
| 31 | + android:gravity="center" |
| 32 | + android:padding="16dp" |
| 33 | + android:text="@string/Snabble.Payment.presentCode" |
| 34 | + android:textSize="17sp" /> |
36 | 35 |
|
37 | | - <TextView |
38 | | - android:id="@+id/waiting" |
39 | | - android:layout_width="match_parent" |
40 | | - android:layout_height="wrap_content" |
41 | | - android:layout_gravity="center" |
42 | | - android:gravity="center" |
43 | | - android:paddingTop="4dp" |
44 | | - android:paddingLeft="16dp" |
45 | | - android:paddingRight="16dp" |
46 | | - android:text="@string/Snabble.Payment.waiting" |
47 | | - android:textSize="17sp" /> |
48 | | - </LinearLayout> |
| 36 | + <ProgressBar |
| 37 | + android:layout_width="wrap_content" |
| 38 | + android:layout_height="wrap_content" |
| 39 | + android:layout_marginTop="16dp" |
| 40 | + android:indeterminate="true"/> |
| 41 | + |
| 42 | + <TextView |
| 43 | + android:id="@+id/waiting" |
| 44 | + android:layout_width="match_parent" |
| 45 | + android:layout_height="wrap_content" |
| 46 | + android:layout_gravity="center" |
| 47 | + android:gravity="center" |
| 48 | + android:paddingTop="4dp" |
| 49 | + android:paddingLeft="16dp" |
| 50 | + android:paddingRight="16dp" |
| 51 | + android:text="@string/Snabble.Payment.waiting" |
| 52 | + android:textSize="17sp" /> |
| 53 | + </LinearLayout> |
| 54 | + </ScrollView> |
49 | 55 |
|
50 | 56 | <Button |
51 | 57 | style="@style/Widget.MaterialComponents.Button.TextButton" |
|
0 commit comments