add database filename on password activity again

This commit is contained in:
Philipp Crocoll
2024-12-10 11:22:30 +01:00
parent 83d076c9a7
commit c3c1f1ecb7
2 changed files with 17 additions and 2 deletions

View File

@@ -2007,7 +2007,7 @@ namespace keepass2android
{
Kp2aLog.LogUnexpectedError(e);
}
//SetEditText(Resource.Id.filename, filenameToShow);
SetEditText(Resource.Id.filename, filenameToShow);
}

View File

@@ -33,6 +33,11 @@
app:expandedTitleMarginEnd="64dp"
app:expandedTitleMarginStart="48dp"
app:layout_scrollFlags="scroll|exitUntilCollapsed">
<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"
@@ -40,7 +45,17 @@
android:scaleType="centerCrop"
android:fitsSystemWindows="true"
android:src="@drawable/toolbar_bg"
/>
app:layout_collapseMode="parallax" />
<TextView
android:id="@+id/filename"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_marginBottom="4sp"
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"