apkfuckery/com.discord/res/layout/fragment_camera.xml
2020-07-22 00:04:40 +00:00

12 lines
No EOL
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout android:layout_width="fill_parent" android:layout_height="fill_parent"
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">
<com.camerakit.CameraKitView android:gravity="center" android:layout_gravity="center" android:id="@id/camera_view" android:layout_width="fill_parent" android:layout_height="wrap_content" android:adjustViewBounds="true" app:camera_facing="back" app:camera_flash="auto" app:camera_focus="continuous" app:camera_imageJpegQuality="100" />
<ImageButton android:id="@id/camera_flash_btn" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/FlexInput.Input.Button.Camera.Flash" />
<ImageButton android:id="@id/camera_facing_btn" 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" style="@style/FlexInput.Input.Button.Camera.Launcher" />
</RelativeLayout>
<FrameLayout android:id="@id/permissions_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/FlexInput.AddContent.Permissions" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>