summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorNorbel AMBANUMBEN <aanorbel@gmail.com>2024-10-23 03:19:58 +0100
committerNorbel AMBANUMBEN <aanorbel@gmail.com>2024-10-23 03:19:58 +0100
commitbc0ae60a26dd0c2b06ea42b2314d3aac7d9e7508 (patch)
tree25aa77cfc91d26d03fd4ebb0bb6d84cc4f9b3eb0 /app/src/main/res/layout
parent3d1215f6d8e047421520590f78c78c67e3ac3891 (diff)
update: camera scanner implementation
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/a_scanner.xml15
1 files changed, 13 insertions, 2 deletions
diff --git a/app/src/main/res/layout/a_scanner.xml b/app/src/main/res/layout/a_scanner.xml
index 5fb2db53..bf954d99 100644
--- a/app/src/main/res/layout/a_scanner.xml
+++ b/app/src/main/res/layout/a_scanner.xml
@@ -6,13 +6,24 @@
android:layout_height="match_parent"
tools:context=".providersetup.activities.scanner.ScannerActivity">
+ <androidx.appcompat.widget.Toolbar
+ android:id="@+id/toolbar"
+ android:minHeight="?attr/actionBarSize"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="?attr/colorPrimary"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintTop_toTopOf="parent">
+ </androidx.appcompat.widget.Toolbar>
+
<androidx.camera.view.PreviewView
android:id="@+id/previewView"
android:layout_width="match_parent"
- android:layout_height="match_parent"
+ android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
+ app:layout_constraintTop_toBottomOf="@+id/toolbar" />
</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file