From e60eae27fb61f37afe8931bafdbe7a4cb038b3cc Mon Sep 17 00:00:00 2001 From: Cody Henthorne Date: Wed, 30 Sep 2020 11:51:48 -0400 Subject: [PATCH] Tweak font sizes and PIP boundaries in call view. --- .../securesms/components/webrtc/WebRtcCallView.java | 4 ++-- app/src/main/res/layout/webrtc_call_view_toolbar.xml | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/components/webrtc/WebRtcCallView.java b/app/src/main/java/org/thoughtcrime/securesms/components/webrtc/WebRtcCallView.java index 826d7a7fa..f6818b6ee 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/components/webrtc/WebRtcCallView.java +++ b/app/src/main/java/org/thoughtcrime/securesms/components/webrtc/WebRtcCallView.java @@ -455,7 +455,7 @@ public class WebRtcCallView extends FrameLayout { if (!visibleViewSet.equals(lastVisibleSet) || !controls.isFadeOutEnabled()) { fadeInNewUiState(lastVisibleSet, webRtcControls.displaySmallOngoingCallButtons()); - post(() -> pictureInPictureGestureHelper.setVerticalBoundaries(status.getBottom(), videoToggle.getTop())); + post(() -> pictureInPictureGestureHelper.setVerticalBoundaries(toolbar.getBottom(), videoToggle.getTop())); } } @@ -510,7 +510,7 @@ public class WebRtcCallView extends FrameLayout { private void fadeInControls() { fadeControls(ConstraintSet.VISIBLE); - pictureInPictureGestureHelper.setVerticalBoundaries(status.getBottom(), videoToggle.getTop()); + pictureInPictureGestureHelper.setVerticalBoundaries(toolbar.getBottom(), videoToggle.getTop()); scheduleFadeOut(); } diff --git a/app/src/main/res/layout/webrtc_call_view_toolbar.xml b/app/src/main/res/layout/webrtc_call_view_toolbar.xml index f225808e2..e548d584b 100644 --- a/app/src/main/res/layout/webrtc_call_view_toolbar.xml +++ b/app/src/main/res/layout/webrtc_call_view_toolbar.xml @@ -8,8 +8,7 @@ + android:layout_gravity="center_horizontal">