|
|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
android:keepScreenOn="true"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
|
@ -39,27 +40,49 @@
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<org.webrtc.SurfaceViewRenderer
|
|
|
|
|
android:id="@+id/remote_renderer"
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/halfway_guideline"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"/>
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Guideline
|
|
|
|
|
android:id="@+id/halfway_guideline"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
app:layout_constraintGuide_percent="0.5" />
|
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
<org.webrtc.SurfaceViewRenderer
|
|
|
|
|
android:id="@+id/remote_renderer"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"/>
|
|
|
|
|
<com.github.ybq.android.spinkit.SpinKitView
|
|
|
|
|
android:id="@+id/remove_loading_view"
|
|
|
|
|
style="@style/SpinKitView.Large.ThreeBounce"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:SpinKit_Color="@color/text"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
tools:visibility="visible"
|
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
|
<org.webrtc.SurfaceViewRenderer
|
|
|
|
|
android:id="@+id/local_renderer"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
<FrameLayout
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
android:elevation="8dp"
|
|
|
|
|
app:layout_constraintDimensionRatio="h,9:16"
|
|
|
|
|
android:layout_margin="@dimen/large_spacing"
|
|
|
|
|
app:layout_constraintWidth_percent="0.2"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/halfway_guideline" />
|
|
|
|
|
android:layout_width="0dp">
|
|
|
|
|
<org.webrtc.SurfaceViewRenderer
|
|
|
|
|
android:id="@+id/local_renderer"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"/>
|
|
|
|
|
<com.github.ybq.android.spinkit.SpinKitView
|
|
|
|
|
android:id="@+id/local_loading_view"
|
|
|
|
|
style="@style/SpinKitView.Large.ThreeBounce"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:SpinKit_Color="@color/text"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
tools:visibility="visible"
|
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/end_call_button"
|
|
|
|
|
|