From 5a614faee126d157ed944bee06b63431d6d49594 Mon Sep 17 00:00:00 2001 From: Alan Evans Date: Wed, 31 Jul 2019 10:08:56 -0400 Subject: [PATCH] Camera content descriptions and allow camera capture in talk back. --- res/layout/camera_controls_landscape.xml | 5 +- res/layout/camera_controls_portrait.xml | 5 +- res/layout/conversation_list_fragment.xml | 1 + res/layout/mediasend_activity.xml | 1 + res/menu/camera_contacts.xml | 2 +- res/menu/mediapicker_default.xml | 2 +- res/values/strings.xml | 9 +++ .../securesms/mediasend/Camera1Fragment.java | 37 +++-------- .../securesms/mediasend/CameraButtonView.java | 64 +++++++++++++++++++ .../securesms/mediasend/CameraXFragment.java | 30 ++------- 10 files changed, 101 insertions(+), 55 deletions(-) create mode 100644 src/org/thoughtcrime/securesms/mediasend/CameraButtonView.java diff --git a/res/layout/camera_controls_landscape.xml b/res/layout/camera_controls_landscape.xml index b0783f7c1df..bb044eb7222 100644 --- a/res/layout/camera_controls_landscape.xml +++ b/res/layout/camera_controls_landscape.xml @@ -6,12 +6,13 @@ android:layout_width="match_parent" android:layout_height="match_parent"> -