Aperture: Constrain count down view to the view finder
Change-Id: I95ca7222d82445f8e77d0e9131670ac59351eab3
diff --git a/app/src/main/res/layout/activity_camera.xml b/app/src/main/res/layout/activity_camera.xml
index 91015aa..d5f7799 100644
--- a/app/src/main/res/layout/activity_camera.xml
+++ b/app/src/main/res/layout/activity_camera.xml
@@ -66,11 +66,13 @@
<org.lineageos.aperture.ui.CountDownView
android:id="@+id/countDownView"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
+ android:layout_width="0dp"
+ android:layout_height="0dp"
android:visibility="invisible"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
+ app:layout_constraintBottom_toBottomOf="@+id/viewFinder"
+ app:layout_constraintEnd_toEndOf="@+id/viewFinder"
+ app:layout_constraintStart_toStartOf="@+id/viewFinder"
+ app:layout_constraintTop_toTopOf="@+id/viewFinder" />
<org.lineageos.aperture.ui.HorizontalSlider
android:id="@+id/zoomLevel"