diff --git a/app/src/main/res/layout/fragment_home.xml b/app/src/main/res/layout/fragment_home.xml index e50be7fd32e2972d3d92ea8652ba6d5945c88f3d..784d023c0191f440333652a88625fa18b2ef2a8a 100644 --- a/app/src/main/res/layout/fragment_home.xml +++ b/app/src/main/res/layout/fragment_home.xml @@ -18,14 +18,30 @@ app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" /> - <Button + <ImageButton android:id="@+id/image_capture_button" - android:layout_width="50dp" - android:layout_height="50dp" + android:src="@drawable/ic_baseline_photo_camera_48" android:text="@string/take_photo" + android:contentDescription="@string/take_photo" + android:layout_width="48dp" + android:layout_height="48dp" + app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" + app:layout_constraintTop_toBottomOf="@id/camera_view" + app:layout_constraintVertical_bias="0.454" /> + + <ImageButton + android:id="@+id/scan_image_picker_button" + android:src="@drawable/baseline_photo_48" + android:text="@string/scan_image_picker_button" + android:contentDescription="@string/scan_image_picker_button" + android:layout_width="48dp" + android:layout_height="48dp" + android:layout_marginBottom="28dp" app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintTop_toBottomOf="@id/camera_view" /> + app:layout_constraintEnd_toStartOf="@+id/image_capture_button" + app:layout_constraintHorizontal_bias="0.362" + app:layout_constraintStart_toStartOf="parent" /> </androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file