|
4 | 4 | xmlns:app="http://schemas.android.com/apk/res-auto" |
5 | 5 | xmlns:tools="http://schemas.android.com/tools" |
6 | 6 | android:layout_width="match_parent" |
7 | | - android:layout_height="match_parent"> |
| 7 | + android:layout_height="match_parent" |
| 8 | + android:background="@color/white100"> |
8 | 9 |
|
9 | 10 | <org.simple.clinic.widgets.OmegaCenterIconButton |
10 | 11 | android:id="@+id/patients_search_patients" |
11 | 12 | android:layout_width="match_parent" |
12 | 13 | android:layout_height="56dp" |
13 | 14 | android:layout_marginEnd="@dimen/spacing_16" |
14 | 15 | android:layout_marginStart="@dimen/spacing_16" |
15 | | - android:layout_marginTop="@dimen/spacing_48" |
| 16 | + android:layout_marginTop="@dimen/spacing_16" |
16 | 17 | android:background="@drawable/button_outline_ripple" |
17 | 18 | android:drawablePadding="@dimen/spacing_8" |
18 | 19 | android:drawableStart="@drawable/ic_search_24dp" |
|
26 | 27 | app:drawableTint="?colorAccent" |
27 | 28 | tools:ignore="MissingPrefix,RtlSymmetry" /> |
28 | 29 |
|
29 | | - <!-- We don't currently have a center color for the background gradient |
30 | | - so we can't adjust the centerY of the background. This lets us have a |
31 | | - different centerY because we can freely adjust the height of this view. |
32 | | - --> |
33 | | - <View |
34 | | - android:layout_width="match_parent" |
35 | | - android:layout_height="match_parent" |
36 | | - android:layout_below="@id/patients_search_patients" |
37 | | - android:layout_marginTop="@dimen/spacing_48" |
38 | | - android:background="@drawable/background_patients" /> |
39 | | - |
40 | 30 | <ImageView |
41 | | - android:layout_width="wrap_content" |
| 31 | + android:layout_width="match_parent" |
42 | 32 | android:layout_height="wrap_content" |
43 | 33 | android:layout_below="@id/patients_search_patients" |
44 | 34 | android:layout_centerHorizontal="true" |
45 | 35 | android:layout_marginTop="@dimen/spacing_48" |
46 | 36 | android:src="@drawable/register_illustration" |
47 | | - tools:ignore="ContentDescription" /> |
| 37 | + tools:ignore="ContentDescription" |
| 38 | + android:scaleType="centerCrop"/> |
48 | 39 |
|
49 | 40 | <org.simple.clinic.widgets.ViewFlipperWithDebugPreview |
50 | 41 | android:id="@+id/patients_user_status_viewflipper" |
|
0 commit comments