From af0787c0b137e7e56266b08a6b75bc05d48d646b Mon Sep 17 00:00:00 2001 From: Mateusz Idziejczak Date: Sat, 10 Oct 2020 02:53:25 +0200 Subject: [PATCH] Add support for BIG font (#989) Co-authored-by: Faierbel --- app/src/main/res/layout/activity_main.xml | 15 +-- app/src/main/res/layout/item_about.xml | 3 +- app/src/main/res/layout/item_attendance.xml | 77 +++++++++------ .../item_attendance_summary_subject.xml | 3 +- .../main/res/layout/item_completed_lesson.xml | 11 ++- .../main/res/layout/item_grade_details.xml | 94 +++++++++++-------- app/src/main/res/layout/item_license.xml | 9 +- .../res/layout/item_login_student_select.xml | 3 +- .../main/res/layout/item_mobile_device.xml | 11 ++- app/src/main/res/layout/item_timetable.xml | 6 +- .../main/res/layout/item_timetable_small.xml | 3 +- .../res/layout/item_widget_timetable_dark.xml | 6 +- .../layout/item_widget_timetable_small.xml | 3 +- .../item_widget_timetable_small_dark.xml | 7 +- .../res/layout/scrollable_header_about.xml | 3 +- 15 files changed, 157 insertions(+), 97 deletions(-) diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 2ea0a4d39..2f88ecc82 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -1,5 +1,5 @@ - + app:contentInsetStartWithNavigation="0dp" + app:layout_constraintTop_toTopOf="parent" /> + android:layout_height="0dp" + app:layout_constraintBottom_toTopOf="@id/mainBottomNav" + app:layout_constraintTop_toBottomOf="@id/mainToolbar" /> - + app:layout_constraintBottom_toBottomOf="parent" /> + diff --git a/app/src/main/res/layout/item_about.xml b/app/src/main/res/layout/item_about.xml index f988c47ba..6a95e5529 100644 --- a/app/src/main/res/layout/item_about.xml +++ b/app/src/main/res/layout/item_about.xml @@ -33,7 +33,8 @@ + android:orientation="vertical" + app:layout_constraintBottom_toBottomOf="@+id/attendanceItemDetailsContainer" + app:layout_constraintEnd_toStartOf="@+id/attendanceItemDetailsContainer" + app:layout_constraintHorizontal_bias="0.5" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="@+id/attendanceItemDetailsContainer"> - + android:layout_marginEnd="10dp" + app:layout_constraintEnd_toStartOf="@+id/attendanceItemAlert" + app:layout_constraintHorizontal_bias="0.5" + app:layout_constraintStart_toEndOf="@+id/attendanceItemNumberContainer" + app:layout_constraintTop_toTopOf="parent"> - + + + + - + diff --git a/app/src/main/res/layout/item_attendance_summary_subject.xml b/app/src/main/res/layout/item_attendance_summary_subject.xml index 263c08a73..ff731461d 100644 --- a/app/src/main/res/layout/item_attendance_summary_subject.xml +++ b/app/src/main/res/layout/item_attendance_summary_subject.xml @@ -3,7 +3,8 @@ xmlns:tools="http://schemas.android.com/tools" android:id="@+id/attendanceSummaryItemSubject" android:layout_width="match_parent" - android:layout_height="48dp" + android:layout_height="wrap_content" + android:minHeight="48dp" android:gravity="start" android:maxLines="1" android:paddingLeft="16dp" diff --git a/app/src/main/res/layout/item_completed_lesson.xml b/app/src/main/res/layout/item_completed_lesson.xml index b9beec804..e9944f56f 100644 --- a/app/src/main/res/layout/item_completed_lesson.xml +++ b/app/src/main/res/layout/item_completed_lesson.xml @@ -12,8 +12,11 @@ diff --git a/app/src/main/res/layout/item_grade_details.xml b/app/src/main/res/layout/item_grade_details.xml index ccc968c08..2f3bd2de5 100644 --- a/app/src/main/res/layout/item_grade_details.xml +++ b/app/src/main/res/layout/item_grade_details.xml @@ -18,62 +18,82 @@ - + app:layout_constraintTop_toTopOf="parent"> - + - + + + + + diff --git a/app/src/main/res/layout/item_license.xml b/app/src/main/res/layout/item_license.xml index aaa7cd349..cb55ab87a 100644 --- a/app/src/main/res/layout/item_license.xml +++ b/app/src/main/res/layout/item_license.xml @@ -2,7 +2,8 @@