apkfuckery/com.discord/res/layout/fragment_camera.xml
2020-11-12 02:11:44 +00:00

12 lines
No EOL
1.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout style="@style/UiKit.ViewGroup.Page"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<RelativeLayout android:id="@id/camera_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.RelativeLayout">
<com.otaliastudios.cameraview.CameraView android:id="@id/camera_view" android:layout_width="fill_parent" android:layout_height="fill_parent" app:cameraAudio="off" app:cameraEngine="camera2" app:cameraFlash="auto" app:cameraGestureTap="autoFocus" app:cameraRequestPermissions="false" />
<ImageButton android:id="@id/camera_flash_btn" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:contentDescription="@string/flash_off" style="@style/FlexInput.Input.Button.Camera.Flash" />
<ImageButton android:id="@id/camera_facing_btn" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:contentDescription="@string/camera_switch" style="@style/FlexInput.Input.Button.Camera.Facing" />
<ImageView android:id="@id/take_photo_btn" android:layout_width="56.0dip" android:layout_height="56.0dip" android:contentDescription="@string/take_a_photo" style="@style/FlexInput.Input.Button.Camera.Capture" />
<ImageButton android:id="@id/launch_camera_btn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:contentDescription="@string/camera" style="@style/FlexInput.Input.Button.Camera.Launcher" />
</RelativeLayout>
<ViewStub android:id="@id/permissions_view_stub" android:layout="@layout/view_permissions_required" android:layout_marginTop="32.0dip" style="@style/UiKit.ViewGroup" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>