diff --git a/src/main/java/com/owncloud/android/ui/activities/StickyHeaderItemDecoration.java b/src/main/java/com/owncloud/android/ui/activities/StickyHeaderItemDecoration.java index bdcf81795a..f0f8e0b5da 100644 --- a/src/main/java/com/owncloud/android/ui/activities/StickyHeaderItemDecoration.java +++ b/src/main/java/com/owncloud/android/ui/activities/StickyHeaderItemDecoration.java @@ -99,7 +99,6 @@ public class StickyHeaderItemDecoration extends RecyclerView.ItemDecoration { int headerPosition = adapter.getHeaderPositionForItem(itemPosition); int layoutId = adapter.getHeaderLayout(itemPosition); View header = LayoutInflater.from(parent.getContext()).inflate(layoutId, parent, false); - header.setBackgroundColor(Color.WHITE); adapter.bindHeaderData(header, headerPosition); return header; } diff --git a/src/main/res/layout/activity_list_item_header.xml b/src/main/res/layout/activity_list_item_header.xml index 6c8e3de862..a670dbbcde 100644 --- a/src/main/res/layout/activity_list_item_header.xml +++ b/src/main/res/layout/activity_list_item_header.xml @@ -1,16 +1,36 @@ + + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:background="@color/bg_default"> + android:textSize="@dimen/activity_list_item_title_header_text_size" />