mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 05:35:39 +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;
|
||||
|
||||
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);
|
||||
}
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
<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"
|
||||
android:text="@string/placeholder_filename"
|
||||
android:textSize="@dimen/activity_list_item_title_header_text_size"/>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
|
Loading…
Reference in a new issue