Kalender Farben geändert
This commit is contained in:
@@ -144,7 +144,7 @@ public class ScheduleFragment extends Fragment implements WeekView.EventClickLis
|
||||
Calendar start = Calendar.getInstance();
|
||||
start.setTimeInMillis(e.getStartDate());
|
||||
|
||||
events.add(new WeekViewEvent(1, e.getTitle(), start.get(Calendar.YEAR), start.get(Calendar.MONTH) + 1, start.get(Calendar.DAY_OF_MONTH), start.get(Calendar.HOUR_OF_DAY), start.get(Calendar.MINUTE), ende.get(Calendar.YEAR), ende.get(Calendar.MONTH) + 1, ende.get(Calendar.DAY_OF_MONTH), ende.get(Calendar.HOUR_OF_DAY), ende.get(Calendar.MINUTE)));
|
||||
events.add(new WeekViewEvent(e.getId(), e.getTitle(), start.get(Calendar.YEAR), start.get(Calendar.MONTH) + 1, start.get(Calendar.DAY_OF_MONTH), start.get(Calendar.HOUR_OF_DAY), start.get(Calendar.MINUTE), ende.get(Calendar.YEAR), ende.get(Calendar.MONTH) + 1, ende.get(Calendar.DAY_OF_MONTH), ende.get(Calendar.HOUR_OF_DAY), ende.get(Calendar.MINUTE)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,15 +22,19 @@
|
||||
app:columnGap="8dp"
|
||||
app:noOfVisibleDays="5"
|
||||
app:headerRowBackgroundColor="#ffefefef"
|
||||
app:dayBackgroundColor="#05000000"
|
||||
app:todayBackgroundColor="#1848adff"
|
||||
app:headerColumnBackground="#ffffffff"
|
||||
app:dayBackgroundColor="@color/colorFUPrimary"
|
||||
app:todayBackgroundColor="@color/colorFUPrimary"
|
||||
app:headerColumnBackground="@color/colorFUPrimary"
|
||||
app:firstDayOfWeek="monday"
|
||||
app:showFirstDayOfWeekFirst="true"
|
||||
app:futureWeekendBackgroundColor="@color/colorFUPrimary"
|
||||
app:pastWeekendBackgroundColor="@color/colorFUPrimary"
|
||||
app:futureWeekendBackgroundColor="@color/colorFURedLight"
|
||||
app:pastWeekendBackgroundColor="@color/colorFURedLight"
|
||||
app:maxTime="21"
|
||||
app:minTime="7"/>
|
||||
app:minTime="7"
|
||||
app:showDistinctPastFutureColor="true"
|
||||
app:showDistinctWeekendColor="true"
|
||||
app:hourSeparatorColor="@android:color/black"
|
||||
app:showNowLine="true"/>
|
||||
|
||||
|
||||
</FrameLayout>
|
||||
Reference in New Issue
Block a user