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

30 lines
1.2 KiB
XML
Raw Normal View History

2019-06-26 18:10:57 -04:00
<?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"
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
<androidx.cardview.widget.CardView
android:id="@+id/camerax_camera_parent"
2019-06-26 18:10:57 -04:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardCornerRadius="18dp"
app:cardElevation="0dp"
app:layout_constraintTop_toTopOf="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" />
</androidx.cardview.widget.CardView>
2019-06-26 18:10:57 -04:00
<FrameLayout
android:id="@+id/camerax_controls_container"
android:layout_width="match_parent"
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
</androidx.constraintlayout.widget.ConstraintLayout>