mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-14 10:47:30 +00:00
55 lines
2.2 KiB
XML
55 lines
2.2 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"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layoutDirection="ltr"
|
||
|
android:layout_height="match_parent">
|
||
|
|
||
|
<androidx.appcompat.widget.AppCompatImageButton
|
||
|
android:id="@+id/camera_capture_button"
|
||
|
android:layout_width="80dp"
|
||
|
android:layout_height="80dp"
|
||
|
android:layout_marginEnd="80dp"
|
||
|
android:background="@android:color/transparent"
|
||
|
android:elevation="2dp"
|
||
|
android:scaleType="fitCenter"
|
||
|
android:src="@drawable/ic_shutter"
|
||
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintEnd_toEndOf="parent" />
|
||
|
|
||
|
<androidx.camera.view.PreviewView
|
||
|
android:id="@+id/view_finder"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:clickable="true"
|
||
|
android:focusable="true" />
|
||
|
|
||
|
<androidx.appcompat.widget.AppCompatImageButton
|
||
|
android:id="@+id/switch_camera"
|
||
|
android:layout_width="40dp"
|
||
|
android:layout_height="40dp"
|
||
|
android:layout_marginEnd="100dp"
|
||
|
android:layout_marginBottom="40dp"
|
||
|
android:background="@android:color/transparent"
|
||
|
android:scaleType="fitCenter"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:srcCompat="@drawable/ic_round_flip_camera_24"
|
||
|
app:tint="@color/white" />
|
||
|
|
||
|
<androidx.appcompat.widget.AppCompatImageButton
|
||
|
android:id="@+id/close"
|
||
|
android:layout_width="40dp"
|
||
|
android:layout_height="40dp"
|
||
|
android:layout_marginTop="40dp"
|
||
|
android:layout_marginEnd="100dp"
|
||
|
android:background="@android:color/transparent"
|
||
|
android:scaleType="fitCenter"
|
||
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:srcCompat="@drawable/ic_close_24"
|
||
|
app:tint="@color/white" />
|
||
|
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|