Files
android-fuplanner/app/src/main/res/layout/fragment_schedule.xml
Sebastian Seedorf 45704c4f35 Added night mode
2019-10-21 18:21:46 +02:00

40 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
tools:context=".fragments.ScheduleFragment">
<de.sebse.fuplanner.tools.ui.weekview.WeekView
android:id="@+id/weekView"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:textSize="12sp"
app:hourHeight="30dp"
app:headerColumnPadding="8dp"
app:headerRowPadding="12dp"
app:columnGap="8dp"
app:noOfVisibleDays="5"
app:firstDayOfWeek="monday"
app:showFirstDayOfWeekFirst="true"
app:maxTime="21"
app:minTime="7"
app:showDistinctPastFutureColor="true"
app:showDistinctWeekendColor="true"
app:showNowLine="true"
app:headerColumnTextColor="@color/fuHeaderText3"
android:background="@color/fuBackgroundShadowed"
app:eventTextColor="@color/colorFUWhite"
app:headerRowBackgroundColor="@color/fuBackgroundShadowed"
app:futureWeekendBackgroundColor="@color/fuWeekendFuture"
app:pastWeekendBackgroundColor="@color/fuWeekendPast"
app:futureBackgroundColor="@color/fuWeekFuture"
app:pastBackgroundColor="@color/fuWeekPast"
app:hourSeparatorColor="@color/fuHeaderText3"
app:defaultEventColor="@color/fuAccent"
app:headerColumnBackground="@color/fuBackgroundShadowed"
/>
</FrameLayout>