From 87c2e5b7bd8322894d62b5c4d4c6bda936233d12 Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 1 Dec 2017 20:39:38 +0100 Subject: [PATCH] make the list item selection marker stretch through the whole screen width --- app/src/main/res/layout/event_item_day_view.xml | 3 ++- app/src/main/res/layout/event_list_item.xml | 3 ++- app/src/main/res/layout/event_list_section.xml | 1 + app/src/main/res/layout/fragment_day.xml | 1 - app/src/main/res/layout/fragment_event_list.xml | 1 - 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/src/main/res/layout/event_item_day_view.xml b/app/src/main/res/layout/event_item_day_view.xml index 44302b171..fb9cea008 100644 --- a/app/src/main/res/layout/event_item_day_view.xml +++ b/app/src/main/res/layout/event_item_day_view.xml @@ -8,7 +8,8 @@ android:background="?attr/selectableItemBackground" android:clickable="true" android:focusable="true" - android:foreground="@drawable/selector"> + android:foreground="@drawable/selector" + android:paddingLeft="@dimen/activity_margin"> + android:foreground="@drawable/selector" + android:paddingLeft="@dimen/activity_margin"> diff --git a/app/src/main/res/layout/fragment_day.xml b/app/src/main/res/layout/fragment_day.xml index 55dcea72e..8f13c2f1e 100644 --- a/app/src/main/res/layout/fragment_day.xml +++ b/app/src/main/res/layout/fragment_day.xml @@ -15,7 +15,6 @@ android:layout_below="@+id/top_value" android:clipToPadding="false" android:overScrollMode="never" - android:paddingLeft="@dimen/activity_margin" app:layoutManager="android.support.v7.widget.LinearLayoutManager"/> diff --git a/app/src/main/res/layout/fragment_event_list.xml b/app/src/main/res/layout/fragment_event_list.xml index 8fed0e3a3..b0a654c2d 100644 --- a/app/src/main/res/layout/fragment_event_list.xml +++ b/app/src/main/res/layout/fragment_event_list.xml @@ -11,7 +11,6 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:clipToPadding="false" - android:paddingLeft="@dimen/activity_margin" android:paddingTop="@dimen/medium_margin" android:scrollbars="vertical" android:visibility="gone"