2019-06-26 18:10:57 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-09-02 17:04:43 -03:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2019-06-26 18:10:57 -04:00
|
|
|
android:layout_width="match_parent"
|
2022-07-18 10:08:07 -03:00
|
|
|
android:layout_height="match_parent">
|
2019-06-26 18:10:57 -04:00
|
|
|
|
2021-09-02 17:04:43 -03:00
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
android:id="@+id/camerax_camera_parent"
|
2019-06-26 18:10:57 -04:00
|
|
|
android:layout_width="match_parent"
|
2021-09-02 17:04:43 -03:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:cardCornerRadius="18dp"
|
|
|
|
app:cardElevation="0dp"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
2022-07-27 10:53:04 -03:00
|
|
|
<androidx.camera.view.PreviewView
|
2021-09-02 17:04:43 -03:00
|
|
|
android:id="@+id/camerax_camera"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="top"
|
2022-07-27 10:53:04 -03:00
|
|
|
app:implementationMode="compatible" />
|
2021-09-02 17:04:43 -03:00
|
|
|
</androidx.cardview.widget.CardView>
|
2019-06-26 18:10:57 -04:00
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/camerax_controls_container"
|
|
|
|
android:layout_width="match_parent"
|
2021-09-02 17:04:43 -03:00
|
|
|
android:layout_height="0dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/camerax_camera_parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2019-06-26 18:10:57 -04:00
|
|
|
|
2021-09-02 17:04:43 -03:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|