|
19 | 19 | style="@style/DialogTitle" |
20 | 20 | android:layout_width="match_parent" |
21 | 21 | android:layout_height="wrap_content" |
| 22 | + android:layout_marginHorizontal="10dp" |
22 | 23 | android:text="@string/default_types_selection_title" /> |
23 | 24 |
|
24 | | - <com.example.util.simpletimetracker.feature_views.DividerView |
| 25 | + <com.example.util.simpletimetracker.feature_views.DividerFullView |
25 | 26 | android:layout_width="match_parent" |
26 | 27 | android:layout_height="wrap_content" /> |
27 | 28 |
|
28 | 29 | <androidx.recyclerview.widget.RecyclerView |
29 | 30 | android:id="@+id/rvDefaultTypesSelectionContainer" |
30 | 31 | android:layout_width="match_parent" |
31 | 32 | android:layout_height="0dp" |
32 | | - android:layout_marginBottom="8dp" |
33 | 33 | android:layout_weight="1" |
| 34 | + android:clipToPadding="false" |
34 | 35 | android:overScrollMode="never" |
| 36 | + android:paddingTop="8dp" |
| 37 | + android:paddingBottom="8dp" |
35 | 38 | tools:listitem="@layout/item_record_type_layout" /> |
36 | 39 |
|
| 40 | + <View |
| 41 | + android:layout_width="match_parent" |
| 42 | + android:layout_height="2dp" |
| 43 | + android:layout_marginBottom="4dp" |
| 44 | + android:background="?appDividerColor" /> |
| 45 | + |
37 | 46 | <androidx.constraintlayout.widget.ConstraintLayout |
38 | 47 | android:layout_width="match_parent" |
39 | 48 | android:layout_height="wrap_content"> |
40 | 49 |
|
41 | | - <com.google.android.material.button.MaterialButton |
42 | | - android:id="@+id/btnDefaultTypesSelectionShowAll" |
43 | | - style="@style/AppButton" |
44 | | - android:layout_width="0dp" |
45 | | - android:layout_marginStart="8dp" |
46 | | - android:layout_marginEnd="4dp" |
47 | | - android:ellipsize="marquee" |
48 | | - android:paddingHorizontal="0dp" |
49 | | - android:singleLine="true" |
50 | | - android:text="@string/select_all" |
51 | | - app:layout_constraintBottom_toTopOf="@id/btnDefaultTypesSelectionSave" |
52 | | - app:layout_constraintEnd_toStartOf="@id/btnDefaultTypesSelectionHideAll" |
53 | | - app:layout_constraintStart_toStartOf="parent" /> |
54 | | - |
55 | | - <com.google.android.material.button.MaterialButton |
56 | | - android:id="@+id/btnDefaultTypesSelectionHideAll" |
57 | | - style="@style/AppButton" |
58 | | - android:layout_width="0dp" |
59 | | - android:layout_marginStart="4dp" |
60 | | - android:layout_marginEnd="8dp" |
61 | | - android:ellipsize="marquee" |
62 | | - android:paddingHorizontal="0dp" |
63 | | - android:singleLine="true" |
64 | | - android:text="@string/select_nothing" |
65 | | - app:layout_constraintBottom_toTopOf="@id/btnDefaultTypesSelectionSave" |
66 | | - app:layout_constraintEnd_toEndOf="parent" |
67 | | - app:layout_constraintStart_toEndOf="@id/btnDefaultTypesSelectionShowAll" /> |
68 | | - |
69 | 50 | <com.google.android.material.button.MaterialButton |
70 | 51 | android:id="@+id/btnDefaultTypesSelectionSave" |
71 | 52 | style="@style/AppButtonActive" |
|
0 commit comments