45 lines
1.5 KiB
XML
45 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/recyclerView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:paddingTop="16dp"
|
|
android:paddingBottom="16dp"
|
|
android:clipToPadding="false" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/emptyState"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical"
|
|
android:padding="32dp"
|
|
android:visibility="gone">
|
|
|
|
<ImageView
|
|
android:layout_width="56dp"
|
|
android:layout_height="56dp"
|
|
android:layout_marginBottom="12dp"
|
|
android:alpha="0.6"
|
|
android:importantForAccessibility="no"
|
|
android:src="@drawable/ic_nav_otp"
|
|
android:tint="?attr/colorOnSurfaceVariant" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:text="No OTP codes yet.\nAdd an MIB or BML login to see its codes here."
|
|
android:textAppearance="?attr/textAppearanceBodyMedium"
|
|
android:textColor="?attr/colorOnSurfaceVariant" />
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|