CultureQuestORG/SDP2023

View on GitHub
app/src/main/res/layout/scan_action.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".ui.scan.ScanFragment">

    <com.google.android.material.floatingactionbutton.FloatingActionButton
        android:id="@+id/scan_button"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:contentDescription="@string/title_scan"
        android:src="@drawable/scan_transparent_icon"
        android:layout_gravity="bottom|center"
        android:layout_marginBottom="150dp"
        app:elevation="0dp"
        app:pressedTranslationZ="0dp"
        app:borderWidth="0dp"
        app:fabCustomSize="100dp"
        app:maxImageSize="100dp"
        app:backgroundTint="#00000000" />

</androidx.coordinatorlayout.widget.CoordinatorLayout>