From 8ed48e40bb616ba2aa06f09c3f513382af187cb0 Mon Sep 17 00:00:00 2001 From: Caesar2011 Date: Thu, 12 Jul 2018 18:22:32 +0200 Subject: [PATCH] Schedule coloring --- app/src/main/res/layout/fragment_schedule.xml | 8 +++----- app/src/main/res/values/colors.xml | 3 ++- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/layout/fragment_schedule.xml b/app/src/main/res/layout/fragment_schedule.xml index 9f124d3..9273cb9 100644 --- a/app/src/main/res/layout/fragment_schedule.xml +++ b/app/src/main/res/layout/fragment_schedule.xml @@ -15,20 +15,18 @@ android:layout_height="match_parent" app:eventTextColor="@color/colorFUWhite" app:textSize="12sp" - app:hourHeight="60dp" + app:hourHeight="30dp" app:headerColumnPadding="8dp" app:headerColumnTextColor="#8f000000" app:headerRowPadding="12dp" app:columnGap="8dp" app:noOfVisibleDays="5" app:headerRowBackgroundColor="#ffefefef" - app:dayBackgroundColor="@color/colorFUPrimary" - app:todayBackgroundColor="@color/colorFUPrimary" - app:headerColumnBackground="@color/colorFUPrimary" app:firstDayOfWeek="monday" app:showFirstDayOfWeekFirst="true" app:futureWeekendBackgroundColor="@color/colorFURedLight" - app:pastWeekendBackgroundColor="@color/colorFURedLight" + app:pastWeekendBackgroundColor="@color/colorFURedLight2" + app:futureBackgroundColor="@color/colorFUWhite" app:maxTime="21" app:minTime="7" app:showDistinctPastFutureColor="true" diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 7ef4c36..2f96b05 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -6,5 +6,6 @@ #cccccc #003366 #333333 - #cca4a4 + #f5cccc + #cca3a3