mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-21 13:48:11 +00:00
Workaround to prevent numpad from being briefly displayed when answering a video call
This commit is contained in:
parent
539439a055
commit
8cb883a978
4 changed files with 10 additions and 0 deletions
|
|
@ -304,6 +304,7 @@
|
|||
<include
|
||||
android:id="@+id/call_numpad"
|
||||
layout="@layout/call_numpad_bottom_sheet"
|
||||
bind:viewModel="@{viewModel}"
|
||||
bind:model="@{numpadModel}"/>
|
||||
|
||||
<include
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -301,6 +301,7 @@
|
|||
<include
|
||||
android:id="@+id/call_numpad"
|
||||
layout="@layout/call_numpad_bottom_sheet"
|
||||
bind:viewModel="@{viewModel}"
|
||||
bind:model="@{numpadModel}"/>
|
||||
|
||||
<include
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue