mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Fixed mute mic / toggle speaker buttons background changing color when pressing the bottom bar empty space
This commit is contained in:
parent
633aee829a
commit
1e6f501dee
1 changed files with 2 additions and 4 deletions
|
|
@ -79,6 +79,7 @@
|
|||
|
||||
<org.linphone.ui.call.view.VuMeterView
|
||||
android:id="@+id/record_volume_vu_meter"
|
||||
android:onClick="@{() -> viewModel.toggleMuteMicrophone()}"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
|
|
@ -89,7 +90,6 @@
|
|||
app:layout_constraintEnd_toEndOf="@id/toggle_mute_mic" />
|
||||
|
||||
<ImageView
|
||||
android:onClick="@{() -> viewModel.toggleMuteMicrophone()}"
|
||||
android:id="@+id/toggle_mute_mic"
|
||||
android:layout_width="@dimen/call_button_size"
|
||||
android:layout_height="@dimen/call_button_size"
|
||||
|
|
@ -97,7 +97,6 @@
|
|||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:src="@{viewModel.isMicrophoneMuted ? @drawable/microphone_slash : @drawable/microphone, default=@drawable/microphone}"
|
||||
android:contentDescription="@string/content_description_toggle_microphone"
|
||||
android:background="@drawable/in_call_button_background_transparent"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
app:layout_constraintTop_toBottomOf="@id/call_actions_handle"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
|
@ -106,6 +105,7 @@
|
|||
|
||||
<org.linphone.ui.call.view.VuMeterView
|
||||
android:id="@+id/playback_volume_vu_meter"
|
||||
android:onClick="@{() -> viewModel.changeAudioOutputDevice()}"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
|
|
@ -116,7 +116,6 @@
|
|||
app:layout_constraintEnd_toEndOf="@id/change_audio_output" />
|
||||
|
||||
<ImageView
|
||||
android:onClick="@{() -> viewModel.changeAudioOutputDevice()}"
|
||||
android:id="@+id/change_audio_output"
|
||||
android:layout_width="@dimen/call_button_size"
|
||||
android:layout_height="@dimen/call_button_size"
|
||||
|
|
@ -124,7 +123,6 @@
|
|||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:src="@{viewModel.isHdmiEnabled ? @drawable/monitor : viewModel.isHearingAidEnabled ? @drawable/ear : viewModel.isHeadsetEnabled ? @drawable/headset : viewModel.isBluetoothEnabled ? @drawable/bluetooth : viewModel.isSpeakerEnabled ? @drawable/speaker_high : @drawable/speaker_slash, default=@drawable/speaker_slash}"
|
||||
android:contentDescription="@string/content_description_change_output_audio_device"
|
||||
android:background="@drawable/in_call_button_background_transparent"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
app:layout_constraintTop_toBottomOf="@id/call_actions_handle"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue