|
14 | 14 |
|
15 | 15 | <LinearLayout |
16 | 16 | android:layout_width="match_parent" |
17 | | - android:layout_height="wrap_content" |
| 17 | + android:layout_height="@dimen/height_zero" |
18 | 18 | android:orientation="vertical" |
19 | 19 | android:padding="@dimen/config_activity_padding"> |
20 | 20 |
|
21 | 21 | <LinearLayout |
22 | 22 | android:id="@+id/select_instrument" |
23 | 23 | android:layout_width="match_parent" |
24 | | - android:layout_height="wrap_content" |
| 24 | + android:layout_height="@dimen/height_zero" |
| 25 | + android:layout_weight="@dimen/weight_one" |
25 | 26 | android:orientation="horizontal"> |
26 | 27 |
|
27 | 28 | <TextView |
28 | 29 | android:id="@+id/select_instrument_title" |
29 | 30 | style="@style/Base.TextAppearance.AppCompat.Title" |
30 | | - android:layout_width="wrap_content" |
| 31 | + android:layout_width="@dimen/width_zero" |
| 32 | + android:layout_weight="@dimen/weight_one" |
| 33 | + android:textSize="@dimen/text_size_of_label" |
31 | 34 | android:layout_height="wrap_content" |
32 | 35 | android:layout_gravity="center" |
33 | 36 | android:text="@string/select_instrument_title" /> |
34 | 37 |
|
35 | 38 | <android.support.v7.widget.AppCompatSpinner |
36 | 39 | android:id="@+id/select_instrument_spinner" |
37 | | - android:layout_width="match_parent" |
| 40 | + android:layout_width="@dimen/width_zero" |
| 41 | + android:layout_weight="@dimen/weight_two" |
38 | 42 | android:layout_height="wrap_content" |
39 | 43 | android:layout_gravity="center" |
40 | 44 | android:textAlignment="center" /> |
41 | | - |
42 | 45 | </LinearLayout> |
43 | 46 |
|
44 | 47 | <LinearLayout |
45 | 48 | android:layout_width="match_parent" |
46 | | - android:layout_height="wrap_content" |
| 49 | + android:layout_height="@dimen/height_zero" |
| 50 | + android:layout_weight="@dimen/weight_one" |
47 | 51 | android:layout_marginTop="@dimen/create_config_margin1" |
48 | 52 | android:orientation="horizontal"> |
49 | 53 |
|
50 | 54 | <TextView |
51 | 55 | android:id="@+id/time_interval_title" |
52 | 56 | style="@style/Base.TextAppearance.AppCompat.Title" |
53 | 57 | android:layout_width="wrap_content" |
| 58 | + android:textSize="@dimen/text_size_of_label" |
54 | 59 | android:layout_height="wrap_content" |
55 | 60 | android:layout_gravity="center" |
56 | 61 | android:text="@string/time_interval_title" /> |
57 | 62 |
|
58 | 63 | <EditText |
59 | 64 | android:id="@+id/interval_edit_text" |
60 | | - android:layout_width="0dp" |
| 65 | + android:layout_width="@dimen/width_zero" |
| 66 | + android:layout_weight="@dimen/weight_three" |
61 | 67 | android:layout_height="wrap_content" |
62 | 68 | android:hint="@string/time_interval_hint" |
63 | 69 | android:imeOptions="actionDone" |
64 | 70 | android:inputType="number" |
65 | 71 | android:textAlignment="center" |
66 | | - android:layout_gravity="center" |
67 | | - android:layout_weight="1"/> |
| 72 | + android:layout_gravity="center"/> |
68 | 73 |
|
69 | 74 | <android.support.v7.widget.AppCompatSpinner |
70 | 75 | android:id="@+id/interval_unit_spinner" |
71 | | - android:layout_width="wrap_content" |
| 76 | + android:layout_width="@dimen/width_zero" |
| 77 | + android:layout_weight="@dimen/weight_one" |
72 | 78 | android:layout_height="wrap_content" |
73 | 79 | android:layout_gravity="center"/> |
74 | 80 | </LinearLayout> |
|
79 | 85 | android:layout_width="wrap_content" |
80 | 86 | android:layout_height="wrap_content" |
81 | 87 | android:layout_gravity="center" |
| 88 | + android:textAlignment="center" |
| 89 | + android:textSize="@dimen/text_size_of_heading" |
82 | 90 | android:layout_marginTop="@dimen/create_config_margin2" |
83 | 91 | android:text="@string/select_params_title" /> |
84 | 92 |
|
85 | 93 | <android.support.v7.widget.RecyclerView |
86 | 94 | android:id="@+id/params_list_container" |
87 | 95 | android:layout_width="match_parent" |
88 | | - android:layout_height="@dimen/create_config_recycler_view" |
| 96 | + android:layout_height="@dimen/height_zero" |
| 97 | + android:layout_weight="@dimen/weight_four" |
89 | 98 | android:layout_marginTop="@dimen/create_config_margin1" /> |
90 | 99 |
|
91 | 100 | <Button |
|
0 commit comments