diff options
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/a_scanner.xml | 15 |
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 |