apkfuckery/com.discord/res/layout/fragment_camera.xml

12 lines
1.9 KiB
XML
Raw Normal View History

2020-05-17 12:40:10 +00:00
<?xml version="1.0" encoding="utf-8"?>
2020-07-23 01:06:17 +00:00
<androidx.coordinatorlayout.widget.CoordinatorLayout style="@style/UiKit.ViewGroup.Page"
2020-05-17 12:40:10 +00:00
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
2020-07-23 01:06:17 +00:00
<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" />
2020-05-17 12:40:10 +00:00
<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" />
2020-07-23 01:06:17 +00:00
<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" />
2020-05-17 12:40:10 +00:00
</RelativeLayout>
2020-09-02 04:07:20 +00:00
<ViewStub android:id="@id/permissions_view_stub" android:layout="@layout/view_permissions_required" android:layout_marginTop="32.0dip" style="@style/UiKit.ViewGroup" />
2020-05-17 12:40:10 +00:00
</androidx.coordinatorlayout.widget.CoordinatorLayout>