|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | -<LinearLayout |
3 | | - xmlns:android="http://schemas.android.com/apk/res/android" |
| 2 | +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
4 | 3 | xmlns:tools="http://schemas.android.com/tools" |
5 | 4 |
|
6 | 5 | android:layout_width="match_parent" |
|
11 | 10 | <Space |
12 | 11 | android:layout_width="match_parent" |
13 | 12 | android:layout_height="0dp" |
14 | | - android:layout_weight="1"/> |
| 13 | + android:layout_weight="1" /> |
15 | 14 |
|
16 | 15 | <LinearLayout |
17 | 16 | android:layout_width="match_parent" |
|
22 | 21 | <Space |
23 | 22 | android:layout_width="0dp" |
24 | 23 | android:layout_height="match_parent" |
25 | | - android:layout_weight="1"/> |
| 24 | + android:layout_weight="1" /> |
26 | 25 |
|
27 | 26 | <LinearLayout |
28 | 27 | android:layout_width="0dp" |
|
31 | 30 | android:background="#292929" |
32 | 31 | android:orientation="vertical"> |
33 | 32 |
|
34 | | - <TextView |
| 33 | + <LinearLayout |
35 | 34 | android:layout_width="match_parent" |
36 | 35 | android:layout_height="0dp" |
37 | | - android:layout_marginLeft="@dimen/paystack__view__margin" |
38 | | - android:layout_marginRight="@dimen/paystack__view__margin" |
39 | | - android:layout_marginTop="@dimen/paystack__view__margin" |
40 | 36 | android:layout_weight="1" |
41 | | - android:background="#292929" |
42 | | - android:gravity="center" |
43 | | - android:text="Please conclude challenge from your bank to authorize payment"/> |
| 37 | + android:orientation="horizontal" |
| 38 | + android:paddingStart="4dp" |
| 39 | + android:paddingLeft="4dp" |
| 40 | + android:paddingEnd="12dp" |
| 41 | + android:paddingRight="12dp"> |
| 42 | + |
| 43 | + <ImageView |
| 44 | + android:id="@+id/iv_close" |
| 45 | + android:layout_width="48dp" |
| 46 | + android:layout_height="48dp" |
| 47 | + android:padding="12dp" |
| 48 | + android:gravity="center_horizontal" |
| 49 | + android:src="@drawable/ic_close_24" /> |
| 50 | + |
| 51 | + <TextView |
| 52 | + android:layout_width="match_parent" |
| 53 | + android:layout_height="wrap_content" |
| 54 | + android:layout_marginLeft="@dimen/paystack__view__margin" |
| 55 | + android:layout_marginTop="@dimen/paystack__view__margin" |
| 56 | + android:layout_marginRight="@dimen/paystack__view__margin" |
| 57 | + android:background="#292929" |
| 58 | + android:gravity="center" |
| 59 | + android:text="Please conclude challenge from your bank to authorize payment" /> |
| 60 | + </LinearLayout> |
44 | 61 |
|
45 | 62 | <WebView |
46 | 63 | android:id="@+id/webView" |
47 | 64 | android:layout_width="match_parent" |
48 | 65 | android:layout_height="0dp" |
49 | | - android:layout_marginBottom="@dimen/paystack__view__margin" |
50 | 66 | android:layout_marginLeft="@dimen/paystack__view__margin" |
51 | 67 | android:layout_marginRight="@dimen/paystack__view__margin" |
| 68 | + android:layout_marginBottom="@dimen/paystack__view__margin" |
52 | 69 | android:layout_weight="10" |
53 | | - android:background="#292929"/> |
| 70 | + android:background="#292929" /> |
54 | 71 | </LinearLayout> |
55 | 72 |
|
56 | 73 | <Space |
57 | 74 | android:layout_width="0dp" |
58 | 75 | android:layout_height="match_parent" |
59 | | - android:layout_weight="1"/> |
| 76 | + android:layout_weight="1" /> |
60 | 77 | </LinearLayout> |
61 | 78 |
|
62 | 79 | <Space |
63 | 80 | android:layout_width="match_parent" |
64 | 81 | android:layout_height="0dp" |
65 | | - android:layout_weight="1"/> |
| 82 | + android:layout_weight="1" /> |
66 | 83 |
|
67 | 84 |
|
68 | 85 | </LinearLayout> |
0 commit comments