diff --git a/app/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java b/app/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java
index c85c6895082b..565d43d5232a 100644
--- a/app/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java
+++ b/app/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java
@@ -439,7 +439,9 @@ public void onBindViewHolder(@NonNull RecyclerView.ViewHolder holder, int positi
PreviewTextFragment.setText(headerViewHolder.getHeaderText(), text, null, activity, true, true, viewThemeUtils);
headerViewHolder.getHeaderView().setOnClickListener(v -> ocFileListFragmentInterface.onHeaderClicked());
- ViewExtensionsKt.setVisibleIf(headerViewHolder.getBinding().recommendedFilesLayout, shouldShowRecommendedFiles());
+ ViewExtensionsKt.setVisibleIf(headerViewHolder.getBinding().recommendedFilesRecyclerView, shouldShowRecommendedFiles());
+ ViewExtensionsKt.setVisibleIf(headerViewHolder.getBinding().recommendedFilesTitle, shouldShowRecommendedFiles());
+ ViewExtensionsKt.setVisibleIf(headerViewHolder.getBinding().allFilesTitle, shouldShowRecommendedFiles());
if (shouldShowRecommendedFiles()) {
final var recommendedFilesRecyclerView = headerViewHolder.getBinding().recommendedFilesRecyclerView;
diff --git a/app/src/main/res/layout/list_header.xml b/app/src/main/res/layout/list_header.xml
index ae2122408374..63c0cbac1d3d 100644
--- a/app/src/main/res/layout/list_header.xml
+++ b/app/src/main/res/layout/list_header.xml
@@ -7,72 +7,53 @@
~ SPDX-FileCopyrightText: 2019 Nextcloud GmbH
~ SPDX-License-Identifier: AGPL-3.0-or-later OR GPL-2.0-only
-->
-
-
-
-
-
-
+ android:layout_height="match_parent"
+ android:layout_marginBottom="@dimen/standard_margin"
+ android:textColor="@color/text_color" />
-
+
-
+
-
+
diff --git a/app/src/main/res/layout/recommended_files_list_item.xml b/app/src/main/res/layout/recommended_files_list_item.xml
index e6a6981bd0a5..852eb863dc18 100644
--- a/app/src/main/res/layout/recommended_files_list_item.xml
+++ b/app/src/main/res/layout/recommended_files_list_item.xml
@@ -25,6 +25,7 @@
android:layout_height="@dimen/recommended_files_thumbnail_height"
android:padding="@dimen/standard_padding"
android:background="@drawable/rounded_rect_8dp"
+ android:backgroundTint="@color/transparent"
android:contentDescription="@string/preview_image_description"
android:src="@drawable/file" />
diff --git a/app/src/main/res/values/dims.xml b/app/src/main/res/values/dims.xml
index 8625a8eb6fbe..6f57563d30b6 100644
--- a/app/src/main/res/values/dims.xml
+++ b/app/src/main/res/values/dims.xml
@@ -160,7 +160,5 @@
18dp
120dp
150dp
- 180dp
-
22sp