532 lines
19 KiB
XML
532 lines
19 KiB
XML
<?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"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/entry_table"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/entryfield_group_container"
|
|
style="@style/EntryEditSingleLine_container">
|
|
<ImageView
|
|
style="@style/EntryEditSingleLine_ImageView"
|
|
android:src="@drawable/baseline_folder_open_24" />
|
|
<LinearLayout
|
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="vertical">
|
|
<!-- Group -->
|
|
<TextView
|
|
android:id="@+id/entry_group_name_label"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/entry_group_name"
|
|
style="@style/EntryFieldHeader" />
|
|
<RelativeLayout
|
|
android:id="@+id/groupname_container"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="horizontal"
|
|
android:clickable="true"
|
|
android:background="?android:attr/selectableItemBackground">
|
|
|
|
<ImageView
|
|
android:id="@+id/group_name_vdots"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="20dp"
|
|
android:paddingRight="12dp"
|
|
android:tint="@color/md_theme_primary"
|
|
android:src="@drawable/baseline_more_vert_24"
|
|
android:gravity="right|bottom"
|
|
android:layout_alignParentRight="true" />
|
|
|
|
<TextView
|
|
android:id="@+id/entry_group_name"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toLeftOf="@id/group_name_vdots"
|
|
style="@style/EntryItem" />
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:id="@+id/entryfield_container_username"
|
|
style="@style/EntryEditSingleLine_container">
|
|
<ImageView
|
|
style="@style/EntryEditSingleLine_ImageView"
|
|
android:src="@drawable/baseline_account_circle_24" />
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:id="@+id/entry_user_name_label"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/entry_user_name"
|
|
style="@style/EntryFieldHeader" />
|
|
<!-- Username -->
|
|
<RelativeLayout
|
|
android:id="@+id/username_container"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="horizontal"
|
|
android:clickable="true"
|
|
android:background="?android:attr/selectableItemBackground">
|
|
<ImageView
|
|
android:id="@+id/username_vdots"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="20dp"
|
|
android:paddingRight="12dp"
|
|
android:tint="@color/md_theme_primary"
|
|
android:src="@drawable/baseline_more_vert_24"
|
|
android:gravity="right|bottom"
|
|
android:layout_alignParentRight="true" />
|
|
<TextView
|
|
android:id="@+id/entry_user_name"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toLeftOf="@id/username_vdots"
|
|
style="@style/EntryItem" />
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:id="@+id/entryfield_container_url"
|
|
style="@style/EntryEditSingleLine_container">
|
|
<ImageView
|
|
style="@style/EntryEditSingleLine_ImageView"
|
|
android:src="@drawable/baseline_link_24" />
|
|
<LinearLayout
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="vertical">
|
|
<!-- URL -->
|
|
<TextView
|
|
android:id="@+id/entry_url_label"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/entry_url"
|
|
style="@style/EntryFieldHeader" />
|
|
<RelativeLayout
|
|
android:id="@+id/url_container"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="horizontal"
|
|
android:clickable="true"
|
|
android:background="?android:attr/selectableItemBackground">
|
|
<ImageView
|
|
android:id="@+id/url_vdots"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="20dp"
|
|
android:paddingRight="12dp"
|
|
android:tint="@color/md_theme_primary"
|
|
android:src="@drawable/baseline_more_vert_24"
|
|
android:gravity="right|bottom"
|
|
android:layout_alignParentRight="true" />
|
|
<TextView
|
|
android:id="@+id/entry_url"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:autoLink="all"
|
|
android:layout_toLeftOf="@id/url_vdots"
|
|
style="@style/EntryItem" />
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:id="@+id/entryfield_container_password"
|
|
style="@style/EntryEditSingleLine_container">
|
|
<ImageView
|
|
style="@style/EntryEditSingleLine_ImageView"
|
|
android:src="@drawable/baseline_password_24" />
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="vertical">
|
|
<!-- Password -->
|
|
<TextView
|
|
android:id="@+id/entry_password_label"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/entry_password"
|
|
style="@style/EntryFieldHeader" />
|
|
<RelativeLayout
|
|
android:id="@+id/password_container"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="horizontal"
|
|
android:clickable="true"
|
|
android:background="?android:attr/selectableItemBackground">
|
|
<ImageView
|
|
android:id="@+id/password_vdots"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="20dp"
|
|
android:paddingRight="12dp"
|
|
android:tint="@color/md_theme_primary"
|
|
android:src="@drawable/baseline_more_vert_24"
|
|
android:gravity="right|bottom"
|
|
android:layout_alignParentRight="true" />
|
|
<TextView
|
|
android:id="@+id/entry_password"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:password="true"
|
|
android:typeface="monospace"
|
|
android:layout_toLeftOf="@id/password_vdots"
|
|
style="@style/EntryItem" />
|
|
<TextView
|
|
android:id="@+id/entry_password_visible"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toLeftOf="@id/password_vdots"
|
|
style="@style/EntryItem" />
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:id="@+id/entryfield_container_totp"
|
|
style="@style/EntryEditSingleLine_container">
|
|
<ImageView
|
|
style="@style/EntryEditSingleLine_ImageView"
|
|
android:src="@drawable/baseline_access_time_24" />
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="vertical">
|
|
<!-- TOTP -->
|
|
<TextView
|
|
android:id="@+id/entry_totp_label"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/TOTP"
|
|
style="@style/EntryFieldHeader" />
|
|
<RelativeLayout
|
|
android:id="@+id/totp_container"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="horizontal"
|
|
android:clickable="true"
|
|
android:background="?android:attr/selectableItemBackground">
|
|
<ImageView
|
|
android:id="@+id/totp_vdots"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="20dp"
|
|
android:paddingRight="12dp"
|
|
android:tint="@color/md_theme_primary"
|
|
android:src="@drawable/baseline_more_vert_24"
|
|
android:gravity="right|bottom"
|
|
android:layout_alignParentRight="true" />
|
|
<TextView
|
|
android:id="@+id/entry_totp"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:password="true"
|
|
android:typeface="monospace"
|
|
android:layout_toLeftOf="@id/totp_vdots"
|
|
style="@style/EntryItem" />
|
|
<TextView
|
|
android:id="@+id/entry_totp_visible"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toLeftOf="@id/totp_vdots"
|
|
style="@style/EntryItem" />
|
|
</RelativeLayout>
|
|
|
|
|
|
<ProgressBar
|
|
android:id="@+id/TotpCountdownProgressBar"
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginRight="30dp" />
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/entryfield_container_comment"
|
|
style="@style/EntryEditSingleLine_container">
|
|
<ImageView
|
|
style="@style/EntryEditSingleLine_ImageView"
|
|
android:src="@drawable/baseline_comment_24" />
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:id="@+id/entry_comment_label"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/entry_comment"
|
|
style="@style/EntryFieldHeader" />
|
|
<!-- Comment -->
|
|
<RelativeLayout
|
|
android:id="@+id/comment_container"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="horizontal"
|
|
android:clickable="true"
|
|
android:background="?android:attr/selectableItemBackground">
|
|
<ImageView
|
|
android:id="@+id/comment_vdots"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="20dp"
|
|
android:paddingRight="12dp"
|
|
android:tint="@color/md_theme_primary"
|
|
android:src="@drawable/baseline_more_vert_24"
|
|
android:gravity="right|bottom"
|
|
android:layout_alignParentRight="true" />
|
|
<TextView
|
|
android:id="@+id/entry_comment"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toLeftOf="@id/comment_vdots"
|
|
android:textIsSelectable="true"
|
|
style="@style/EntryItem" />
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:id="@+id/extra_strings_container"
|
|
style="@style/EntryEditSingleLine_container">
|
|
<ImageView
|
|
style="@style/EntryEditSingleLine_ImageView"
|
|
android:src="@drawable/baseline_more_horiz_24" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/extra_strings"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:orientation="vertical" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/entry_binaries_label"
|
|
style="@style/EntryEditSingleLine_container">
|
|
<ImageView
|
|
style="@style/EntryEditSingleLine_ImageView"
|
|
android:src="@drawable/baseline_attachment_24" />
|
|
|
|
<LinearLayout
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="vertical">
|
|
|
|
<!-- file attachments -->
|
|
<TextView
|
|
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/entry_binaries"
|
|
style="@style/EntryFieldHeader" />
|
|
<LinearLayout
|
|
android:id="@+id/binaries"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<!--Tags -->
|
|
<LinearLayout
|
|
android:id="@+id/entryfield_container_tags"
|
|
style="@style/EntryEditSingleLine_container">
|
|
<ImageView
|
|
style="@style/EntryEditSingleLine_ImageView"
|
|
android:src="@drawable/baseline_label_24" />
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:id="@+id/entry_tags_label"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/entry_tags"
|
|
style="@style/EntryFieldHeader" />
|
|
<TextView
|
|
android:id="@+id/entry_tags"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textIsSelectable="true"
|
|
style="@style/EntryItem" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:id="@+id/entryfield_container_overrideurl"
|
|
style="@style/EntryEditSingleLine_container">
|
|
<ImageView
|
|
style="@style/EntryEditSingleLine_ImageView"
|
|
android:src="@drawable/baseline_link_24" />
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="vertical">
|
|
<!--Override URL-->
|
|
<TextView
|
|
android:id="@+id/entry_override_url_label"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/entry_override_url"
|
|
style="@style/EntryFieldHeader" />
|
|
<TextView
|
|
android:id="@+id/entry_override_url"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:autoLink="all"
|
|
android:textIsSelectable="true"
|
|
style="@style/EntryItem" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:id="@+id/entryfield_container_created"
|
|
style="@style/EntryEditSingleLine_container">
|
|
<ImageView
|
|
style="@style/EntryEditSingleLine_ImageView"
|
|
android:src="@drawable/baseline_date_range_24" />
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="vertical">
|
|
<!-- Created -->
|
|
<TextView
|
|
android:id="@+id/entry_created_label"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/entry_created"
|
|
style="@style/EntryFieldHeader" />
|
|
<TextView
|
|
android:id="@+id/entry_created"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
style="@style/EntryItem" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/entryfield_container_expires"
|
|
style="@style/EntryEditSingleLine_container">
|
|
<ImageView
|
|
style="@style/EntryEditSingleLine_ImageView"
|
|
android:src="@drawable/baseline_explicit_24" />
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="vertical">
|
|
<!-- Expires -->
|
|
<TextView
|
|
android:id="@+id/entry_expires_label"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/entry_expires"
|
|
style="@style/EntryFieldHeader" />
|
|
<TextView
|
|
android:id="@+id/entry_expires"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
style="@style/EntryItem" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/entryfield_container_modified"
|
|
style="@style/EntryEditSingleLine_container">
|
|
<ImageView
|
|
style="@style/EntryEditSingleLine_ImageView"
|
|
android:src="@drawable/baseline_edit_calendar_24" />
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="vertical">
|
|
<!-- Modified -->
|
|
<TextView
|
|
android:id="@+id/entry_modified_label"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/entry_modified"
|
|
style="@style/EntryFieldHeader" />
|
|
<TextView
|
|
android:id="@+id/entry_modified"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
style="@style/EntryItem" />
|
|
|
|
<Button android:id="@+id/btn_restore_history"
|
|
style="?attr/materialButtonOutlinedStyle"
|
|
app:icon="@drawable/baseline_history_24"
|
|
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/restore_history"
|
|
|
|
/>
|
|
|
|
<Button android:id="@+id/btn_remove_history"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
style="?attr/materialButtonOutlinedStyle"
|
|
app:icon="@drawable/baseline_delete_24"
|
|
|
|
android:text="@string/remove_history"
|
|
|
|
/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/entry_history_container"
|
|
style="@style/EntryEditSingleLine_container">
|
|
<ImageView
|
|
style="@style/EntryEditSingleLine_ImageView"
|
|
android:src="@drawable/baseline_history_24" />
|
|
|
|
<LinearLayout
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="vertical">
|
|
|
|
<!-- previous versions-->
|
|
<TextView
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/entry_history"
|
|
style="@style/EntryFieldHeader" />
|
|
<LinearLayout
|
|
android:id="@+id/previous_versions"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout> |