linphone-android/app/src/main/res/layout/voip_activity.xml

40 lines
No EOL
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto">
<data>
<import type="android.view.View" />
<variable
name="controlsViewModel"
type="org.linphone.activities.voip.viewmodels.ControlsViewModel" />
</data>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:keepScreenOn="true">
<androidx.fragment.app.FragmentContainerView
android:id="@+id/status_fragment"
android:visibility="@{controlsViewModel.fullScreenMode || controlsViewModel.pipMode ? View.GONE : View.VISIBLE}"
android:name="org.linphone.activities.voip.fragments.StatusFragment"
android:layout_width="match_parent"
android:layout_height="@dimen/status_fragment_size"
app:layout_constraintTop_toTopOf="parent"
tools:layout="@layout/voip_status_fragment" />
<androidx.fragment.app.FragmentContainerView
android:id="@+id/nav_host_fragment"
android:name="androidx.navigation.fragment.NavHostFragment"
android:layout_width="match_parent"
android:layout_height="0dp"
app:defaultNavHost="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@id/status_fragment"
app:navGraph="@navigation/call_nav_graph"
tools:layout="@layout/voip_single_call_fragment" />
</androidx.constraintlayout.widget.ConstraintLayout>
</layout>