mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-23 02:36:20 +00:00
Add in-app video recording for supported devices.
This commit is contained in:
committed by
Greyson Parrelli
parent
43954a176a
commit
ff60b5b731
@@ -8,11 +8,12 @@
|
||||
|
||||
<org.thoughtcrime.securesms.mediasend.CameraButtonView
|
||||
android:id="@+id/camera_capture_button"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:layout_marginEnd="24dp"
|
||||
android:background="@drawable/ic_camera_shutter"
|
||||
android:layout_width="96dp"
|
||||
android:layout_height="96dp"
|
||||
android:layout_marginEnd="25dp"
|
||||
android:contentDescription="@string/CameraXFragment_capture_description"
|
||||
app:imageCaptureSize="60dp"
|
||||
app:recordSize="42dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"/>
|
||||
|
||||
@@ -8,11 +8,12 @@
|
||||
|
||||
<org.thoughtcrime.securesms.mediasend.CameraButtonView
|
||||
android:id="@+id/camera_capture_button"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:layout_marginBottom="24dp"
|
||||
android:background="@drawable/ic_camera_shutter"
|
||||
android:layout_width="96dp"
|
||||
android:layout_height="96dp"
|
||||
android:layout_marginBottom="25dp"
|
||||
android:contentDescription="@string/CameraXFragment_capture_description"
|
||||
app:imageCaptureSize="60dp"
|
||||
app:recordSize="42dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
@@ -41,7 +42,7 @@
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
tools:visibility="visible" />
|
||||
|
||||
|
||||
<com.makeramen.roundedimageview.RoundedImageView
|
||||
android:id="@+id/camera_gallery_button"
|
||||
android:layout_width="36dp"
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
<org.thoughtcrime.securesms.mediasend.camerax.CameraXView
|
||||
android:id="@+id/camerax_camera"
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<org.thoughtcrime.securesms.video.VideoPlayer
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:background="@color/grey_400_transparent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user