|
20 | 20 | <LinearLayout
|
21 | 21 | android:layout_width="match_parent"
|
22 | 22 | android:layout_height="wrap_content"
|
23 |
| - android:paddingTop="16dp" |
| 23 | + android:paddingTop="@dimen/mtrl_calendar_text_input_padding_top" |
24 | 24 | android:paddingBottom="16dp"
|
25 | 25 | android:paddingLeft="@dimen/mtrl_calendar_content_padding"
|
26 | 26 | android:paddingRight="@dimen/mtrl_calendar_content_padding"
|
27 |
| - android:orientation="horizontal"> |
| 27 | + android:orientation="vertical"> |
28 | 28 |
|
29 | 29 | <com.google.android.material.textfield.TextInputLayout
|
30 | 30 | android:id="@+id/mtrl_picker_text_input_range_start"
|
31 | 31 | android:layout_width="match_parent"
|
32 | 32 | android:layout_height="wrap_content"
|
33 |
| - android:layout_weight="1"> |
| 33 | + android:minWidth="@dimen/material_textinput_min_width_with_label" |
| 34 | + android:maxWidth="@dimen/material_textinput_max_width" |
| 35 | + android:layout_gravity="center_horizontal"> |
34 | 36 |
|
35 | 37 | <com.google.android.material.textfield.TextInputEditText
|
36 | 38 | android:layout_width="match_parent"
|
|
41 | 43 | </com.google.android.material.textfield.TextInputLayout>
|
42 | 44 |
|
43 | 45 | <Space
|
44 |
| - android:layout_width="8dp" |
45 |
| - android:layout_height="0dp"/> |
| 46 | + android:layout_width="0dp" |
| 47 | + android:layout_height="8dp"/> |
46 | 48 |
|
47 | 49 | <com.google.android.material.textfield.TextInputLayout
|
48 | 50 | android:id="@+id/mtrl_picker_text_input_range_end"
|
49 | 51 | android:layout_width="match_parent"
|
50 | 52 | android:layout_height="wrap_content"
|
51 |
| - android:layout_weight="1"> |
| 53 | + android:minWidth="@dimen/material_textinput_min_width_with_label" |
| 54 | + android:maxWidth="@dimen/material_textinput_max_width" |
| 55 | + android:layout_gravity="center_horizontal"> |
52 | 56 |
|
53 | 57 | <com.google.android.material.textfield.TextInputEditText
|
54 | 58 | android:layout_width="match_parent"
|
|
0 commit comments