fixing a glitch with folder thumbnails at using search

This commit is contained in:
tibbi 2021-11-29 22:53:11 +01:00
parent 243f0ae988
commit 657021b67e
2 changed files with 2 additions and 1 deletions

View file

@ -627,6 +627,8 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener {
} else {
setupListLayoutManager()
}
(directories_refresh_layout.layoutParams as RelativeLayout.LayoutParams).addRule(RelativeLayout.BELOW, R.id.directories_switch_searching)
}
private fun setupGridLayoutManager() {

View file

@ -58,7 +58,6 @@
android:id="@+id/directories_grid"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/directories_switch_searching"
android:layoutAnimation="@anim/layout_animation"
android:scrollbars="none"
app:layoutManager="com.simplemobiletools.commons.views.MyGridLayoutManager"