From 4775defbf72c0793ca18dde69950f7d3400e00b9 Mon Sep 17 00:00:00 2001 From: yuzalsif Date: Mon, 6 May 2024 21:25:02 +0300 Subject: [PATCH 1/6] feat: Add round corners to teidashboard landscape --- .../layout-land/activity_dashboard_mobile.xml | 326 +++++++++--------- 1 file changed, 170 insertions(+), 156 deletions(-) diff --git a/app/src/main/res/layout-land/activity_dashboard_mobile.xml b/app/src/main/res/layout-land/activity_dashboard_mobile.xml index 9e8320ffe8..9b943beb20 100644 --- a/app/src/main/res/layout-land/activity_dashboard_mobile.xml +++ b/app/src/main/res/layout-land/activity_dashboard_mobile.xml @@ -15,179 +15,193 @@ android:layout_height="match_parent"> - - - - - - - - - - - - + + - + android:layout_height="?attr/actionBarSize" + android:background="?colorPrimary" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> - - - - - - - - - + + + + + + + + + + + + + app:layout_constraintTop_toBottomOf="@id/toolbar"> - + + + + + + + + + + + app:layout_constraintEnd_toStartOf="@id/guideline25" + app:layout_constraintStart_toStartOf="@id/guideline2" + app:layout_constraintTop_toTopOf="parent"> - + + - - + + + + + + + - - - - - + app:forceShowAnalytics="true" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="@id/guideline625" + app:menu="@menu/navigation_dashboard_landscape_menu" /> + \ No newline at end of file From 27481385c4ccb7840d96be4a7672561a9c8e3939 Mon Sep 17 00:00:00 2001 From: yuzalsif Date: Mon, 6 May 2024 22:18:17 +0300 Subject: [PATCH 2/6] feat: Add round corners to teidashboard portrait --- .../res/layout/activity_dashboard_mobile.xml | 220 +++++++++--------- 1 file changed, 114 insertions(+), 106 deletions(-) diff --git a/app/src/main/res/layout/activity_dashboard_mobile.xml b/app/src/main/res/layout/activity_dashboard_mobile.xml index 4d19f002f0..69d365c0c3 100644 --- a/app/src/main/res/layout/activity_dashboard_mobile.xml +++ b/app/src/main/res/layout/activity_dashboard_mobile.xml @@ -21,118 +21,126 @@ android:layout_height="match_parent"> - - - - - - + android:layout_height="match_parent" + android:background="?colorPrimary"> - - - - - + + + + + + + + + + + + + + + + + + + + - - + app:layout_constraintTop_toBottomOf="@id/toolbar" /> - - + app:forceShowAnalytics="true" + app:layout_constraintBottom_toBottomOf="parent" + app:menu="@menu/navigation_dashboard_menu" /> - - - - - \ No newline at end of file From 53958b9338aeeab886beca509360ee5567827e99 Mon Sep 17 00:00:00 2001 From: yuzalsif Date: Mon, 6 May 2024 22:41:57 +0300 Subject: [PATCH 3/6] fix: Make children respect the round corner of the parent container --- .../main/res/layout-land/activity_dashboard_mobile.xml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/app/src/main/res/layout-land/activity_dashboard_mobile.xml b/app/src/main/res/layout-land/activity_dashboard_mobile.xml index 9b943beb20..f072c35bcc 100644 --- a/app/src/main/res/layout-land/activity_dashboard_mobile.xml +++ b/app/src/main/res/layout-land/activity_dashboard_mobile.xml @@ -98,6 +98,7 @@ android:layout_width="match_parent" android:layout_height="0dp" android:background="@drawable/ic_front_home_backdrop_bg" + android:clipToOutline="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -110,13 +111,6 @@ android:orientation="vertical" app:layout_constraintGuide_percent=".3" /> - - Date: Tue, 7 May 2024 11:20:21 +0300 Subject: [PATCH 4/6] feat: Add round corner to the event capture activity --- .../main/res/layout-land/activity_event_capture.xml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/src/main/res/layout-land/activity_event_capture.xml b/app/src/main/res/layout-land/activity_event_capture.xml index ed0da89ffa..78c695b8c3 100644 --- a/app/src/main/res/layout-land/activity_event_capture.xml +++ b/app/src/main/res/layout-land/activity_event_capture.xml @@ -14,6 +14,12 @@ android:layout_width="match_parent" android:layout_height="match_parent"> + + + + \ No newline at end of file From bff7acaa3aa02e1254eac1fbea971dcb2a9b9e6e Mon Sep 17 00:00:00 2001 From: yuzalsif Date: Tue, 7 May 2024 11:26:00 +0300 Subject: [PATCH 5/6] feat: Add round corner to event capture portrait --- .../layout-land/activity_event_capture.xml | 412 +++++++++--------- .../res/layout/activity_event_capture.xml | 248 ++++++----- 2 files changed, 334 insertions(+), 326 deletions(-) diff --git a/app/src/main/res/layout-land/activity_event_capture.xml b/app/src/main/res/layout-land/activity_event_capture.xml index 78c695b8c3..89420b899c 100644 --- a/app/src/main/res/layout-land/activity_event_capture.xml +++ b/app/src/main/res/layout-land/activity_event_capture.xml @@ -4,6 +4,7 @@ xmlns:tools="http://schemas.android.com/tools"> + @@ -14,246 +15,245 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - - + android:layout_height="match_parent" + android:background="?colorPrimary"> - - - - - - - - - - - - - - - - + android:layout_height="?android:attr/actionBarSize" + android:background="?colorPrimary" + app:layout_constraintTop_toTopOf="parent"> - + - + - + - + - + - + - + - + + - + + - + app:layout_constraintTop_toBottomOf="@id/top_dummy_view" /> + + + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@id/activityToolbar"> + + + + + - + + + app:layout_constraintTop_toTopOf="parent"> - - - - - + android:background="@color/white" + android:elevation="3dp" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toStartOf="@id/guideline625" + app:layout_constraintStart_toEndOf="@id/guideline25" + app:layout_constraintTop_toTopOf="parent"> - + + + + + app:layout_constraintStart_toEndOf="@id/guideline625" + app:layout_constraintTop_toTopOf="parent"> + + + + + - - + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_event_capture.xml b/app/src/main/res/layout/activity_event_capture.xml index b6a62c437b..c9a1c21015 100644 --- a/app/src/main/res/layout/activity_event_capture.xml +++ b/app/src/main/res/layout/activity_event_capture.xml @@ -16,135 +16,143 @@ android:layout_height="match_parent"> - - - - + android:layout_height="match_parent" + android:background="?colorPrimary"> + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + app:forceShowAnalytics="true" + app:layout_constraintBottom_toBottomOf="parent" + app:menu="@menu/navigation_event_menu" /> - + android:layout_marginTop="10dp" + android:visibility="gone" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toTopOf="@id/eventViewPager" /> - - - - - - - - - - - \ No newline at end of file From 827be7556e7c2cc40ec7ea2616859ea843fa6d68 Mon Sep 17 00:00:00 2001 From: yuzalsif Date: Tue, 7 May 2024 19:39:42 +0300 Subject: [PATCH 6/6] Trigger builds