mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 13:45:35 +03:00
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:
parent
a184345c1a
commit
13e7aff0a5
2 changed files with 4 additions and 5 deletions
|
@ -1,9 +1,7 @@
|
||||||
package com.owncloud.android.ui.activities;
|
package com.owncloud.android.ui.activities;
|
||||||
|
|
||||||
import android.app.Activity;
|
|
||||||
import android.content.Context;
|
|
||||||
import android.graphics.Canvas;
|
import android.graphics.Canvas;
|
||||||
import android.util.Log;
|
import android.graphics.Color;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
|
||||||
import com.owncloud.android.ui.adapter.ActivityListAdapter;
|
import com.owncloud.android.ui.adapter.ActivityListAdapter;
|
||||||
|
@ -31,6 +29,7 @@ public class ActivityListItemDecoration extends RecyclerView.ItemDecoration {
|
||||||
|
|
||||||
if (topElement instanceof ActivityListHeader) {
|
if (topElement instanceof ActivityListHeader) {
|
||||||
currentHeader = parent.getChildAt(0);
|
currentHeader = parent.getChildAt(0);
|
||||||
|
currentHeader.setBackgroundColor(Color.WHITE);
|
||||||
}
|
}
|
||||||
drawHeader(c, currentHeader);
|
drawHeader(c, currentHeader);
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/title_header"
|
android:id="@+id/title_header"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="60dp"
|
||||||
android:layout_marginLeft="@dimen/standard_list_item_size"
|
android:layout_marginLeft="@dimen/standard_list_item_size"
|
||||||
android:layout_marginStart="@dimen/standard_list_item_size"
|
android:layout_marginStart="@dimen/standard_list_item_size"
|
||||||
android:layout_marginTop="10dp"
|
android:layout_marginTop="10dp"
|
||||||
|
|
Loading…
Reference in a new issue