Aperture: Use a proper divider
Change-Id: Ib8e548dd3a82ee01ddeb68b443e87fdfb26dd98e
diff --git a/app/src/main/res/drawable/primary_bar_layout_background.xml b/app/src/main/res/drawable/primary_bar_layout_background.xml
deleted file mode 100644
index 3c2df94..0000000
--- a/app/src/main/res/drawable/primary_bar_layout_background.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- SPDX-FileCopyrightText: 2022 The LineageOS Project
- SPDX-License-Identifier: Apache-2.0
--->
-<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
- <item>
- <shape android:shape="rectangle">
- <solid android:color="@color/gray_60" />
- </shape>
- </item>
- <item android:top="4px">
- <shape android:shape="rectangle">
- <solid android:color="@color/black" />
- </shape>
- </item>
-</layer-list>
diff --git a/app/src/main/res/layout/activity_camera.xml b/app/src/main/res/layout/activity_camera.xml
index 5131fdd..fe55bed 100644
--- a/app/src/main/res/layout/activity_camera.xml
+++ b/app/src/main/res/layout/activity_camera.xml
@@ -236,6 +236,13 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent">
+ <com.google.android.material.divider.MaterialDivider
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintBottom_toBottomOf="parent" />
+
<ImageButton
android:id="@+id/proButton"
style="@style/Theme.Aperture.Camera.SecondaryBottomBarButton"
@@ -272,7 +279,6 @@
android:id="@+id/primaryBarLayout"
android:layout_width="0dp"
android:layout_height="wrap_content"
- android:background="@drawable/primary_bar_layout_background"
android:paddingTop="16dp"
app:layout_constraintBottom_toTopOf="@+id/modeSelectorLayout"
app:layout_constraintEnd_toEndOf="parent"