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 df311f78..b8114208 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 54439e0a..07fd3815 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 b9e1fe2d..b936c657 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 00000000..ee3ff4be
--- /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 00000000..a6d73497
--- /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 033a6772..4877103e 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 23086bfb..adfbee32 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 b80727ec..799d3f42 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 85324961..db5c6fc2 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 dee31ae4..7c093a4a 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" />