From 4dbf7eb04b795531c145a4c0d8d874b3356c6456 Mon Sep 17 00:00:00 2001 From: RikkaW Date: Fri, 4 Dec 2020 18:02:05 +0800 Subject: [PATCH] Fix spacing in module filter list --- .../main/java/com/topjohnwu/magisk/ui/module/ModuleFragment.kt | 2 +- app/src/main/res/layout/include_module_filter.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/topjohnwu/magisk/ui/module/ModuleFragment.kt b/app/src/main/java/com/topjohnwu/magisk/ui/module/ModuleFragment.kt index bb03d828a..45b02a61f 100644 --- a/app/src/main/java/com/topjohnwu/magisk/ui/module/ModuleFragment.kt +++ b/app/src/main/java/com/topjohnwu/magisk/ui/module/ModuleFragment.kt @@ -86,7 +86,7 @@ class ModuleFragment : BaseUIFragment binding.moduleFilterInclude.moduleFilterList.apply { addVerticalPadding( l_50, - l1 + resource.getDimensionPixelSize(R.dimen.internal_action_bar_size) + l_50 ) addSimpleItemDecoration( left = l1, diff --git a/app/src/main/res/layout/include_module_filter.xml b/app/src/main/res/layout/include_module_filter.xml index c95dbe889..081ade2db 100644 --- a/app/src/main/res/layout/include_module_filter.xml +++ b/app/src/main/res/layout/include_module_filter.xml @@ -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"