aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/password_recycler_view.xml
blob: 49b7ff8236eee7996d21a1d22c6c8e51643f455b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="utf-8"?><!--
  ~ Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
  ~ SPDX-License-Identifier: GPL-3.0-only
  -->

<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:clipChildren="false"
  android:clipToPadding="false"
  android:orientation="vertical"
  tools:context="app.passwordstore.ui.passwords.PasswordFragment">

  <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
    android:id="@+id/swipe_refresher"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <me.zhanghai.android.fastscroll.FixOnItemTouchListenerRecyclerView
      android:id="@+id/pass_recycler"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:scrollbars="none"
      tools:itemCount="20"
      tools:listitem="@layout/password_row_layout" />
  </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>

  <com.google.android.material.floatingactionbutton.FloatingActionButton
    android:id="@+id/fab"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentEnd="true"
    android:layout_alignParentBottom="true"
    android:layout_gravity="bottom|end"
    android:layout_margin="@dimen/fab_compat_margin"
    android:contentDescription="@string/password_list_fab_content_description"
    android:src="@drawable/ic_add_48dp" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>