-
-
Notifications
You must be signed in to change notification settings - Fork 749
Expand file tree
/
Copy pathcamera_fragment.xml
More file actions
48 lines (45 loc) · 1.67 KB
/
camera_fragment.xml
File metadata and controls
48 lines (45 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:foreground="@color/translucentOverlay25">
<!-- Camera -->
<org.havenapp.main.ui.widget.HavenCameraView
android:id="@+id/camera_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:keepScreenOn="true"
app:cameraExperimental="true"
app:cameraPlaySounds="false"
app:cameraGrid="off"
app:cameraFlash="off"
app:cameraAudio="on"
app:cameraGestureTap="none"
app:cameraGestureLongTap="none"
app:cameraGesturePinch="none"
app:cameraGestureScrollHorizontal="none"
app:cameraGestureScrollVertical="none"
app:cameraMode="picture" />
<ImageView
android:id="@+id/new_image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center_horizontal"
android:background="@color/transparent"
android:scaleType="fitXY"
/>
<TextView
android:id="@+id/camera_status_display"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:text=""
android:textColor="?colorPrimary"
android:textSize="28sp"
android:textStyle="bold"
android:layout_gravity="center_horizontal|bottom"
android:layout_marginBottom="80dp"
/>
</FrameLayout>