1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-16 03:37:29 +00:00
BarInsta/app/src/main/res/layout/activity_camera.xml
Ammar Githam 343b2cf9d7 Update DM module. (WIP)
Remove left over images


DM update (WIP)

Update DM module. (WIP)


Update DM module. (WIP)
2021-01-02 11:54:32 +09:00

54 lines
2.1 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:layout_height="match_parent">
<androidx.appcompat.widget.AppCompatImageButton
android:id="@+id/camera_capture_button"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_marginBottom="80dp"
android:background="@android:color/transparent"
android:elevation="2dp"
android:scaleType="fitCenter"
android:src="@drawable/ic_shutter"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="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_marginStart="40dp"
android:layout_marginBottom="100dp"
android:background="@android:color/transparent"
android:scaleType="fitCenter"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="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_marginEnd="40dp"
android:layout_marginBottom="100dp"
android:background="@android:color/transparent"
android:scaleType="fitCenter"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:srcCompat="@drawable/ic_close_24"
app:tint="@color/white" />
</androidx.constraintlayout.widget.ConstraintLayout>