From 1d122abb1761c9ed30df9e376198fe598692d9b5 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Tue, 16 Jan 2024 16:42:55 +0100 Subject: [PATCH] Updated colors on some parts while in call --- app/src/main/AndroidManifest.xml | 1 + .../shape_call_bottom_sheet_background.xml | 2 +- ...e_round_in_call_disabled_button_background.xml | 2 +- .../shape_round_in_call_gray_background.xml | 2 +- app/src/main/res/layout/call_ended_actions.xml | 2 +- app/src/main/res/layout/call_ended_fragment.xml | 15 +++++++++++---- app/src/main/res/values-night/themes.xml | 1 + app/src/main/res/values/themes.xml | 6 ++++++ 8 files changed, 23 insertions(+), 8 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 2a97f4120..31bf52567 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -117,6 +117,7 @@ - + \ No newline at end of file diff --git a/app/src/main/res/drawable/shape_round_in_call_disabled_button_background.xml b/app/src/main/res/drawable/shape_round_in_call_disabled_button_background.xml index d242fd79e..1076b3193 100644 --- a/app/src/main/res/drawable/shape_round_in_call_disabled_button_background.xml +++ b/app/src/main/res/drawable/shape_round_in_call_disabled_button_background.xml @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/app/src/main/res/drawable/shape_round_in_call_gray_background.xml b/app/src/main/res/drawable/shape_round_in_call_gray_background.xml index 62367e1b1..68dd4325a 100644 --- a/app/src/main/res/drawable/shape_round_in_call_gray_background.xml +++ b/app/src/main/res/drawable/shape_round_in_call_gray_background.xml @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/app/src/main/res/layout/call_ended_actions.xml b/app/src/main/res/layout/call_ended_actions.xml index f7ee57e43..d5adc8e24 100644 --- a/app/src/main/res/layout/call_ended_actions.xml +++ b/app/src/main/res/layout/call_ended_actions.xml @@ -13,7 +13,7 @@ android:layout_width="match_parent" android:layout_height="@dimen/call_main_actions_menu_height" android:paddingBottom="5dp" - android:background="@color/gray_900"> + android:background="@drawable/shape_call_bottom_sheet_background"> + app:layout_constraintBottom_toTopOf="@id/name"/> @@ -168,11 +174,12 @@ android:id="@+id/address" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_marginBottom="5dp" android:text="@{viewModel.displayedAddress, default=`sip:johndoe@sip.linphone.org`}" android:textColor="@color/white" android:textSize="14sp" - android:visibility="@{viewModel.conferenceModel.isCurrentCallInConference ? View.GONE : View.VISIBLE}" app:layout_constraintTop_toBottomOf="@id/name" + app:layout_constraintBottom_toBottomOf="@id/background" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent" /> diff --git a/app/src/main/res/values-night/themes.xml b/app/src/main/res/values-night/themes.xml index 157b54375..8af58fea9 100644 --- a/app/src/main/res/values-night/themes.xml +++ b/app/src/main/res/values-night/themes.xml @@ -13,6 +13,7 @@ true @color/black + @color/black @color/orange_main_100 @color/orange_main_300 diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 9a62d92c8..6422e9fad 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -14,6 +14,7 @@ true @color/white + @color/white @color/orange_main_100 @color/orange_main_300 @@ -55,6 +56,11 @@ @color/white + + +