increase height of header element and set backgroundcolor to white

Signed-off-by: alex <alex.plutta@googlemail.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
alexp 2019-08-14 18:17:23 +02:00 committed by Andy Scherzinger
parent a184345c1a
commit 13e7aff0a5
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B
2 changed files with 4 additions and 5 deletions

View file

@ -1,9 +1,7 @@
package com.owncloud.android.ui.activities;
import android.app.Activity;
import android.content.Context;
import android.graphics.Canvas;
import android.util.Log;
import android.graphics.Color;
import android.view.View;
import com.owncloud.android.ui.adapter.ActivityListAdapter;
@ -31,6 +29,7 @@ public class ActivityListItemDecoration extends RecyclerView.ItemDecoration {
if (topElement instanceof ActivityListHeader) {
currentHeader = parent.getChildAt(0);
currentHeader.setBackgroundColor(Color.WHITE);
}
drawHeader(c, currentHeader);
}

View file

@ -6,7 +6,7 @@
<TextView
android:id="@+id/title_header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="60dp"
android:layout_marginLeft="@dimen/standard_list_item_size"
android:layout_marginStart="@dimen/standard_list_item_size"
android:layout_marginTop="10dp"