diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt index ebfcdcd1b..92b1ba9bc 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt @@ -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() { diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 8821e6816..b500e9c62 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -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"