Fix spacing in module filter list

This commit is contained in:
RikkaW 2020-12-04 18:02:05 +08:00 committed by John Wu
parent a39577c44d
commit 4dbf7eb04b
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ class ModuleFragment : BaseUIFragment<ModuleViewModel, FragmentModuleMd2Binding>
binding.moduleFilterInclude.moduleFilterList.apply {
addVerticalPadding(
l_50,
l1 + resource.getDimensionPixelSize(R.dimen.internal_action_bar_size)
l_50
)
addSimpleItemDecoration(
left = l1,

View File

@ -33,7 +33,7 @@
android:clipToPadding="false"
android:orientation="vertical"
android:paddingTop="@dimen/internal_action_bar_size"
app:fitsSystemWindowsInsets="top|bottom"
app:fitsSystemWindowsInsets="top"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
app:layout_constrainedHeight="true"
app:layout_constraintBottom_toTopOf="@+id/module_filter_title_search"