Signal-Android/app/src/main/res/layout/camerax_fragment.xml

32 wiersze
1.3 KiB
XML

<?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"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:viewBindingIgnore="true">
<com.google.android.material.card.MaterialCardView
android:id="@+id/camerax_camera_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardCornerRadius="18dp"
app:cardElevation="0dp"
app:layout_constraintBottom_toBottomOf="parent">
<androidx.camera.view.PreviewView
android:id="@+id/camerax_camera"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="top"
app:implementationMode="compatible" />
</com.google.android.material.card.MaterialCardView>
<FrameLayout
android:id="@+id/camerax_controls_container"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toTopOf="@id/camerax_camera_parent" />
</androidx.constraintlayout.widget.ConstraintLayout>