From 244ef95a992dee2d637c23948f5b0cb46ffa17d5 Mon Sep 17 00:00:00 2001 From: leca Date: Sat, 19 Oct 2024 18:02:08 +0300 Subject: [PATCH] UI improvements --- app/build.gradle.kts | 2 +- app/src/main/res/layout/abstract_product_view.xml | 2 +- app/src/main/res/layout/fragment_categories.xml | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index f98e655..4ee9fda 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -59,7 +59,7 @@ dependencies { // Barcode scanning API implementation (libs.barcode.scanning) - + // CameraX library implementation (libs.androidx.camera.camera2) diff --git a/app/src/main/res/layout/abstract_product_view.xml b/app/src/main/res/layout/abstract_product_view.xml index 484b77a..e21f764 100644 --- a/app/src/main/res/layout/abstract_product_view.xml +++ b/app/src/main/res/layout/abstract_product_view.xml @@ -7,7 +7,7 @@ + android:layout_height="match_parent" android:id="@+id/categoriesLayout" + android:layout_gravity="center" android:layout_margin="2dp"> \ No newline at end of file