diff --git a/app/src/main/java/io/github/wulkanowy/ui/modules/attendance/AttendancePresenter.kt b/app/src/main/java/io/github/wulkanowy/ui/modules/attendance/AttendancePresenter.kt
index df311f784..b8114208a 100644
--- a/app/src/main/java/io/github/wulkanowy/ui/modules/attendance/AttendancePresenter.kt
+++ b/app/src/main/java/io/github/wulkanowy/ui/modules/attendance/AttendancePresenter.kt
@@ -158,7 +158,7 @@ class AttendancePresenter @Inject constructor(
view?.apply {
showPreButton(!currentDate.minusDays(1).isHolidays)
showNextButton(!currentDate.plusDays(1).isHolidays)
- updateNavigationDay(currentDate.toFormattedString("EEEE\ndd.MM.YYYY").capitalize())
+ updateNavigationDay(currentDate.toFormattedString("EEEE, dd.MM").capitalize())
}
}
}
diff --git a/app/src/main/java/io/github/wulkanowy/ui/modules/timetable/TimetablePresenter.kt b/app/src/main/java/io/github/wulkanowy/ui/modules/timetable/TimetablePresenter.kt
index 54439e0ac..07fd3815a 100644
--- a/app/src/main/java/io/github/wulkanowy/ui/modules/timetable/TimetablePresenter.kt
+++ b/app/src/main/java/io/github/wulkanowy/ui/modules/timetable/TimetablePresenter.kt
@@ -151,7 +151,7 @@ class TimetablePresenter @Inject constructor(
view?.apply {
showPreButton(!currentDate.minusDays(1).isHolidays)
showNextButton(!currentDate.plusDays(1).isHolidays)
- updateNavigationDay(currentDate.toFormattedString("EEEE\ndd.MM.YYYY").capitalize())
+ updateNavigationDay(currentDate.toFormattedString("EEEE, dd.MM").capitalize())
}
}
}
diff --git a/app/src/main/java/io/github/wulkanowy/ui/modules/timetable/completed/CompletedLessonsPresenter.kt b/app/src/main/java/io/github/wulkanowy/ui/modules/timetable/completed/CompletedLessonsPresenter.kt
index b9e1fe2d6..b936c6576 100644
--- a/app/src/main/java/io/github/wulkanowy/ui/modules/timetable/completed/CompletedLessonsPresenter.kt
+++ b/app/src/main/java/io/github/wulkanowy/ui/modules/timetable/completed/CompletedLessonsPresenter.kt
@@ -135,7 +135,7 @@ class CompletedLessonsPresenter @Inject constructor(
view?.apply {
showPreButton(!currentDate.minusDays(1).isHolidays)
showNextButton(!currentDate.plusDays(1).isHolidays)
- updateNavigationDay(currentDate.toFormattedString("EEEE\ndd.MM.YYYY").capitalize())
+ updateNavigationDay(currentDate.toFormattedString("EEEE, dd.MM").capitalize())
}
}
}
diff --git a/app/src/main/res/drawable/ic_chevron_left.xml b/app/src/main/res/drawable/ic_chevron_left.xml
new file mode 100644
index 000000000..ee3ff4be8
--- /dev/null
+++ b/app/src/main/res/drawable/ic_chevron_left.xml
@@ -0,0 +1,5 @@
+
+
+
diff --git a/app/src/main/res/drawable/ic_chevron_right.xml b/app/src/main/res/drawable/ic_chevron_right.xml
new file mode 100644
index 000000000..a6d734973
--- /dev/null
+++ b/app/src/main/res/drawable/ic_chevron_right.xml
@@ -0,0 +1,5 @@
+
+
+
diff --git a/app/src/main/res/layout/fragment_attendance.xml b/app/src/main/res/layout/fragment_attendance.xml
index 033a6772b..4877103ef 100644
--- a/app/src/main/res/layout/fragment_attendance.xml
+++ b/app/src/main/res/layout/fragment_attendance.xml
@@ -58,40 +58,49 @@
-
+ android:background="?attr/selectableItemBackgroundBorderless"
+ android:paddingLeft="12dp"
+ android:paddingTop="8dp"
+ android:paddingRight="12dp"
+ android:paddingBottom="8dp"
+ android:scaleType="fitStart"
+ android:tint="?colorPrimary"
+ app:srcCompat="@drawable/ic_chevron_left"
+ android:contentDescription="@string/all_prev"/>
+ android:text="@string/app_name"
+ android:textSize="16sp" />
-
+ android:background="?attr/selectableItemBackgroundBorderless"
+ android:paddingLeft="12dp"
+ android:paddingTop="8dp"
+ android:paddingRight="12dp"
+ android:paddingBottom="8dp"
+ android:scaleType="fitEnd"
+ android:tint="?colorPrimary"
+ app:srcCompat="@drawable/ic_chevron_right"
+ android:contentDescription="@string/all_next" />
diff --git a/app/src/main/res/layout/fragment_exam.xml b/app/src/main/res/layout/fragment_exam.xml
index 23086bfb6..adfbee32f 100644
--- a/app/src/main/res/layout/fragment_exam.xml
+++ b/app/src/main/res/layout/fragment_exam.xml
@@ -58,39 +58,49 @@
-
+ android:background="?attr/selectableItemBackgroundBorderless"
+ android:paddingLeft="12dp"
+ android:paddingTop="8dp"
+ android:paddingRight="12dp"
+ android:paddingBottom="8dp"
+ android:scaleType="fitStart"
+ android:tint="?colorPrimary"
+ app:srcCompat="@drawable/ic_chevron_left"
+ android:contentDescription="@string/all_prev"/>
+ android:text="@string/app_name"
+ android:textSize="16sp" />
-
+ android:background="?attr/selectableItemBackgroundBorderless"
+ android:paddingLeft="12dp"
+ android:paddingTop="8dp"
+ android:paddingRight="12dp"
+ android:paddingBottom="8dp"
+ android:scaleType="fitEnd"
+ android:tint="?colorPrimary"
+ app:srcCompat="@drawable/ic_chevron_right"
+ android:contentDescription="@string/all_next" />
diff --git a/app/src/main/res/layout/fragment_homework.xml b/app/src/main/res/layout/fragment_homework.xml
index b80727ecc..799d3f42c 100644
--- a/app/src/main/res/layout/fragment_homework.xml
+++ b/app/src/main/res/layout/fragment_homework.xml
@@ -58,39 +58,49 @@
-
+ android:background="?attr/selectableItemBackgroundBorderless"
+ android:paddingLeft="12dp"
+ android:paddingTop="8dp"
+ android:paddingRight="12dp"
+ android:paddingBottom="8dp"
+ android:scaleType="fitStart"
+ android:tint="?colorPrimary"
+ app:srcCompat="@drawable/ic_chevron_left"
+ android:contentDescription="@string/all_prev"/>
+ android:text="@string/app_name"
+ android:textSize="16sp" />
-
+ android:background="?attr/selectableItemBackgroundBorderless"
+ android:paddingLeft="12dp"
+ android:paddingTop="8dp"
+ android:paddingRight="12dp"
+ android:paddingBottom="8dp"
+ android:scaleType="fitEnd"
+ android:tint="?colorPrimary"
+ app:srcCompat="@drawable/ic_chevron_right"
+ android:contentDescription="@string/all_next" />
diff --git a/app/src/main/res/layout/fragment_timetable.xml b/app/src/main/res/layout/fragment_timetable.xml
index 85324961f..db5c6fc23 100644
--- a/app/src/main/res/layout/fragment_timetable.xml
+++ b/app/src/main/res/layout/fragment_timetable.xml
@@ -58,39 +58,48 @@
-
-
+ android:background="?attr/selectableItemBackgroundBorderless"
+ android:paddingLeft="12dp"
+ android:paddingTop="8dp"
+ android:paddingRight="12dp"
+ android:paddingBottom="8dp"
+ android:scaleType="fitStart"
+ android:tint="?colorPrimary"
+ app:srcCompat="@drawable/ic_chevron_left"
+ android:contentDescription="@string/all_prev"/>
+ android:text="@string/app_name"
+ android:textSize="16sp" />
-
+ android:background="?attr/selectableItemBackgroundBorderless"
+ android:paddingLeft="12dp"
+ android:paddingTop="8dp"
+ android:paddingRight="12dp"
+ android:paddingBottom="8dp"
+ android:scaleType="fitEnd"
+ android:tint="?colorPrimary"
+ app:srcCompat="@drawable/ic_chevron_right"
+ android:contentDescription="@string/all_next" />
diff --git a/app/src/main/res/layout/fragment_timetable_completed.xml b/app/src/main/res/layout/fragment_timetable_completed.xml
index dee31ae4f..7c093a4a7 100644
--- a/app/src/main/res/layout/fragment_timetable_completed.xml
+++ b/app/src/main/res/layout/fragment_timetable_completed.xml
@@ -62,39 +62,49 @@
-
+ android:background="?attr/selectableItemBackgroundBorderless"
+ android:paddingLeft="12dp"
+ android:paddingTop="8dp"
+ android:paddingRight="12dp"
+ android:paddingBottom="8dp"
+ android:scaleType="fitStart"
+ android:tint="?colorPrimary"
+ app:srcCompat="@drawable/ic_chevron_left"
+ android:contentDescription="@string/all_prev"/>
+ android:text="@string/app_name"
+ android:textSize="16sp" />
-
+ android:background="?attr/selectableItemBackgroundBorderless"
+ android:paddingLeft="12dp"
+ android:paddingTop="8dp"
+ android:paddingRight="12dp"
+ android:paddingBottom="8dp"
+ android:scaleType="fitEnd"
+ android:tint="?colorPrimary"
+ app:srcCompat="@drawable/ic_chevron_right"
+ android:contentDescription="@string/all_next" />