fix: chèn frame và lưu ảnh vào thư viện

This commit is contained in:
2026-07-06 11:44:11 +07:00
parent 4e3c6f35c7
commit bc3b3533a7
6 changed files with 652 additions and 91 deletions
@@ -82,6 +82,7 @@
android:id="@+id/cameraContainer"
android:layout_width="match_parent"
android:layout_height="0dp"
android:background="#000000"
app:layout_constraintDimensionRatio="3:4"
app:layout_constraintTop_toBottomOf="@id/topBar"
app:layout_constraintBottom_toTopOf="@id/panelSelectionContainer">
@@ -149,6 +150,14 @@
android:paddingEnd="16dp"
android:visibility="gone" />
<!-- Khung nền đen che các item cuộn sang bên trái -->
<View
android:id="@+id/viewLeftDockBackground"
android:layout_width="75dp"
android:layout_height="match_parent"
android:background="#000000"
android:visibility="gone" />
<!-- LỚP TRÊN: Chứa 2 nút chức năng chính (Gốc ở giữa, động chuyển sang trái) -->
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/buttonsWrapper"
@@ -357,4 +366,17 @@
</androidx.constraintlayout.widget.ConstraintLayout>
<!-- Biểu tượng loading xoay tròn khi đang xử lý ảnh -->
<ProgressBar
android:id="@+id/progressBar"
android:layout_width="64dp"
android:layout_height="64dp"
android:visibility="gone"
android:elevation="10dp"
android:indeterminateTint="@color/theme_primary"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>