diff --git a/vector/src/main/res/drawable/bg_rounded_button.xml b/vector/src/main/res/drawable/bg_rounded_button.xml new file mode 100644 index 0000000000..4b5503a92f --- /dev/null +++ b/vector/src/main/res/drawable/bg_rounded_button.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/vector/src/main/res/drawable/oval_destructive.xml b/vector/src/main/res/drawable/oval_destructive.xml deleted file mode 100644 index 045a50456d..0000000000 --- a/vector/src/main/res/drawable/oval_destructive.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/vector/src/main/res/drawable/oval_positive.xml b/vector/src/main/res/drawable/oval_positive.xml deleted file mode 100644 index d2e17d746b..0000000000 --- a/vector/src/main/res/drawable/oval_positive.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/vector/src/main/res/layout/activity_call.xml b/vector/src/main/res/layout/activity_call.xml index 45be67ae8e..ff33c5f17c 100644 --- a/vector/src/main/res/layout/activity_call.xml +++ b/vector/src/main/res/layout/activity_call.xml @@ -42,11 +42,11 @@ android:layout_height="144dp" android:layout_marginTop="32dp" android:layout_marginEnd="16dp" - android:visibility="gone" - tools:visibility="visible" android:background="@color/riotx_background_light" + android:visibility="gone" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintTop_toTopOf="parent"> + app:layout_constraintTop_toTopOf="parent" + tools:visibility="visible"> - - + tools:style="@style/AlertStyle"> + app:layout_constraintTop_toTopOf="parent" + app:tint="@android:color/white" /> + app:layout_constraintTop_toTopOf="parent" /> \ No newline at end of file diff --git a/vector/src/main/res/layout/view_call_controls.xml b/vector/src/main/res/layout/view_call_controls.xml index 6d52153469..81684cafea 100644 --- a/vector/src/main/res/layout/view_call_controls.xml +++ b/vector/src/main/res/layout/view_call_controls.xml @@ -18,7 +18,8 @@ android:id="@+id/ringingControlAccept" android:layout_width="56dp" android:layout_height="56dp" - android:background="@drawable/oval_positive" + android:background="@drawable/bg_rounded_button" + android:backgroundTint="@color/riotx_accent" android:clickable="true" android:contentDescription="@string/call_notification_answer" android:focusable="true" @@ -31,7 +32,8 @@ android:id="@+id/ringingControlDecline" android:layout_width="56dp" android:layout_height="56dp" - android:background="@drawable/oval_destructive" + android:background="@drawable/bg_rounded_button" + android:backgroundTint="@color/riotx_destructive_accent" android:clickable="true" android:contentDescription="@string/call_notification_reject" android:focusable="true" @@ -43,6 +45,8 @@ @@ -63,12 +67,13 @@ @@ -77,7 +82,7 @@ android:id="@+id/muteIcon" android:layout_width="56dp" android:layout_height="56dp" - android:background="@drawable/oval_positive" + android:background="@drawable/bg_rounded_button" android:clickable="true" android:focusable="true" android:padding="16dp" @@ -85,14 +90,14 @@ app:backgroundTint="?attr/riotx_background" app:tint="?attr/riotx_text_primary" tools:contentDescription="@string/a11y_mute_microphone" - tools:ignore="MissingConstraints,MissingPrefix" - tools:src="@drawable/ic_microphone_on" /> + tools:ignore="MissingConstraints,MissingPrefix" /> @@ -130,6 +136,8 @@