Workaround to prevent numpad from being briefly displayed when answering a video call

This commit is contained in:
Sylvain Berfini 2026-01-20 17:19:45 +01:00
parent 539439a055
commit 8cb883a978
4 changed files with 10 additions and 0 deletions

View file

@ -304,6 +304,7 @@
<include
android:id="@+id/call_numpad"
layout="@layout/call_numpad_bottom_sheet"
bind:viewModel="@{viewModel}"
bind:model="@{numpadModel}"/>
<include

View file

@ -11,6 +11,9 @@
<variable
name="model"
type="org.linphone.ui.main.history.model.NumpadModel" />
<variable
name="viewModel"
type="org.linphone.ui.call.viewmodel.CurrentCallViewModel" />
</data>
<androidx.constraintlayout.widget.ConstraintLayout
@ -19,6 +22,7 @@
android:background="@drawable/shape_call_bottom_sheet_background"
android:clickable="true"
android:focusable="true"
android:visibility="@{viewModel.fullScreenMode || viewModel.pipMode ? View.INVISIBLE : View.VISIBLE}"
app:behavior_hideable="true"
app:behavior_peekHeight="0dp"
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"

View file

@ -301,6 +301,7 @@
<include
android:id="@+id/call_numpad"
layout="@layout/call_numpad_bottom_sheet"
bind:viewModel="@{viewModel}"
bind:model="@{numpadModel}"/>
<include

View file

@ -11,6 +11,9 @@
<variable
name="model"
type="org.linphone.ui.main.history.model.NumpadModel" />
<variable
name="viewModel"
type="org.linphone.ui.call.viewmodel.CurrentCallViewModel" />
</data>
<androidx.constraintlayout.widget.ConstraintLayout
@ -19,6 +22,7 @@
android:background="@drawable/shape_call_bottom_sheet_background"
android:clickable="true"
android:focusable="true"
android:visibility="@{viewModel.fullScreenMode || viewModel.pipMode ? View.INVISIBLE : View.VISIBLE}"
app:behavior_hideable="true"
app:behavior_peekHeight="0dp"
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"