@nativeframe/react-native-native-frame
Version:
React native package for streaming
43 lines (36 loc) • 1.52 kB
text/xml
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:id="@+id/otherContainer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/pov"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toTopOf="parent">
<androidx.camera.view.PreviewView
android:id="@+id/camera_preview_other"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center_horizontal" />
</FrameLayout>
<FrameLayout
android:id="@+id/meContainer"
android:layout_width="200dp"
android:layout_height="300dp"
android:layout_marginEnd="5dp"
android:layout_marginBottom="5dp"
android:background="@android:color/black"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent">
<androidx.camera.view.PreviewView
android:id="@+id/camera_preview_me"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center_horizontal"
tools:background="@android:drawable/presence_offline" />
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout>