<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"

android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:fitsSystemWindows="true">
<keepass2android.MeasuringLinearLayout
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:orientation="vertical"
  android:id="@+id/relative_layout">
  
  <androidx.coordinatorlayout.widget.CoordinatorLayout
          android:id="@+id/main_content"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_weight="1"
          android:fitsSystemWindows="true">
    <com.google.android.material.appbar.AppBarLayout
        android:id="@+id/appbar"
        android:layout_width="match_parent"
        android:layout_height="@dimen/detail_backdrop_height"
        >
      <com.google.android.material.appbar.CollapsingToolbarLayout
          android:id="@+id/collapsing_toolbar"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          app:layout_scrollFlags="scroll|exitUntilCollapsed"
          android:fitsSystemWindows="true"
          app:expandedTitleMarginStart="16dp"
          app:expandedTitleMarginEnd="24dp"
          app:expandedTitleMarginBottom="20sp">
        <RelativeLayout xmlns:tools="http://schemas.android.com/tools"
            android:layout_width="fill_parent"
            android:fitsSystemWindows="true"
            android:layout_height="fill_parent">
          <ImageView
              android:id="@+id/backdrop"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:scaleType="centerCrop"
              android:src="@drawable/toolbar_bg_quickunlock"
              app:layout_collapseMode="parallax" />
          <TextView
              android:id="@+id/filename_label"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_alignParentBottom="true"
              android:layout_marginBottom="0sp"
              android:layout_marginLeft="16dp"
              android:textSize="10sp"
              android:text="/storage/emulated/0/keepass/keepass/database.kdbx" />
                        

        </RelativeLayout>
                    
        <androidx.appcompat.widget.Toolbar
          android:id="@+id/toolbar"
          android:layout_width="match_parent"
          android:layout_height="?attr/actionBarSize"
          app:layout_collapseMode="pin"/>
       
      </com.google.android.material.appbar.CollapsingToolbarLayout>
     </com.google.android.material.appbar.AppBarLayout>
    
    <androidx.core.widget.NestedScrollView
        android:id="@+id/scrollview"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        app:layout_behavior="@string/appbar_scrolling_view_behavior">
      <LinearLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:orientation="vertical"
android:paddingLeft="16dp"
android:paddingRight="16dp"
          android:paddingTop="16dp">


        <TextView
                android:id="@+id/QuickUnlock_label"
                android:text="@string/QuickUnlock_label"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:layout_below="@id/filename_label"
                android:textSize="14sp"
                />
        
        <LinearLayout
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:orientation="horizontal">

          <EditText
            android:inputType="textPassword"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:ems="4"
            android:layout_below="@id/QuickUnlock_label"
            android:id="@+id/QuickUnlock_password"
            android:singleLine="true"
            android:fontFamily="sans-serif"
            android:textSize="20sp"
            android:focusable="true"
            android:focusableInTouchMode="true"
            android:importantForAccessibility="no"/>

          <ImageButton
                                    android:id="@+id/fingerprintbtn"
                                    android:layout_width="32dp"
                                    android:layout_height="32dp"
                                    android:layout_margin="4dp"
                                    android:layout_alignParentBottom="true"
                                    android:src="@drawable/baseline_fingerprint_24"
                                    android:scaleType="fitXY"
                                    android:background="?android:selectableItemBackground" />
          
            

        </LinearLayout>

      
        <View
        android:id="@+id/spacing"
        android:layout_width="fill_parent"
        android:layout_height="300dp"
        android:background="#0000" />

      </LinearLayout>
    </androidx.core.widget.NestedScrollView>

  </androidx.coordinatorlayout.widget.CoordinatorLayout>    
  <View
    android:id="@+id/divider2"
    android:layout_width="fill_parent"
    android:layout_height="1dp"
    android:layout_weight="0"
    android:background="#b8b8b8" />

  <RelativeLayout
              android:id="@+id/bottom_bar"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_weight="0"
              android:orientation="horizontal"
              >
    <Button
           android:text="@string/QuickUnlock_button"
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           style="@style/BottomBarButton"
           android:layout_alignParentRight="true"
           android:id="@+id/QuickUnlock_button"
                
     />
    <Button
        android:text="@string/QuickUnlock_lockButton"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        style="@style/BottomBarButton" 
        android:id="@+id/QuickUnlock_buttonLock"
        android:layout_alignParentLeft="true"
         />
    
  </RelativeLayout>
 
</keepass2android.MeasuringLinearLayout>
</LinearLayout>